--- /dev/null
+/********************************************************************************
+** Form generated from reading UI file 'configwindow.ui'
+**
+** Created: Sun Jun 6 09:41:25 2010
+** by: Qt User Interface Compiler version 4.6.2
+**
+** WARNING! All changes made in this file will be lost when recompiling UI file!
+********************************************************************************/
+
+#ifndef UI_CONFIGWINDOW_H
+#define UI_CONFIGWINDOW_H
+
+#include <QtCore/QVariant>
+#include <QtGui/QAction>
+#include <QtGui/QApplication>
+#include <QtGui/QButtonGroup>
+#include <QtGui/QCheckBox>
+#include <QtGui/QComboBox>
+#include <QtGui/QFormLayout>
+#include <QtGui/QGroupBox>
+#include <QtGui/QHeaderView>
+#include <QtGui/QLabel>
+#include <QtGui/QLineEdit>
+#include <QtGui/QMainWindow>
+#include <QtGui/QMenu>
+#include <QtGui/QMenuBar>
+#include <QtGui/QScrollArea>
+#include <QtGui/QSpinBox>
+#include <QtGui/QWidget>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_ConfigWindow
+{
+public:
+ QAction *actionSave;
+ QAction *actionReset;
+ QWidget *centralwidget;
+ QScrollArea *scrollArea;
+ QWidget *scrollAreaWidgetContents;
+ QGroupBox *groupBoxBasic;
+ QWidget *formLayoutWidget;
+ QFormLayout *formLayoutBasic;
+ QLabel *labelCallRedirection;
+ QCheckBox *checkBoxIntlCallRedirEnabled;
+ QLabel *labelCallingCardNumber;
+ QLineEdit *lineEditCallingCardNumber;
+ QLabel *labelCountryCodesToExclude;
+ QLineEdit *lineEditCountryCodesToExclude;
+ QGroupBox *groupBoxAdvanced;
+ QWidget *formLayoutWidget_2;
+ QFormLayout *formLayoutAdvanced;
+ QLabel *labelDTMFFormat;
+ QComboBox *comboBoxDTMFFormat;
+ QSpinBox *spinBoxDTMFDelay;
+ QLabel *labelDTMFDelay;
+ QLabel *labelDTMFSuffix;
+ QComboBox *comboBoxDTMFSuffix;
+ QMenuBar *menubar;
+ QMenu *menuVicarConfiguration;
+
+ void setupUi(QMainWindow *ConfigWindow)
+ {
+ if (ConfigWindow->objectName().isEmpty())
+ ConfigWindow->setObjectName(QString::fromUtf8("ConfigWindow"));
+ ConfigWindow->resize(800, 480);
+ actionSave = new QAction(ConfigWindow);
+ actionSave->setObjectName(QString::fromUtf8("actionSave"));
+ QFont font;
+ actionSave->setFont(font);
+ actionReset = new QAction(ConfigWindow);
+ actionReset->setObjectName(QString::fromUtf8("actionReset"));
+ centralwidget = new QWidget(ConfigWindow);
+ centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
+ scrollArea = new QScrollArea(centralwidget);
+ scrollArea->setObjectName(QString::fromUtf8("scrollArea"));
+ scrollArea->setGeometry(QRect(0, 20, 800, 470));
+ scrollArea->setWidgetResizable(true);
+ scrollAreaWidgetContents = new QWidget();
+ scrollAreaWidgetContents->setObjectName(QString::fromUtf8("scrollAreaWidgetContents"));
+ scrollAreaWidgetContents->setGeometry(QRect(0, 0, 798, 600));
+ groupBoxBasic = new QGroupBox(scrollAreaWidgetContents);
+ groupBoxBasic->setObjectName(QString::fromUtf8("groupBoxBasic"));
+ groupBoxBasic->setGeometry(QRect(0, 0, 789, 231));
+ formLayoutWidget = new QWidget(groupBoxBasic);
+ formLayoutWidget->setObjectName(QString::fromUtf8("formLayoutWidget"));
+ formLayoutWidget->setGeometry(QRect(10, 20, 751, 201));
+ formLayoutBasic = new QFormLayout(formLayoutWidget);
+ formLayoutBasic->setObjectName(QString::fromUtf8("formLayoutBasic"));
+ formLayoutBasic->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
+ formLayoutBasic->setContentsMargins(10, 0, 0, 0);
+ labelCallRedirection = new QLabel(formLayoutWidget);
+ labelCallRedirection->setObjectName(QString::fromUtf8("labelCallRedirection"));
+ QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred);
+ sizePolicy.setHorizontalStretch(0);
+ sizePolicy.setVerticalStretch(0);
+ sizePolicy.setHeightForWidth(labelCallRedirection->sizePolicy().hasHeightForWidth());
+ labelCallRedirection->setSizePolicy(sizePolicy);
+ labelCallRedirection->setMinimumSize(QSize(300, 25));
+ labelCallRedirection->setMaximumSize(QSize(300, 16777215));
+ labelCallRedirection->setMargin(0);
+
+ formLayoutBasic->setWidget(0, QFormLayout::LabelRole, labelCallRedirection);
+
+ checkBoxIntlCallRedirEnabled = new QCheckBox(formLayoutWidget);
+ checkBoxIntlCallRedirEnabled->setObjectName(QString::fromUtf8("checkBoxIntlCallRedirEnabled"));
+ QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed);
+ sizePolicy1.setHorizontalStretch(0);
+ sizePolicy1.setVerticalStretch(0);
+ sizePolicy1.setHeightForWidth(checkBoxIntlCallRedirEnabled->sizePolicy().hasHeightForWidth());
+ checkBoxIntlCallRedirEnabled->setSizePolicy(sizePolicy1);
+ checkBoxIntlCallRedirEnabled->setMinimumSize(QSize(175, 60));
+
+ formLayoutBasic->setWidget(0, QFormLayout::FieldRole, checkBoxIntlCallRedirEnabled);
+
+ labelCallingCardNumber = new QLabel(formLayoutWidget);
+ labelCallingCardNumber->setObjectName(QString::fromUtf8("labelCallingCardNumber"));
+
+ formLayoutBasic->setWidget(1, QFormLayout::LabelRole, labelCallingCardNumber);
+
+ lineEditCallingCardNumber = new QLineEdit(formLayoutWidget);
+ lineEditCallingCardNumber->setObjectName(QString::fromUtf8("lineEditCallingCardNumber"));
+ QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Fixed);
+ sizePolicy2.setHorizontalStretch(0);
+ sizePolicy2.setVerticalStretch(0);
+ sizePolicy2.setHeightForWidth(lineEditCallingCardNumber->sizePolicy().hasHeightForWidth());
+ lineEditCallingCardNumber->setSizePolicy(sizePolicy2);
+ lineEditCallingCardNumber->setMinimumSize(QSize(0, 60));
+ lineEditCallingCardNumber->setInputMethodHints(Qt::ImhDigitsOnly);
+
+ formLayoutBasic->setWidget(1, QFormLayout::FieldRole, lineEditCallingCardNumber);
+
+ labelCountryCodesToExclude = new QLabel(formLayoutWidget);
+ labelCountryCodesToExclude->setObjectName(QString::fromUtf8("labelCountryCodesToExclude"));
+
+ formLayoutBasic->setWidget(2, QFormLayout::LabelRole, labelCountryCodesToExclude);
+
+ lineEditCountryCodesToExclude = new QLineEdit(formLayoutWidget);
+ lineEditCountryCodesToExclude->setObjectName(QString::fromUtf8("lineEditCountryCodesToExclude"));
+ sizePolicy2.setHeightForWidth(lineEditCountryCodesToExclude->sizePolicy().hasHeightForWidth());
+ lineEditCountryCodesToExclude->setSizePolicy(sizePolicy2);
+ lineEditCountryCodesToExclude->setMinimumSize(QSize(0, 60));
+ lineEditCountryCodesToExclude->setInputMethodHints(Qt::ImhDigitsOnly);
+
+ formLayoutBasic->setWidget(2, QFormLayout::FieldRole, lineEditCountryCodesToExclude);
+
+ groupBoxAdvanced = new QGroupBox(scrollAreaWidgetContents);
+ groupBoxAdvanced->setObjectName(QString::fromUtf8("groupBoxAdvanced"));
+ groupBoxAdvanced->setGeometry(QRect(0, 240, 789, 400));
+ formLayoutWidget_2 = new QWidget(groupBoxAdvanced);
+ formLayoutWidget_2->setObjectName(QString::fromUtf8("formLayoutWidget_2"));
+ formLayoutWidget_2->setGeometry(QRect(10, 30, 771, 171));
+ formLayoutAdvanced = new QFormLayout(formLayoutWidget_2);
+ formLayoutAdvanced->setObjectName(QString::fromUtf8("formLayoutAdvanced"));
+ formLayoutAdvanced->setSizeConstraint(QLayout::SetDefaultConstraint);
+ formLayoutAdvanced->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
+ formLayoutAdvanced->setContentsMargins(10, 0, 0, 9);
+ labelDTMFFormat = new QLabel(formLayoutWidget_2);
+ labelDTMFFormat->setObjectName(QString::fromUtf8("labelDTMFFormat"));
+ sizePolicy.setHeightForWidth(labelDTMFFormat->sizePolicy().hasHeightForWidth());
+ labelDTMFFormat->setSizePolicy(sizePolicy);
+ labelDTMFFormat->setMinimumSize(QSize(300, 25));
+ labelDTMFFormat->setMaximumSize(QSize(300, 16777215));
+ labelDTMFFormat->setWordWrap(true);
+
+ formLayoutAdvanced->setWidget(0, QFormLayout::LabelRole, labelDTMFFormat);
+
+ comboBoxDTMFFormat = new QComboBox(formLayoutWidget_2);
+ comboBoxDTMFFormat->setObjectName(QString::fromUtf8("comboBoxDTMFFormat"));
+ QSizePolicy sizePolicy3(QSizePolicy::Minimum, QSizePolicy::Minimum);
+ sizePolicy3.setHorizontalStretch(0);
+ sizePolicy3.setVerticalStretch(0);
+ sizePolicy3.setHeightForWidth(comboBoxDTMFFormat->sizePolicy().hasHeightForWidth());
+ comboBoxDTMFFormat->setSizePolicy(sizePolicy3);
+ comboBoxDTMFFormat->setMinimumSize(QSize(50, 60));
+
+ formLayoutAdvanced->setWidget(0, QFormLayout::FieldRole, comboBoxDTMFFormat);
+
+ spinBoxDTMFDelay = new QSpinBox(formLayoutWidget_2);
+ spinBoxDTMFDelay->setObjectName(QString::fromUtf8("spinBoxDTMFDelay"));
+ QSizePolicy sizePolicy4(QSizePolicy::Fixed, QSizePolicy::Minimum);
+ sizePolicy4.setHorizontalStretch(0);
+ sizePolicy4.setVerticalStretch(0);
+ sizePolicy4.setHeightForWidth(spinBoxDTMFDelay->sizePolicy().hasHeightForWidth());
+ spinBoxDTMFDelay->setSizePolicy(sizePolicy4);
+ spinBoxDTMFDelay->setMinimumSize(QSize(100, 60));
+ spinBoxDTMFDelay->setLayoutDirection(Qt::LeftToRight);
+ spinBoxDTMFDelay->setMinimum(1);
+ spinBoxDTMFDelay->setMaximum(10);
+
+ formLayoutAdvanced->setWidget(2, QFormLayout::FieldRole, spinBoxDTMFDelay);
+
+ labelDTMFDelay = new QLabel(formLayoutWidget_2);
+ labelDTMFDelay->setObjectName(QString::fromUtf8("labelDTMFDelay"));
+ sizePolicy.setHeightForWidth(labelDTMFDelay->sizePolicy().hasHeightForWidth());
+ labelDTMFDelay->setSizePolicy(sizePolicy);
+ labelDTMFDelay->setMinimumSize(QSize(300, 25));
+ labelDTMFDelay->setMaximumSize(QSize(300, 16777215));
+ labelDTMFDelay->setWordWrap(true);
+
+ formLayoutAdvanced->setWidget(2, QFormLayout::LabelRole, labelDTMFDelay);
+
+ labelDTMFSuffix = new QLabel(formLayoutWidget_2);
+ labelDTMFSuffix->setObjectName(QString::fromUtf8("labelDTMFSuffix"));
+
+ formLayoutAdvanced->setWidget(1, QFormLayout::LabelRole, labelDTMFSuffix);
+
+ comboBoxDTMFSuffix = new QComboBox(formLayoutWidget_2);
+ comboBoxDTMFSuffix->setObjectName(QString::fromUtf8("comboBoxDTMFSuffix"));
+ sizePolicy1.setHeightForWidth(comboBoxDTMFSuffix->sizePolicy().hasHeightForWidth());
+ comboBoxDTMFSuffix->setSizePolicy(sizePolicy1);
+ comboBoxDTMFSuffix->setMinimumSize(QSize(50, 0));
+
+ formLayoutAdvanced->setWidget(1, QFormLayout::FieldRole, comboBoxDTMFSuffix);
+
+ scrollArea->setWidget(scrollAreaWidgetContents);
+ ConfigWindow->setCentralWidget(centralwidget);
+ menubar = new QMenuBar(ConfigWindow);
+ menubar->setObjectName(QString::fromUtf8("menubar"));
+ menubar->setGeometry(QRect(0, 0, 800, 23));
+ menuVicarConfiguration = new QMenu(menubar);
+ menuVicarConfiguration->setObjectName(QString::fromUtf8("menuVicarConfiguration"));
+ ConfigWindow->setMenuBar(menubar);
+
+ menubar->addAction(menuVicarConfiguration->menuAction());
+ menuVicarConfiguration->addAction(actionSave);
+ menuVicarConfiguration->addAction(actionReset);
+
+ retranslateUi(ConfigWindow);
+
+ QMetaObject::connectSlotsByName(ConfigWindow);
+ } // setupUi
+
+ void retranslateUi(QMainWindow *ConfigWindow)
+ {
+ ConfigWindow->setWindowTitle(QApplication::translate("ConfigWindow", "VICaR - Settings", 0, QApplication::UnicodeUTF8));
+ actionSave->setText(QApplication::translate("ConfigWindow", "Save", 0, QApplication::UnicodeUTF8));
+#ifndef QT_NO_TOOLTIP
+ actionSave->setToolTip(QApplication::translate("ConfigWindow", "Save Settings", 0, QApplication::UnicodeUTF8));
+#endif // QT_NO_TOOLTIP
+ actionReset->setText(QApplication::translate("ConfigWindow", "Reset", 0, QApplication::UnicodeUTF8));
+#ifndef QT_NO_TOOLTIP
+ actionReset->setToolTip(QApplication::translate("ConfigWindow", "Reset Settings", 0, QApplication::UnicodeUTF8));
+#endif // QT_NO_TOOLTIP
+ groupBoxBasic->setTitle(QApplication::translate("ConfigWindow", "Basic", 0, QApplication::UnicodeUTF8));
+ labelCallRedirection->setText(QApplication::translate("ConfigWindow", "International Call Routing:", 0, QApplication::UnicodeUTF8));
+ checkBoxIntlCallRedirEnabled->setText(QApplication::translate("ConfigWindow", "Enabled", 0, QApplication::UnicodeUTF8));
+ labelCallingCardNumber->setText(QApplication::translate("ConfigWindow", "Calling Card Number:", 0, QApplication::UnicodeUTF8));
+ labelCountryCodesToExclude->setText(QApplication::translate("ConfigWindow", "Country Codes to Exclude:", 0, QApplication::UnicodeUTF8));
+ groupBoxAdvanced->setTitle(QApplication::translate("ConfigWindow", "Advanced", 0, QApplication::UnicodeUTF8));
+ labelDTMFFormat->setText(QApplication::translate("ConfigWindow", "Format required for DTMF tone:", 0, QApplication::UnicodeUTF8));
+ comboBoxDTMFFormat->clear();
+ comboBoxDTMFFormat->insertItems(0, QStringList()
+ << QApplication::translate("ConfigWindow", "<Country Code><Area Code><Phone Number>", 0, QApplication::UnicodeUTF8)
+ << QApplication::translate("ConfigWindow", "+<Country Code><Area Code><Phone Number>", 0, QApplication::UnicodeUTF8)
+ << QApplication::translate("ConfigWindow", "00<Country Code><Area Code><Phone Number>", 0, QApplication::UnicodeUTF8)
+ << QApplication::translate("ConfigWindow", "011<Country Code><Area Code><Phone Number>", 0, QApplication::UnicodeUTF8)
+ );
+ labelDTMFDelay->setText(QApplication::translate("ConfigWindow", "Delay before sending DTMF (no of pauses):", 0, QApplication::UnicodeUTF8));
+ labelDTMFSuffix->setText(QApplication::translate("ConfigWindow", "Suffix after DTMF tone", 0, QApplication::UnicodeUTF8));
+ comboBoxDTMFSuffix->clear();
+ comboBoxDTMFSuffix->insertItems(0, QStringList()
+ << QApplication::translate("ConfigWindow", "--None--", 0, QApplication::UnicodeUTF8)
+ << QApplication::translate("ConfigWindow", "#", 0, QApplication::UnicodeUTF8)
+ << QApplication::translate("ConfigWindow", "*", 0, QApplication::UnicodeUTF8)
+ );
+ menuVicarConfiguration->setTitle(QApplication::translate("ConfigWindow", "VICaR - Configuration", 0, QApplication::UnicodeUTF8));
+ } // retranslateUi
+
+};
+
+namespace Ui {
+ class ConfigWindow: public Ui_ConfigWindow {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_CONFIGWINDOW_H