Initial Release
[vicar] / src / vicar-config / uis / ui_configwindow.h~
1 /********************************************************************************
2 ** Form generated from reading UI file 'configwindow.ui'
3 **
4 ** Created: Sun Jun 6 09:41:25 2010
5 **      by: Qt User Interface Compiler version 4.6.2
6 **
7 ** WARNING! All changes made in this file will be lost when recompiling UI file!
8 ********************************************************************************/
9
10 #ifndef UI_CONFIGWINDOW_H
11 #define UI_CONFIGWINDOW_H
12
13 #include <QtCore/QVariant>
14 #include <QtGui/QAction>
15 #include <QtGui/QApplication>
16 #include <QtGui/QButtonGroup>
17 #include <QtGui/QCheckBox>
18 #include <QtGui/QComboBox>
19 #include <QtGui/QFormLayout>
20 #include <QtGui/QGroupBox>
21 #include <QtGui/QHeaderView>
22 #include <QtGui/QLabel>
23 #include <QtGui/QLineEdit>
24 #include <QtGui/QMainWindow>
25 #include <QtGui/QMenu>
26 #include <QtGui/QMenuBar>
27 #include <QtGui/QScrollArea>
28 #include <QtGui/QSpinBox>
29 #include <QtGui/QWidget>
30
31 QT_BEGIN_NAMESPACE
32
33 class Ui_ConfigWindow
34 {
35 public:
36     QAction *actionSave;
37     QAction *actionReset;
38     QWidget *centralwidget;
39     QScrollArea *scrollArea;
40     QWidget *scrollAreaWidgetContents;
41     QGroupBox *groupBoxBasic;
42     QWidget *formLayoutWidget;
43     QFormLayout *formLayoutBasic;
44     QLabel *labelCallRedirection;
45     QCheckBox *checkBoxIntlCallRedirEnabled;
46     QLabel *labelCallingCardNumber;
47     QLineEdit *lineEditCallingCardNumber;
48     QLabel *labelCountryCodesToExclude;
49     QLineEdit *lineEditCountryCodesToExclude;
50     QGroupBox *groupBoxAdvanced;
51     QWidget *formLayoutWidget_2;
52     QFormLayout *formLayoutAdvanced;
53     QLabel *labelDTMFFormat;
54     QComboBox *comboBoxDTMFFormat;
55     QSpinBox *spinBoxDTMFDelay;
56     QLabel *labelDTMFDelay;
57     QLabel *labelDTMFSuffix;
58     QComboBox *comboBoxDTMFSuffix;
59     QMenuBar *menubar;
60     QMenu *menuVicarConfiguration;
61
62     void setupUi(QMainWindow *ConfigWindow)
63     {
64         if (ConfigWindow->objectName().isEmpty())
65             ConfigWindow->setObjectName(QString::fromUtf8("ConfigWindow"));
66         ConfigWindow->resize(800, 480);
67         actionSave = new QAction(ConfigWindow);
68         actionSave->setObjectName(QString::fromUtf8("actionSave"));
69         QFont font;
70         actionSave->setFont(font);
71         actionReset = new QAction(ConfigWindow);
72         actionReset->setObjectName(QString::fromUtf8("actionReset"));
73         centralwidget = new QWidget(ConfigWindow);
74         centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
75         scrollArea = new QScrollArea(centralwidget);
76         scrollArea->setObjectName(QString::fromUtf8("scrollArea"));
77         scrollArea->setGeometry(QRect(0, 20, 800, 470));
78         scrollArea->setWidgetResizable(true);
79         scrollAreaWidgetContents = new QWidget();
80         scrollAreaWidgetContents->setObjectName(QString::fromUtf8("scrollAreaWidgetContents"));
81         scrollAreaWidgetContents->setGeometry(QRect(0, 0, 798, 600));
82         groupBoxBasic = new QGroupBox(scrollAreaWidgetContents);
83         groupBoxBasic->setObjectName(QString::fromUtf8("groupBoxBasic"));
84         groupBoxBasic->setGeometry(QRect(0, 0, 789, 231));
85         formLayoutWidget = new QWidget(groupBoxBasic);
86         formLayoutWidget->setObjectName(QString::fromUtf8("formLayoutWidget"));
87         formLayoutWidget->setGeometry(QRect(10, 20, 751, 201));
88         formLayoutBasic = new QFormLayout(formLayoutWidget);
89         formLayoutBasic->setObjectName(QString::fromUtf8("formLayoutBasic"));
90         formLayoutBasic->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
91         formLayoutBasic->setContentsMargins(10, 0, 0, 0);
92         labelCallRedirection = new QLabel(formLayoutWidget);
93         labelCallRedirection->setObjectName(QString::fromUtf8("labelCallRedirection"));
94         QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred);
95         sizePolicy.setHorizontalStretch(0);
96         sizePolicy.setVerticalStretch(0);
97         sizePolicy.setHeightForWidth(labelCallRedirection->sizePolicy().hasHeightForWidth());
98         labelCallRedirection->setSizePolicy(sizePolicy);
99         labelCallRedirection->setMinimumSize(QSize(300, 25));
100         labelCallRedirection->setMaximumSize(QSize(300, 16777215));
101         labelCallRedirection->setMargin(0);
102
103         formLayoutBasic->setWidget(0, QFormLayout::LabelRole, labelCallRedirection);
104
105         checkBoxIntlCallRedirEnabled = new QCheckBox(formLayoutWidget);
106         checkBoxIntlCallRedirEnabled->setObjectName(QString::fromUtf8("checkBoxIntlCallRedirEnabled"));
107         QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed);
108         sizePolicy1.setHorizontalStretch(0);
109         sizePolicy1.setVerticalStretch(0);
110         sizePolicy1.setHeightForWidth(checkBoxIntlCallRedirEnabled->sizePolicy().hasHeightForWidth());
111         checkBoxIntlCallRedirEnabled->setSizePolicy(sizePolicy1);
112         checkBoxIntlCallRedirEnabled->setMinimumSize(QSize(175, 60));
113
114         formLayoutBasic->setWidget(0, QFormLayout::FieldRole, checkBoxIntlCallRedirEnabled);
115
116         labelCallingCardNumber = new QLabel(formLayoutWidget);
117         labelCallingCardNumber->setObjectName(QString::fromUtf8("labelCallingCardNumber"));
118
119         formLayoutBasic->setWidget(1, QFormLayout::LabelRole, labelCallingCardNumber);
120
121         lineEditCallingCardNumber = new QLineEdit(formLayoutWidget);
122         lineEditCallingCardNumber->setObjectName(QString::fromUtf8("lineEditCallingCardNumber"));
123         QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Fixed);
124         sizePolicy2.setHorizontalStretch(0);
125         sizePolicy2.setVerticalStretch(0);
126         sizePolicy2.setHeightForWidth(lineEditCallingCardNumber->sizePolicy().hasHeightForWidth());
127         lineEditCallingCardNumber->setSizePolicy(sizePolicy2);
128         lineEditCallingCardNumber->setMinimumSize(QSize(0, 60));
129         lineEditCallingCardNumber->setInputMethodHints(Qt::ImhDigitsOnly);
130
131         formLayoutBasic->setWidget(1, QFormLayout::FieldRole, lineEditCallingCardNumber);
132
133         labelCountryCodesToExclude = new QLabel(formLayoutWidget);
134         labelCountryCodesToExclude->setObjectName(QString::fromUtf8("labelCountryCodesToExclude"));
135
136         formLayoutBasic->setWidget(2, QFormLayout::LabelRole, labelCountryCodesToExclude);
137
138         lineEditCountryCodesToExclude = new QLineEdit(formLayoutWidget);
139         lineEditCountryCodesToExclude->setObjectName(QString::fromUtf8("lineEditCountryCodesToExclude"));
140         sizePolicy2.setHeightForWidth(lineEditCountryCodesToExclude->sizePolicy().hasHeightForWidth());
141         lineEditCountryCodesToExclude->setSizePolicy(sizePolicy2);
142         lineEditCountryCodesToExclude->setMinimumSize(QSize(0, 60));
143         lineEditCountryCodesToExclude->setInputMethodHints(Qt::ImhDigitsOnly);
144
145         formLayoutBasic->setWidget(2, QFormLayout::FieldRole, lineEditCountryCodesToExclude);
146
147         groupBoxAdvanced = new QGroupBox(scrollAreaWidgetContents);
148         groupBoxAdvanced->setObjectName(QString::fromUtf8("groupBoxAdvanced"));
149         groupBoxAdvanced->setGeometry(QRect(0, 240, 789, 400));
150         formLayoutWidget_2 = new QWidget(groupBoxAdvanced);
151         formLayoutWidget_2->setObjectName(QString::fromUtf8("formLayoutWidget_2"));
152         formLayoutWidget_2->setGeometry(QRect(10, 30, 771, 171));
153         formLayoutAdvanced = new QFormLayout(formLayoutWidget_2);
154         formLayoutAdvanced->setObjectName(QString::fromUtf8("formLayoutAdvanced"));
155         formLayoutAdvanced->setSizeConstraint(QLayout::SetDefaultConstraint);
156         formLayoutAdvanced->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
157         formLayoutAdvanced->setContentsMargins(10, 0, 0, 9);
158         labelDTMFFormat = new QLabel(formLayoutWidget_2);
159         labelDTMFFormat->setObjectName(QString::fromUtf8("labelDTMFFormat"));
160         sizePolicy.setHeightForWidth(labelDTMFFormat->sizePolicy().hasHeightForWidth());
161         labelDTMFFormat->setSizePolicy(sizePolicy);
162         labelDTMFFormat->setMinimumSize(QSize(300, 25));
163         labelDTMFFormat->setMaximumSize(QSize(300, 16777215));
164         labelDTMFFormat->setWordWrap(true);
165
166         formLayoutAdvanced->setWidget(0, QFormLayout::LabelRole, labelDTMFFormat);
167
168         comboBoxDTMFFormat = new QComboBox(formLayoutWidget_2);
169         comboBoxDTMFFormat->setObjectName(QString::fromUtf8("comboBoxDTMFFormat"));
170         QSizePolicy sizePolicy3(QSizePolicy::Minimum, QSizePolicy::Minimum);
171         sizePolicy3.setHorizontalStretch(0);
172         sizePolicy3.setVerticalStretch(0);
173         sizePolicy3.setHeightForWidth(comboBoxDTMFFormat->sizePolicy().hasHeightForWidth());
174         comboBoxDTMFFormat->setSizePolicy(sizePolicy3);
175         comboBoxDTMFFormat->setMinimumSize(QSize(50, 60));
176
177         formLayoutAdvanced->setWidget(0, QFormLayout::FieldRole, comboBoxDTMFFormat);
178
179         spinBoxDTMFDelay = new QSpinBox(formLayoutWidget_2);
180         spinBoxDTMFDelay->setObjectName(QString::fromUtf8("spinBoxDTMFDelay"));
181         QSizePolicy sizePolicy4(QSizePolicy::Fixed, QSizePolicy::Minimum);
182         sizePolicy4.setHorizontalStretch(0);
183         sizePolicy4.setVerticalStretch(0);
184         sizePolicy4.setHeightForWidth(spinBoxDTMFDelay->sizePolicy().hasHeightForWidth());
185         spinBoxDTMFDelay->setSizePolicy(sizePolicy4);
186         spinBoxDTMFDelay->setMinimumSize(QSize(100, 60));
187         spinBoxDTMFDelay->setLayoutDirection(Qt::LeftToRight);
188         spinBoxDTMFDelay->setMinimum(1);
189         spinBoxDTMFDelay->setMaximum(10);
190
191         formLayoutAdvanced->setWidget(2, QFormLayout::FieldRole, spinBoxDTMFDelay);
192
193         labelDTMFDelay = new QLabel(formLayoutWidget_2);
194         labelDTMFDelay->setObjectName(QString::fromUtf8("labelDTMFDelay"));
195         sizePolicy.setHeightForWidth(labelDTMFDelay->sizePolicy().hasHeightForWidth());
196         labelDTMFDelay->setSizePolicy(sizePolicy);
197         labelDTMFDelay->setMinimumSize(QSize(300, 25));
198         labelDTMFDelay->setMaximumSize(QSize(300, 16777215));
199         labelDTMFDelay->setWordWrap(true);
200
201         formLayoutAdvanced->setWidget(2, QFormLayout::LabelRole, labelDTMFDelay);
202
203         labelDTMFSuffix = new QLabel(formLayoutWidget_2);
204         labelDTMFSuffix->setObjectName(QString::fromUtf8("labelDTMFSuffix"));
205
206         formLayoutAdvanced->setWidget(1, QFormLayout::LabelRole, labelDTMFSuffix);
207
208         comboBoxDTMFSuffix = new QComboBox(formLayoutWidget_2);
209         comboBoxDTMFSuffix->setObjectName(QString::fromUtf8("comboBoxDTMFSuffix"));
210         sizePolicy1.setHeightForWidth(comboBoxDTMFSuffix->sizePolicy().hasHeightForWidth());
211         comboBoxDTMFSuffix->setSizePolicy(sizePolicy1);
212         comboBoxDTMFSuffix->setMinimumSize(QSize(50, 0));
213
214         formLayoutAdvanced->setWidget(1, QFormLayout::FieldRole, comboBoxDTMFSuffix);
215
216         scrollArea->setWidget(scrollAreaWidgetContents);
217         ConfigWindow->setCentralWidget(centralwidget);
218         menubar = new QMenuBar(ConfigWindow);
219         menubar->setObjectName(QString::fromUtf8("menubar"));
220         menubar->setGeometry(QRect(0, 0, 800, 23));
221         menuVicarConfiguration = new QMenu(menubar);
222         menuVicarConfiguration->setObjectName(QString::fromUtf8("menuVicarConfiguration"));
223         ConfigWindow->setMenuBar(menubar);
224
225         menubar->addAction(menuVicarConfiguration->menuAction());
226         menuVicarConfiguration->addAction(actionSave);
227         menuVicarConfiguration->addAction(actionReset);
228
229         retranslateUi(ConfigWindow);
230
231         QMetaObject::connectSlotsByName(ConfigWindow);
232     } // setupUi
233
234     void retranslateUi(QMainWindow *ConfigWindow)
235     {
236         ConfigWindow->setWindowTitle(QApplication::translate("ConfigWindow", "VICaR - Settings", 0, QApplication::UnicodeUTF8));
237         actionSave->setText(QApplication::translate("ConfigWindow", "Save", 0, QApplication::UnicodeUTF8));
238 #ifndef QT_NO_TOOLTIP
239         actionSave->setToolTip(QApplication::translate("ConfigWindow", "Save Settings", 0, QApplication::UnicodeUTF8));
240 #endif // QT_NO_TOOLTIP
241         actionReset->setText(QApplication::translate("ConfigWindow", "Reset", 0, QApplication::UnicodeUTF8));
242 #ifndef QT_NO_TOOLTIP
243         actionReset->setToolTip(QApplication::translate("ConfigWindow", "Reset Settings", 0, QApplication::UnicodeUTF8));
244 #endif // QT_NO_TOOLTIP
245         groupBoxBasic->setTitle(QApplication::translate("ConfigWindow", "Basic", 0, QApplication::UnicodeUTF8));
246         labelCallRedirection->setText(QApplication::translate("ConfigWindow", "International Call Routing:", 0, QApplication::UnicodeUTF8));
247         checkBoxIntlCallRedirEnabled->setText(QApplication::translate("ConfigWindow", "Enabled", 0, QApplication::UnicodeUTF8));
248         labelCallingCardNumber->setText(QApplication::translate("ConfigWindow", "Calling Card Number:", 0, QApplication::UnicodeUTF8));
249         labelCountryCodesToExclude->setText(QApplication::translate("ConfigWindow", "Country Codes to Exclude:", 0, QApplication::UnicodeUTF8));
250         groupBoxAdvanced->setTitle(QApplication::translate("ConfigWindow", "Advanced", 0, QApplication::UnicodeUTF8));
251         labelDTMFFormat->setText(QApplication::translate("ConfigWindow", "Format required for DTMF tone:", 0, QApplication::UnicodeUTF8));
252         comboBoxDTMFFormat->clear();
253         comboBoxDTMFFormat->insertItems(0, QStringList()
254          << QApplication::translate("ConfigWindow", "<Country Code><Area Code><Phone Number>", 0, QApplication::UnicodeUTF8)
255          << QApplication::translate("ConfigWindow", "+<Country Code><Area Code><Phone Number>", 0, QApplication::UnicodeUTF8)
256          << QApplication::translate("ConfigWindow", "00<Country Code><Area Code><Phone Number>", 0, QApplication::UnicodeUTF8)
257          << QApplication::translate("ConfigWindow", "011<Country Code><Area Code><Phone Number>", 0, QApplication::UnicodeUTF8)
258         );
259         labelDTMFDelay->setText(QApplication::translate("ConfigWindow", "Delay before sending DTMF (no of pauses):", 0, QApplication::UnicodeUTF8));
260         labelDTMFSuffix->setText(QApplication::translate("ConfigWindow", "Suffix after DTMF tone", 0, QApplication::UnicodeUTF8));
261         comboBoxDTMFSuffix->clear();
262         comboBoxDTMFSuffix->insertItems(0, QStringList()
263          << QApplication::translate("ConfigWindow", "--None--", 0, QApplication::UnicodeUTF8)
264          << QApplication::translate("ConfigWindow", "#", 0, QApplication::UnicodeUTF8)
265          << QApplication::translate("ConfigWindow", "*", 0, QApplication::UnicodeUTF8)
266         );
267         menuVicarConfiguration->setTitle(QApplication::translate("ConfigWindow", "VICaR - Configuration", 0, QApplication::UnicodeUTF8));
268     } // retranslateUi
269
270 };
271
272 namespace Ui {
273     class ConfigWindow: public Ui_ConfigWindow {};
274 } // namespace Ui
275
276 QT_END_NAMESPACE
277
278 #endif // UI_CONFIGWINDOW_H