1 #ifndef INTELLIINPUTDIALOG_H
2 #define INTELLIINPUTDIALOG_H
8 #include <QDialogButtonBox>
16 IntelliInputDialog(QString Title =
nullptr, QString Label =
nullptr,
int value = 5,
int minValue = -2147483647,
int maxValue = 2147483647,
int step = 1,
bool* ok =
nullptr);
19 static int getInt(QString Title =
nullptr, QString Label =
nullptr,
int value = 5,
int minValue = -2147483647,
int maxValue = 2147483647,
int step = 1,
bool* ok =
nullptr);
26 void createInputBox(QString Title =
nullptr, QString Label =
nullptr,
int value = 5,
int minValue = -2147483647,
int maxValue = 2147483647,
int step = 1);
27 void createConnections();
28 void setInputBoxStyle();
33 QDialogButtonBox* ButtonBox;
36 const QSize Linesize = QSize(150,20);
37 const QSize Buttonsize = QSize(72,20);
40 QPushButton* okButton;
41 QPushButton* cancelButton;
44 #endif // INTELLIINPUTDIALOG_H