Source-highlight Qt Library
ui_SourceHighlightSettingsPage.h
1 /********************************************************************************
2 ** Form generated from reading UI file 'SourceHighlightSettingsPage.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 #include <QtCore/QVariant>
10 #include <QtGui/QAction>
11 #include <QtGui/QApplication>
12 #include <QtGui/QButtonGroup>
13 #include <QtGui/QGridLayout>
14 #include <QtGui/QHBoxLayout>
15 #include <QtGui/QHeaderView>
16 #include <QtGui/QLabel>
17 #include <QtGui/QLineEdit>
18 #include <QtGui/QPushButton>
19 #include <QtGui/QSpacerItem>
20 #include <QtGui/QVBoxLayout>
21 #include <QtGui/QWidget>
22 
23 QT_BEGIN_NAMESPACE
24 
26 {
27 public:
28  QGridLayout *gridLayout;
29  QLabel *label;
30  QVBoxLayout *verticalLayout;
31  QLineEdit *sourceHighlightDataDirLineEdit;
32  QHBoxLayout *horizontalLayout;
33  QSpacerItem *horizontalSpacer;
34  QPushButton *browseButton;
35  QPushButton *defaultButton;
36  QLabel *errorLabel;
37  QLabel *okLabel;
38  QSpacerItem *verticalSpacer;
39 
40  void setupUi(QWidget *SourceHighlightSettingsPage)
41  {
42  if (SourceHighlightSettingsPage->objectName().isEmpty())
43  SourceHighlightSettingsPage->setObjectName(QString::fromUtf8("SourceHighlightSettingsPage"));
44  SourceHighlightSettingsPage->resize(400, 300);
45  gridLayout = new QGridLayout(SourceHighlightSettingsPage);
46  gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
47  label = new QLabel(SourceHighlightSettingsPage);
48  label->setObjectName(QString::fromUtf8("label"));
49 
50  gridLayout->addWidget(label, 0, 0, 1, 1);
51 
52  verticalLayout = new QVBoxLayout();
53  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
54  sourceHighlightDataDirLineEdit = new QLineEdit(SourceHighlightSettingsPage);
55  sourceHighlightDataDirLineEdit->setObjectName(QString::fromUtf8("sourceHighlightDataDirLineEdit"));
56 
57  verticalLayout->addWidget(sourceHighlightDataDirLineEdit);
58 
59  horizontalLayout = new QHBoxLayout();
60  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
61  horizontalSpacer = new QSpacerItem(197, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
62 
63  horizontalLayout->addItem(horizontalSpacer);
64 
65  browseButton = new QPushButton(SourceHighlightSettingsPage);
66  browseButton->setObjectName(QString::fromUtf8("browseButton"));
67 
68  horizontalLayout->addWidget(browseButton);
69 
70  defaultButton = new QPushButton(SourceHighlightSettingsPage);
71  defaultButton->setObjectName(QString::fromUtf8("defaultButton"));
72 
73  horizontalLayout->addWidget(defaultButton);
74 
75 
76  verticalLayout->addLayout(horizontalLayout);
77 
78 
79  gridLayout->addLayout(verticalLayout, 1, 0, 1, 2);
80 
81  errorLabel = new QLabel(SourceHighlightSettingsPage);
82  errorLabel->setObjectName(QString::fromUtf8("errorLabel"));
83  QFont font;
84  font.setBold(true);
85  font.setWeight(75);
86  errorLabel->setFont(font);
87 
88  gridLayout->addWidget(errorLabel, 2, 0, 1, 2);
89 
90  okLabel = new QLabel(SourceHighlightSettingsPage);
91  okLabel->setObjectName(QString::fromUtf8("okLabel"));
92 
93  gridLayout->addWidget(okLabel, 3, 0, 1, 1);
94 
95  verticalSpacer = new QSpacerItem(20, 193, QSizePolicy::Minimum, QSizePolicy::Expanding);
96 
97  gridLayout->addItem(verticalSpacer, 4, 1, 1, 1);
98 
99 #ifndef QT_NO_SHORTCUT
100  label->setBuddy(sourceHighlightDataDirLineEdit);
101 #endif // QT_NO_SHORTCUT
102 
103  retranslateUi(SourceHighlightSettingsPage);
104 
105  QMetaObject::connectSlotsByName(SourceHighlightSettingsPage);
106  } // setupUi
107 
108  void retranslateUi(QWidget *SourceHighlightSettingsPage)
109  {
110  SourceHighlightSettingsPage->setWindowTitle(QApplication::translate("SourceHighlightSettingsPage", "Form", 0, QApplication::UnicodeUTF8));
111  label->setText(QApplication::translate("SourceHighlightSettingsPage", "Source-highlight's files path", 0, QApplication::UnicodeUTF8));
112 #ifndef QT_NO_TOOLTIP
113  sourceHighlightDataDirLineEdit->setToolTip(QApplication::translate("SourceHighlightSettingsPage", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
114 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
115 "p, li { white-space: pre-wrap; }\n"
116 "</style></head><body style=\" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
117 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Sets the path where source-highlight searches for all its configuration files (e.g., .lang, .outlang, etc.); this basically corresponds to source-highlight's <span style=\" font-weight:600;\">--data-dir</span> command line option.</p></body></html>", 0, QApplication::UnicodeUTF8));
118 #endif // QT_NO_TOOLTIP
119  browseButton->setText(QApplication::translate("SourceHighlightSettingsPage", "Browse...", 0, QApplication::UnicodeUTF8));
120 #ifndef QT_NO_TOOLTIP
121  defaultButton->setToolTip(QApplication::translate("SourceHighlightSettingsPage", "Use the default (hardcoded) value from the source-highlight library", 0, QApplication::UnicodeUTF8));
122 #endif // QT_NO_TOOLTIP
123  defaultButton->setText(QApplication::translate("SourceHighlightSettingsPage", "Default", 0, QApplication::UnicodeUTF8));
124  errorLabel->setText(QApplication::translate("SourceHighlightSettingsPage", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
125 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
126 "p, li { white-space: pre-wrap; }\n"
127 "</style></head><body style=\" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
128 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600; color:#ff0000;\">The path is not a valid source-highlight's path</span></p></body></html>", 0, QApplication::UnicodeUTF8));
129  okLabel->setText(QApplication::translate("SourceHighlightSettingsPage", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
130 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
131 "p, li { white-space: pre-wrap; }\n"
132 "</style></head><body style=\" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
133 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" color:#00aa00;\">Valid source-highlight path</span></p></body></html>", 0, QApplication::UnicodeUTF8));
134  } // retranslateUi
135 
136 };
137 
138 namespace Ui {
140 } // namespace Ui
141 
142 QT_END_NAMESPACE
143 
Definition: ui_SourceHighlightSettingsPage.h:25
Definition: ColorDialog.h:15
Definition: ui_SourceHighlightSettingsPage.h:139