Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
LineEdit.h
Go to the documentation of this file.
1#pragma once
2#include <QLineEdit>
3#include <QtUiPlugin/QDesignerExportWidget>
5
6namespace sf
7{
8
12class QDESIGNER_WIDGET_EXPORT LineEdit
13 : public QLineEdit
14 , public ObjectExtension
15{
16 public:
17 // Declarations in these macros are made private.
18 Q_OBJECT
19
20 public:
24 explicit LineEdit(QWidget* parent = nullptr);
25
29 bool isRequiredProperty(const QString& name) override;
30
31 protected:
35 void resizeEvent(QResizeEvent*) override;
36
37 private:
41 QList<QToolButton*> _toolButtons;
42};
43
44}// namespace sf
Line edit having its added actions as QToolButton's right of the QLineEdit.
Definition LineEdit.h:15
void resizeEvent(QResizeEvent *) override
Overridden from base class QLineEdit.
LineEdit(QWidget *parent=nullptr)
bool isRequiredProperty(const QString &name) override
Overridden from base class sf::ObjectExtension.
Interface class to multiple inherit when the sf::FormWriter class needs to be restricted in writing o...
Definition ObjectExtension.h:17
Definition Application.h:10