Kate Perl Plug In  1.7
 All Classes Functions Pages
/home/lze/bld/kate/addons/kate/perlcheck/ui_settings.h
1 #include <kdialog.h>
2 #include <klocale.h>
3 
4 /********************************************************************************
5 ** Form generated from reading UI file 'settings.ui'
6 **
7 ** Created by: Qt User Interface Compiler version 4.8.6
8 **
9 ** WARNING! All changes made in this file will be lost when recompiling UI file!
10 ********************************************************************************/
11 
12 #ifndef UI_SETTINGS_H
13 #define UI_SETTINGS_H
14 
15 #include <QtCore/QVariant>
16 #include <QtGui/QAction>
17 #include <QtGui/QApplication>
18 #include <QtGui/QButtonGroup>
19 #include <QtGui/QGridLayout>
20 #include <QtGui/QHeaderView>
21 #include <QtGui/QLabel>
22 #include <QtGui/QLineEdit>
23 #include <QtGui/QSpacerItem>
24 #include <QtGui/QSpinBox>
25 #include <QtGui/QTabWidget>
26 #include <QtGui/QTableWidget>
27 #include <QtGui/QWidget>
28 #include "kurlrequester.h"
29 
30 QT_BEGIN_NAMESPACE
31 
33 {
34 public:
35  QGridLayout *gridLayout_6;
36  QTabWidget *tabWidget;
37  QWidget *tab_3;
38  QGridLayout *gridLayout_7;
39  QLabel *label_5;
40  KUrlRequester *perl5;
41  QLabel *label_6;
42  QLineEdit *args;
43  QLabel *label_7;
44  QTableWidget *vars;
45  QWidget *critic;
46  QGridLayout *gridLayout;
47  QLabel *label_2;
48  KUrlRequester *perlCritic;
49  QLabel *label_3;
50  KUrlRequester *pdfReader;
51  QLabel *label_4;
52  KUrlRequester *pbpPdf;
53  QLabel *label;
54  QSpinBox *severity;
55  QSpacerItem *horizontalSpacer_2;
56  QLabel *label_10;
57  KUrlRequester *ErrorPath;
58  QLabel *label_8;
59  KUrlRequester *Path;
60  QLabel *label_9;
61  KUrlRequester *Prefix;
62 
63  void setupUi(QWidget *SettingsDialog)
64  {
65  if (SettingsDialog->objectName().isEmpty())
66  SettingsDialog->setObjectName(QString::fromUtf8("SettingsDialog"));
67  SettingsDialog->setWindowModality(Qt::WindowModal);
68  SettingsDialog->setEnabled(true);
69  SettingsDialog->resize(450, 484);
70  QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
71  sizePolicy.setHorizontalStretch(0);
72  sizePolicy.setVerticalStretch(0);
73  sizePolicy.setHeightForWidth(SettingsDialog->sizePolicy().hasHeightForWidth());
74  SettingsDialog->setSizePolicy(sizePolicy);
75  gridLayout_6 = new QGridLayout(SettingsDialog);
76  gridLayout_6->setObjectName(QString::fromUtf8("gridLayout_6"));
77  tabWidget = new QTabWidget(SettingsDialog);
78  tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
79  tab_3 = new QWidget();
80  tab_3->setObjectName(QString::fromUtf8("tab_3"));
81  gridLayout_7 = new QGridLayout(tab_3);
82  gridLayout_7->setObjectName(QString::fromUtf8("gridLayout_7"));
83  label_5 = new QLabel(tab_3);
84  label_5->setObjectName(QString::fromUtf8("label_5"));
85 
86  gridLayout_7->addWidget(label_5, 0, 0, 1, 1);
87 
88  perl5 = new KUrlRequester(tab_3);
89  perl5->setObjectName(QString::fromUtf8("perl5"));
90 
91  gridLayout_7->addWidget(perl5, 1, 0, 1, 1);
92 
93  label_6 = new QLabel(tab_3);
94  label_6->setObjectName(QString::fromUtf8("label_6"));
95 
96  gridLayout_7->addWidget(label_6, 2, 0, 1, 1);
97 
98  args = new QLineEdit(tab_3);
99  args->setObjectName(QString::fromUtf8("args"));
100 
101  gridLayout_7->addWidget(args, 3, 0, 1, 1);
102 
103  label_7 = new QLabel(tab_3);
104  label_7->setObjectName(QString::fromUtf8("label_7"));
105 
106  gridLayout_7->addWidget(label_7, 4, 0, 1, 1);
107 
108  vars = new QTableWidget(tab_3);
109  if (vars->columnCount() < 2)
110  vars->setColumnCount(2);
111  QTableWidgetItem *__qtablewidgetitem = new QTableWidgetItem();
112  vars->setHorizontalHeaderItem(0, __qtablewidgetitem);
113  QTableWidgetItem *__qtablewidgetitem1 = new QTableWidgetItem();
114  vars->setHorizontalHeaderItem(1, __qtablewidgetitem1);
115  vars->setObjectName(QString::fromUtf8("vars"));
116  vars->setContextMenuPolicy(Qt::CustomContextMenu);
117  vars->setAlternatingRowColors(false);
118  vars->setSelectionMode(QAbstractItemView::SingleSelection);
119  vars->setSelectionBehavior(QAbstractItemView::SelectRows);
120  vars->horizontalHeader()->setDefaultSectionSize(150);
121  vars->horizontalHeader()->setProperty("showSortIndicator", QVariant(false));
122  vars->horizontalHeader()->setStretchLastSection(true);
123  vars->verticalHeader()->setVisible(false);
124 
125  gridLayout_7->addWidget(vars, 5, 0, 1, 1);
126 
127  tabWidget->addTab(tab_3, QString());
128  critic = new QWidget();
129  critic->setObjectName(QString::fromUtf8("critic"));
130  gridLayout = new QGridLayout(critic);
131  gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
132  label_2 = new QLabel(critic);
133  label_2->setObjectName(QString::fromUtf8("label_2"));
134 
135  gridLayout->addWidget(label_2, 0, 0, 1, 1);
136 
137  perlCritic = new KUrlRequester(critic);
138  perlCritic->setObjectName(QString::fromUtf8("perlCritic"));
139 
140  gridLayout->addWidget(perlCritic, 1, 0, 1, 2);
141 
142  label_3 = new QLabel(critic);
143  label_3->setObjectName(QString::fromUtf8("label_3"));
144 
145  gridLayout->addWidget(label_3, 2, 0, 1, 2);
146 
147  pdfReader = new KUrlRequester(critic);
148  pdfReader->setObjectName(QString::fromUtf8("pdfReader"));
149  pdfReader->setMode(KFile::ExistingOnly|KFile::File|KFile::LocalOnly);
150 
151  gridLayout->addWidget(pdfReader, 3, 0, 1, 2);
152 
153  label_4 = new QLabel(critic);
154  label_4->setObjectName(QString::fromUtf8("label_4"));
155 
156  gridLayout->addWidget(label_4, 4, 0, 1, 1);
157 
158  pbpPdf = new KUrlRequester(critic);
159  pbpPdf->setObjectName(QString::fromUtf8("pbpPdf"));
160  pbpPdf->setMode(KFile::ExistingOnly|KFile::File|KFile::LocalOnly);
161 
162  gridLayout->addWidget(pbpPdf, 5, 0, 1, 2);
163 
164  label = new QLabel(critic);
165  label->setObjectName(QString::fromUtf8("label"));
166 
167  gridLayout->addWidget(label, 6, 0, 1, 1);
168 
169  severity = new QSpinBox(critic);
170  severity->setObjectName(QString::fromUtf8("severity"));
171  severity->setMinimum(1);
172  severity->setMaximum(5);
173  severity->setValue(5);
174 
175  gridLayout->addWidget(severity, 7, 0, 1, 1);
176 
177  horizontalSpacer_2 = new QSpacerItem(347, 22, QSizePolicy::Expanding, QSizePolicy::Minimum);
178 
179  gridLayout->addItem(horizontalSpacer_2, 7, 1, 1, 1);
180 
181  label_10 = new QLabel(critic);
182  label_10->setObjectName(QString::fromUtf8("label_10"));
183 
184  gridLayout->addWidget(label_10, 8, 0, 1, 2);
185 
186  ErrorPath = new KUrlRequester(critic);
187  ErrorPath->setObjectName(QString::fromUtf8("ErrorPath"));
188  ErrorPath->setInputMethodHints(Qt::ImhNone);
189  ErrorPath->setMode(KFile::ExistingOnly|KFile::File|KFile::LocalOnly);
190 
191  gridLayout->addWidget(ErrorPath, 9, 0, 1, 2);
192 
193  label_8 = new QLabel(critic);
194  label_8->setObjectName(QString::fromUtf8("label_8"));
195 
196  gridLayout->addWidget(label_8, 10, 0, 1, 2);
197 
198  Path = new KUrlRequester(critic);
199  Path->setObjectName(QString::fromUtf8("Path"));
200  QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Fixed);
201  sizePolicy1.setHorizontalStretch(0);
202  sizePolicy1.setVerticalStretch(0);
203  sizePolicy1.setHeightForWidth(Path->sizePolicy().hasHeightForWidth());
204  Path->setSizePolicy(sizePolicy1);
205 
206  gridLayout->addWidget(Path, 11, 0, 1, 2);
207 
208  label_9 = new QLabel(critic);
209  label_9->setObjectName(QString::fromUtf8("label_9"));
210 
211  gridLayout->addWidget(label_9, 12, 0, 1, 1);
212 
213  Prefix = new KUrlRequester(critic);
214  Prefix->setObjectName(QString::fromUtf8("Prefix"));
215  Prefix->setMode(KFile::Directory|KFile::ExistingOnly|KFile::LocalOnly);
216 
217  gridLayout->addWidget(Prefix, 13, 0, 1, 2);
218 
219  tabWidget->addTab(critic, QString());
220 
221  gridLayout_6->addWidget(tabWidget, 0, 0, 1, 1);
222 
223 
224  retranslateUi(SettingsDialog);
225 
226  tabWidget->setCurrentIndex(1);
227 
228 
229  QMetaObject::connectSlotsByName(SettingsDialog);
230  } // setupUi
231 
232  void retranslateUi(QWidget *SettingsDialog)
233  {
234  SettingsDialog->setWindowTitle(tr2i18n("Settings", 0));
235  label_5->setText(tr2i18n("Perl", 0));
236 #ifndef UI_QT_NO_TOOLTIP
237  perl5->setToolTip(tr2i18n("Path to perl \"/usr/bin/perl\"", 0));
238 #endif // QT_NO_TOOLTIP
239  label_6->setText(tr2i18n("Args", 0));
240 #ifndef UI_QT_NO_TOOLTIP
241  args->setToolTip(tr2i18n("<html><head/><body><p>Command line Arguments.</p></body></html>", 0));
242 #endif // QT_NO_TOOLTIP
243  label_7->setText(tr2i18n("Environment Variables", 0));
244  QTableWidgetItem *___qtablewidgetitem = vars->horizontalHeaderItem(0);
245  ___qtablewidgetitem->setText(tr2i18n("Variable", 0));
246  QTableWidgetItem *___qtablewidgetitem1 = vars->horizontalHeaderItem(1);
247  ___qtablewidgetitem1->setText(tr2i18n("Value", 0));
248 #ifndef UI_QT_NO_TOOLTIP
249  vars->setToolTip(tr2i18n("<html><head/><body><p>Environment Variables.</p></body></html>", 0));
250 #endif // QT_NO_TOOLTIP
251  tabWidget->setTabText(tabWidget->indexOf(tab_3), tr2i18n("Debugger", 0));
252  label_2->setText(tr2i18n("Perlcritic", 0));
253 #ifndef UI_QT_NO_TOOLTIP
254  perlCritic->setToolTip(tr2i18n("<html><head/><body><p>perlcritic</p></body></html>", 0));
255 #endif // QT_NO_TOOLTIP
256 #ifndef UI_QT_NO_WHATSTHIS
257  perlCritic->setWhatsThis(tr2i18n("<html><head/><body><p>path to perlcritic</p></body></html>", 0));
258 #endif // QT_NO_WHATSTHIS
259  label_3->setText(tr2i18n("Pdf Reader", 0));
260 #ifndef UI_QT_NO_TOOLTIP
261  pdfReader->setToolTip(tr2i18n("<html><head/><body><p>You need to choice a reader who accepts the command line option: </p><p>-p, Page to show.</p></body></html>", 0));
262 #endif // QT_NO_TOOLTIP
263 #ifndef UI_QT_NO_WHATSTHIS
264  pdfReader->setWhatsThis(tr2i18n("<html><head/><body><p>Pdf Reader like</p><p>/usr/bin/atril</p><p><br/></p></body></html>", 0));
265 #endif // QT_NO_WHATSTHIS
266  label_4->setText(tr2i18n("pbp pdf", 0));
267 #ifndef UI_QT_NO_TOOLTIP
268  pbpPdf->setToolTip(tr2i18n("<html><head/><body><p>Perl best Practices pdf.</p></body></html>", 0));
269 #endif // QT_NO_TOOLTIP
270 #ifndef UI_QT_NO_WHATSTHIS
271  pbpPdf->setWhatsThis(tr2i18n("<html><head/><body><p>Rigkt click on pbp page ...</p><p>Perl best Practices pdf</p><p><br/></p></body></html>", 0));
272 #endif // QT_NO_WHATSTHIS
273  label->setText(tr2i18n("Severity", 0));
274 #ifndef UI_QT_NO_TOOLTIP
275  severity->setToolTip(tr2i18n("<html><head/><body><p>[-12345 | --brutal | --cruel | --harsh | --stern | --gentle]</p><p><br/></p></body></html>", 0));
276 #endif // QT_NO_TOOLTIP
277  label_10->setText(tr2i18n("Apache error.log", 0));
278 #ifndef UI_QT_NO_TOOLTIP
279  ErrorPath->setToolTip(tr2i18n("<html><head/><body><p>Apache log File.</p></body></html>", 0));
280 #endif // QT_NO_TOOLTIP
281 #ifndef UI_QT_NO_WHATSTHIS
282  ErrorPath->setWhatsThis(tr2i18n("<html><head/><body><p>Path to error_log</p></body></html>", 0));
283 #endif // QT_NO_WHATSTHIS
284  label_8->setText(tr2i18n("Path to replace", 0));
285  label_9->setText(tr2i18n("with", 0));
286 #ifndef UI_QT_NO_TOOLTIP
287  Prefix->setToolTip(tr2i18n("<html><head/><body><p>Right-click on Apache Error-Log show a Pop-up to open</p><p>File with given replacement.</p></body></html>", 0));
288 #endif // QT_NO_TOOLTIP
289 #ifndef UI_QT_NO_WHATSTHIS
290  Prefix->setWhatsThis(tr2i18n("<html><head/><body><p>/var/www/(cgi-bin/ will be replaced with prefix //some/place/where your sourcecode stored.</p></body></html>", 0));
291 #endif // QT_NO_WHATSTHIS
292  tabWidget->setTabText(tabWidget->indexOf(critic), tr2i18n("Perlcritic & Apache", 0));
293  } // retranslateUi
294 
295 };
296 
297 namespace Ui {
299 } // namespace Ui
300 
301 QT_END_NAMESPACE
302 
303 #endif // SETTINGS_H
304 
Definition: ui_settings.h:32
Definition: plugin_kateperlcheck.h:238
Definition: ui_settings.h:298