initial commit
This commit is contained in:
commit
4b60ece582
327 changed files with 28286 additions and 0 deletions
37
roboute/views/newappdialogue.h
Normal file
37
roboute/views/newappdialogue.h
Normal file
|
@ -0,0 +1,37 @@
|
|||
#ifndef NEWAPPDIALOGUE_H
|
||||
#define NEWAPPDIALOGUE_H
|
||||
|
||||
#include <QtWidgets/QDialog>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QFormLayout>
|
||||
#include <QtWidgets/QPushButton>
|
||||
#include <QtWidgets/QSpacerItem>
|
||||
#include <QtWidgets/QLineEdit>
|
||||
#include <QtCore/QMap>
|
||||
|
||||
class NewAppDialogue : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
NewAppDialogue(QWidget* parent = 0);
|
||||
NewAppDialogue(const QMap<QString, QString>& data, QWidget* parent = 0);
|
||||
|
||||
QMap<QString, QString> 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
|
Loading…
Add table
Add a link
Reference in a new issue