00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_DLGAUTHORIZATION_H
00011 #define UI_DLGAUTHORIZATION_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QDialog>
00018 #include <QtGui/QGridLayout>
00019 #include <QtGui/QHBoxLayout>
00020 #include <QtGui/QHeaderView>
00021 #include <QtGui/QLabel>
00022 #include <QtGui/QLineEdit>
00023 #include <QtGui/QPushButton>
00024 #include <QtGui/QSpacerItem>
00025
00026 namespace Gui {
00027 namespace Dialog {
00028
00029 class Ui_DlgAuthorization
00030 {
00031 public:
00032 QGridLayout *gridLayout;
00033 QHBoxLayout *hboxLayout;
00034 QPushButton *buttonOk;
00035 QSpacerItem *spacerItem;
00036 QPushButton *buttonCancel;
00037 QLineEdit *password;
00038 QLabel *textLabel2;
00039 QLineEdit *username;
00040 QLabel *textLabel1;
00041 QSpacerItem *spacerItem1;
00042
00043 void setupUi(QDialog *Gui__Dialog__DlgAuthorization)
00044 {
00045 if (Gui__Dialog__DlgAuthorization->objectName().isEmpty())
00046 Gui__Dialog__DlgAuthorization->setObjectName(QString::fromUtf8("Gui__Dialog__DlgAuthorization"));
00047 Gui__Dialog__DlgAuthorization->resize(304, 189);
00048 Gui__Dialog__DlgAuthorization->setSizeGripEnabled(true);
00049 gridLayout = new QGridLayout(Gui__Dialog__DlgAuthorization);
00050 gridLayout->setSpacing(6);
00051 gridLayout->setMargin(11);
00052 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00053 hboxLayout = new QHBoxLayout();
00054 hboxLayout->setSpacing(6);
00055 hboxLayout->setMargin(0);
00056 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00057 buttonOk = new QPushButton(Gui__Dialog__DlgAuthorization);
00058 buttonOk->setObjectName(QString::fromUtf8("buttonOk"));
00059 buttonOk->setAutoDefault(true);
00060 buttonOk->setDefault(true);
00061
00062 hboxLayout->addWidget(buttonOk);
00063
00064 spacerItem = new QSpacerItem(140, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00065
00066 hboxLayout->addItem(spacerItem);
00067
00068 buttonCancel = new QPushButton(Gui__Dialog__DlgAuthorization);
00069 buttonCancel->setObjectName(QString::fromUtf8("buttonCancel"));
00070 buttonCancel->setAutoDefault(true);
00071
00072 hboxLayout->addWidget(buttonCancel);
00073
00074
00075 gridLayout->addLayout(hboxLayout, 5, 0, 1, 1);
00076
00077 password = new QLineEdit(Gui__Dialog__DlgAuthorization);
00078 password->setObjectName(QString::fromUtf8("password"));
00079 password->setEchoMode(QLineEdit::Password);
00080
00081 gridLayout->addWidget(password, 3, 0, 1, 1);
00082
00083 textLabel2 = new QLabel(Gui__Dialog__DlgAuthorization);
00084 textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
00085
00086 gridLayout->addWidget(textLabel2, 2, 0, 1, 1);
00087
00088 username = new QLineEdit(Gui__Dialog__DlgAuthorization);
00089 username->setObjectName(QString::fromUtf8("username"));
00090
00091 gridLayout->addWidget(username, 1, 0, 1, 1);
00092
00093 textLabel1 = new QLabel(Gui__Dialog__DlgAuthorization);
00094 textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
00095
00096 gridLayout->addWidget(textLabel1, 0, 0, 1, 1);
00097
00098 spacerItem1 = new QSpacerItem(21, 41, QSizePolicy::Minimum, QSizePolicy::Expanding);
00099
00100 gridLayout->addItem(spacerItem1, 4, 0, 1, 1);
00101
00102 QWidget::setTabOrder(username, password);
00103 QWidget::setTabOrder(password, buttonOk);
00104 QWidget::setTabOrder(buttonOk, buttonCancel);
00105
00106 retranslateUi(Gui__Dialog__DlgAuthorization);
00107 QObject::connect(buttonOk, SIGNAL(clicked()), Gui__Dialog__DlgAuthorization, SLOT(accept()));
00108 QObject::connect(buttonCancel, SIGNAL(clicked()), Gui__Dialog__DlgAuthorization, SLOT(reject()));
00109
00110 QMetaObject::connectSlotsByName(Gui__Dialog__DlgAuthorization);
00111 }
00112
00113 void retranslateUi(QDialog *Gui__Dialog__DlgAuthorization)
00114 {
00115 Gui__Dialog__DlgAuthorization->setWindowTitle(QApplication::translate("Gui::Dialog::DlgAuthorization", "Authorization", 0, QApplication::UnicodeUTF8));
00116 buttonOk->setText(QApplication::translate("Gui::Dialog::DlgAuthorization", "&OK", 0, QApplication::UnicodeUTF8));
00117 buttonOk->setShortcut(QString());
00118 buttonCancel->setText(QApplication::translate("Gui::Dialog::DlgAuthorization", "&Cancel", 0, QApplication::UnicodeUTF8));
00119 buttonCancel->setShortcut(QString());
00120 textLabel2->setText(QApplication::translate("Gui::Dialog::DlgAuthorization", "Password:", 0, QApplication::UnicodeUTF8));
00121 textLabel1->setText(QApplication::translate("Gui::Dialog::DlgAuthorization", "User name:", 0, QApplication::UnicodeUTF8));
00122 Q_UNUSED(Gui__Dialog__DlgAuthorization);
00123 }
00124
00125 };
00126
00127 }
00128 }
00129
00130 namespace Gui {
00131 namespace Dialog {
00132 namespace Ui {
00133 class DlgAuthorization: public Ui_DlgAuthorization {};
00134 }
00135 }
00136 }
00137
00138 #endif // UI_DLGAUTHORIZATION_H