123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #ifndef ADDSCHEMEWIDGET_H
- #define ADDSCHEMEWIDGET_H
- #include <QDialog>
- class PushButton;
- class LineEdit;
- class TextEdit;
- class QVBoxLayout;
- class QGridLayout;
- class QHBoxLayout;
- class QLabel;
- class AddSchemeWidget : public QDialog
- {
- Q_OBJECT
- public:
- explicit AddSchemeWidget(QWidget *parent = nullptr);
- void clearInputs();
- private:
- void initWindow();
- void initialize();
- void initLayout();
- void connectSignalsAndSlots();
- signals:
- private:
- QVBoxLayout *m_vBoxLayout = nullptr;
- QGridLayout *m_gridLayout = nullptr;
- QLabel *m_nameLabel = nullptr;
- LineEdit *m_nameEdit = nullptr;
- QLabel *m_schemeLabel = nullptr;
- TextEdit *m_schemeEdit = nullptr;
- QHBoxLayout *m_hBoxLayout = nullptr;
- PushButton *m_confirButton = nullptr;
- };
- #endif // ADDSCHEMEWIDGET_H
|