Qmmp
ui_templateeditor.h
1 /********************************************************************************
2 ** Form generated from reading UI file 'templateeditor.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 4.8.7
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_TEMPLATEEDITOR_H
10 #define UI_TEMPLATEEDITOR_H
11 
12 #include <QtCore/QVariant>
13 #include <QtGui/QAction>
14 #include <QtGui/QApplication>
15 #include <QtGui/QButtonGroup>
16 #include <QtGui/QDialog>
17 #include <QtGui/QDialogButtonBox>
18 #include <QtGui/QGridLayout>
19 #include <QtGui/QHeaderView>
20 #include <QtGui/QPlainTextEdit>
21 #include <QtGui/QPushButton>
22 #include <QtGui/QSpacerItem>
23 
24 QT_BEGIN_NAMESPACE
25 
26 class Ui_TemplateEditor
27 {
28 public:
29  QGridLayout *gridLayout;
30  QPlainTextEdit *textEdit;
31  QPushButton *resetButton;
32  QPushButton *insertButton;
33  QSpacerItem *horizontalSpacer_2;
34  QDialogButtonBox *buttonBox;
35 
36  void setupUi(QDialog *TemplateEditor)
37  {
38  if (TemplateEditor->objectName().isEmpty())
39  TemplateEditor->setObjectName(QString::fromUtf8("TemplateEditor"));
40  TemplateEditor->resize(372, 249);
41  gridLayout = new QGridLayout(TemplateEditor);
42  gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
43  gridLayout->setContentsMargins(6, -1, 6, 6);
44  textEdit = new QPlainTextEdit(TemplateEditor);
45  textEdit->setObjectName(QString::fromUtf8("textEdit"));
46  QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding);
47  sizePolicy.setHorizontalStretch(0);
48  sizePolicy.setVerticalStretch(0);
49  sizePolicy.setHeightForWidth(textEdit->sizePolicy().hasHeightForWidth());
50  textEdit->setSizePolicy(sizePolicy);
51 
52  gridLayout->addWidget(textEdit, 0, 0, 1, 4);
53 
54  resetButton = new QPushButton(TemplateEditor);
55  resetButton->setObjectName(QString::fromUtf8("resetButton"));
56 
57  gridLayout->addWidget(resetButton, 1, 0, 1, 1);
58 
59  insertButton = new QPushButton(TemplateEditor);
60  insertButton->setObjectName(QString::fromUtf8("insertButton"));
61 
62  gridLayout->addWidget(insertButton, 1, 1, 1, 1);
63 
64  horizontalSpacer_2 = new QSpacerItem(124, 17, QSizePolicy::Expanding, QSizePolicy::Minimum);
65 
66  gridLayout->addItem(horizontalSpacer_2, 1, 2, 1, 1);
67 
68  buttonBox = new QDialogButtonBox(TemplateEditor);
69  buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
70  buttonBox->setOrientation(Qt::Horizontal);
71  buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
72 
73  gridLayout->addWidget(buttonBox, 1, 3, 1, 1);
74 
75 
76  retranslateUi(TemplateEditor);
77  QObject::connect(buttonBox, SIGNAL(accepted()), TemplateEditor, SLOT(accept()));
78  QObject::connect(buttonBox, SIGNAL(rejected()), TemplateEditor, SLOT(reject()));
79 
80  QMetaObject::connectSlotsByName(TemplateEditor);
81  } // setupUi
82 
83  void retranslateUi(QDialog *TemplateEditor)
84  {
85  TemplateEditor->setWindowTitle(QApplication::translate("TemplateEditor", "Template Editor", 0, QApplication::UnicodeUTF8));
86  resetButton->setText(QApplication::translate("TemplateEditor", "Reset", 0, QApplication::UnicodeUTF8));
87  insertButton->setText(QApplication::translate("TemplateEditor", "Insert", 0, QApplication::UnicodeUTF8));
88  } // retranslateUi
89 
90 };
91 
92 namespace Ui {
93  class TemplateEditor: public Ui_TemplateEditor {};
94 } // namespace Ui
95 
96 QT_END_NAMESPACE
97 
98 #endif // UI_TEMPLATEEDITOR_H
The TemplateEditor class provides simple template editor dialog.
Definition: templateeditor.h:34