vnote/src/widgets/locationinputwithbrowsebutton.h
Le Tan b9ac16d165
Quick Access and Flash Page (#1763)
* flash page

* Quick Access
2021-05-17 20:39:03 +08:00

36 lines
680 B
C++

#ifndef LOCATIONINPUTWITHBROWSEBUTTON_H
#define LOCATIONINPUTWITHBROWSEBUTTON_H
#include <QWidget>
class QLineEdit;
class QPushButton;
namespace vnotex
{
class LocationInputWithBrowseButton : public QWidget
{
Q_OBJECT
public:
explicit LocationInputWithBrowseButton(QWidget *p_parent = nullptr);
QString text() const;
void setText(const QString &p_text);
QString toolTip() const;
void setToolTip(const QString &p_tip);
signals:
void clicked();
void textChanged(const QString &p_text);
private:
QLineEdit *m_lineEdit = nullptr;
};
}
#endif // LOCATIONINPUTWITHBROWSEBUTTON_H