#ifndef NEWAPPDIALOGUE_H #define NEWAPPDIALOGUE_H #include #include #include #include #include #include #include #include class NewAppDialogue : public QDialog { Q_OBJECT public: NewAppDialogue(QWidget* parent = 0); NewAppDialogue(const QMap& data, QWidget* parent = 0); QMap getData() const; private: QLineEdit* name; QLineEdit* address; QLineEdit* port; QLineEdit* login; QLineEdit* pass; QLineEdit* log; QLineEdit* command; private: void construct(); void createButtons(QHBoxLayout* layout); void createForm(QFormLayout* layout); }; #endif // NEWAPPDIALOGUE_H