mirror of
https://gitee.com/drabel/LibQQt.git
synced 2025-01-04 10:18:44 +08:00
27 lines
454 B
C++
Executable File
27 lines
454 B
C++
Executable File
#ifndef QSEARCHLINEEDIT_H
|
|
#define QSEARCHLINEEDIT_H
|
|
|
|
#include <QLineEdit>
|
|
#include <QPushButton>
|
|
|
|
class QQTLineEditWithSearch : public QLineEdit
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit QQTLineEditWithSearch(QWidget *parent = 0);
|
|
void setButtonText(QString text);
|
|
void setObjectName(const QString &name);
|
|
|
|
signals:
|
|
void btnClicked();
|
|
|
|
public slots:
|
|
|
|
private:
|
|
QPushButton* m_btnBrower;
|
|
|
|
// QObject interface
|
|
};
|
|
|
|
#endif // QSEARCHLINEEDIT_H
|