1 /* 2 For general Scribus (>=1.3.2) copyright and licensing information please refer 3 to the COPYING file provided with the program. Following this notice may exist 4 a copyright and/or license notice that predates the release of Scribus 1.3.2 5 for which a new license (GPL+exception) is in place. 6 */ 7 #ifndef QUERY2_H 8 #define QUERY2_H 9 10 #include <QDialog> 11 class QHBoxLayout; 12 class QVBoxLayout; 13 class QLineEdit; 14 class QComboBox; 15 class QLabel; 16 class QPushButton; 17 18 #include "scribusapi.h" 19 class ScribusDoc; 20 21 class SCRIBUS_API NewTm : public QDialog 22 { 23 Q_OBJECT 24 25 public: 26 NewTm(QWidget* parent, const QString& text, const QString& titel, ScribusDoc *doc, const QString& answerText=QString() ); ~NewTm()27 ~NewTm() {}; 28 29 QPushButton* PushButton1; 30 QPushButton* PushButton2; 31 QLineEdit* Answer; 32 QLabel* Frage; 33 QComboBox* Links; 34 35 protected: 36 QVBoxLayout* QueryLayout; 37 QHBoxLayout* Layout3; 38 QHBoxLayout* Layout2; 39 QHBoxLayout* Layout1; 40 }; 41 42 #endif // QUERY_H 43