ui_login_dialog.h

Go to the documentation of this file.
00001 /********************************************************************************
00002 ** Form generated from reading ui file 'login_dialog.ui'
00003 **
00004 ** Created: Fri Nov 2 17:29:54 2007
00005 **      by: Qt User Interface Compiler version 4.3.2
00006 **
00007 ** WARNING! All changes made in this file will be lost when recompiling ui file!
00008 ********************************************************************************/
00009 
00010 #ifndef UI_LOGIN_DIALOG_H
00011 #define UI_LOGIN_DIALOG_H
00012 
00013 #include <Qt3Support/Q3MimeSourceFactory>
00014 #include <QtCore/QVariant>
00015 #include <QtGui/QAction>
00016 #include <QtGui/QApplication>
00017 #include <QtGui/QButtonGroup>
00018 #include <QtGui/QDialog>
00019 #include <QtGui/QGridLayout>
00020 #include <QtGui/QHBoxLayout>
00021 #include <QtGui/QLabel>
00022 #include <QtGui/QLineEdit>
00023 #include <QtGui/QPushButton>
00024 #include <QtGui/QSpacerItem>
00025 
00026 class Ui_login_dialog
00027 {
00028 public:
00029     QGridLayout *gridLayout;
00030     QSpacerItem *spacerItem;
00031     QLabel *label_username;
00032     QHBoxLayout *hboxLayout;
00033     QPushButton *bt_login;
00034     QSpacerItem *spacerItem1;
00035     QPushButton *bt_exit;
00036     QLineEdit *input_username;
00037     QLineEdit *input_password;
00038     QLabel *label_password;
00039 
00040     void setupUi(QDialog *login_dialog)
00041     {
00042     if (login_dialog->objectName().isEmpty())
00043         login_dialog->setObjectName(QString::fromUtf8("login_dialog"));
00044     login_dialog->resize(302, 161);
00045     QFont font;
00046     font.setFamily(QString::fromUtf8("Arial"));
00047     font.setPointSize(11);
00048     login_dialog->setFont(font);
00049     gridLayout = new QGridLayout(login_dialog);
00050     gridLayout->setSpacing(6);
00051     gridLayout->setMargin(9);
00052     gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00053     spacerItem = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
00054 
00055     gridLayout->addItem(spacerItem, 2, 1, 1, 1);
00056 
00057     label_username = new QLabel(login_dialog);
00058     label_username->setObjectName(QString::fromUtf8("label_username"));
00059     QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(5));
00060     sizePolicy.setHorizontalStretch(0);
00061     sizePolicy.setVerticalStretch(0);
00062     sizePolicy.setHeightForWidth(label_username->sizePolicy().hasHeightForWidth());
00063     label_username->setSizePolicy(sizePolicy);
00064     label_username->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00065     label_username->setWordWrap(false);
00066 
00067     gridLayout->addWidget(label_username, 0, 0, 1, 1);
00068 
00069     hboxLayout = new QHBoxLayout();
00070     hboxLayout->setSpacing(6);
00071     hboxLayout->setMargin(0);
00072     hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00073     bt_login = new QPushButton(login_dialog);
00074     bt_login->setObjectName(QString::fromUtf8("bt_login"));
00075     QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(3), static_cast<QSizePolicy::Policy>(5));
00076     sizePolicy1.setHorizontalStretch(0);
00077     sizePolicy1.setVerticalStretch(0);
00078     sizePolicy1.setHeightForWidth(bt_login->sizePolicy().hasHeightForWidth());
00079     bt_login->setSizePolicy(sizePolicy1);
00080 
00081     hboxLayout->addWidget(bt_login);
00082 
00083     spacerItem1 = new QSpacerItem(51, 37, QSizePolicy::Preferred, QSizePolicy::Minimum);
00084 
00085     hboxLayout->addItem(spacerItem1);
00086 
00087     bt_exit = new QPushButton(login_dialog);
00088     bt_exit->setObjectName(QString::fromUtf8("bt_exit"));
00089     sizePolicy1.setHeightForWidth(bt_exit->sizePolicy().hasHeightForWidth());
00090     bt_exit->setSizePolicy(sizePolicy1);
00091 
00092     hboxLayout->addWidget(bt_exit);
00093 
00094 
00095     gridLayout->addLayout(hboxLayout, 3, 0, 1, 2);
00096 
00097     input_username = new QLineEdit(login_dialog);
00098     input_username->setObjectName(QString::fromUtf8("input_username"));
00099     QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(1));
00100     sizePolicy2.setHorizontalStretch(0);
00101     sizePolicy2.setVerticalStretch(0);
00102     sizePolicy2.setHeightForWidth(input_username->sizePolicy().hasHeightForWidth());
00103     input_username->setSizePolicy(sizePolicy2);
00104 
00105     gridLayout->addWidget(input_username, 0, 1, 1, 1);
00106 
00107     input_password = new QLineEdit(login_dialog);
00108     input_password->setObjectName(QString::fromUtf8("input_password"));
00109     sizePolicy2.setHeightForWidth(input_password->sizePolicy().hasHeightForWidth());
00110     input_password->setSizePolicy(sizePolicy2);
00111     input_password->setEchoMode(QLineEdit::Password);
00112 
00113     gridLayout->addWidget(input_password, 1, 1, 1, 1);
00114 
00115     label_password = new QLabel(login_dialog);
00116     label_password->setObjectName(QString::fromUtf8("label_password"));
00117     sizePolicy.setHeightForWidth(label_password->sizePolicy().hasHeightForWidth());
00118     label_password->setSizePolicy(sizePolicy);
00119     label_password->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00120     label_password->setWordWrap(false);
00121 
00122     gridLayout->addWidget(label_password, 1, 0, 1, 1);
00123 
00124     label_username->setBuddy(input_username);
00125     label_password->setBuddy(input_password);
00126     QWidget::setTabOrder(input_password, bt_login);
00127     QWidget::setTabOrder(bt_login, bt_exit);
00128     QWidget::setTabOrder(bt_exit, input_username);
00129 
00130     retranslateUi(login_dialog);
00131     QObject::connect(bt_login, SIGNAL(clicked()), login_dialog, SLOT(accept()));
00132     QObject::connect(bt_exit, SIGNAL(clicked()), login_dialog, SLOT(reject()));
00133     QObject::connect(bt_login, SIGNAL(clicked()), login_dialog, SLOT(Slot_login_button()));
00134 
00135     QMetaObject::connectSlotsByName(login_dialog);
00136     } // setupUi
00137 
00138     void retranslateUi(QDialog *login_dialog)
00139     {
00140     login_dialog->setWindowTitle(QApplication::translate("login_dialog", "Connect to qtsmbstatus server", 0, QApplication::UnicodeUTF8));
00141     label_username->setText(QApplication::translate("login_dialog", "Username", 0, QApplication::UnicodeUTF8));
00142     bt_login->setText(QApplication::translate("login_dialog", "login", 0, QApplication::UnicodeUTF8));
00143     bt_exit->setText(QApplication::translate("login_dialog", "exit", 0, QApplication::UnicodeUTF8));
00144     input_username->setText(QApplication::translate("login_dialog", "root", 0, QApplication::UnicodeUTF8));
00145     label_password->setText(QApplication::translate("login_dialog", "Password", 0, QApplication::UnicodeUTF8));
00146     Q_UNUSED(login_dialog);
00147     } // retranslateUi
00148 
00149 };
00150 
00151 namespace Ui {
00152     class login_dialog: public Ui_login_dialog {};
00153 } // namespace Ui
00154 
00155 #endif // UI_LOGIN_DIALOG_H

Generated on Fri Nov 2 21:44:58 2007 for qtsmbstatus.kdevelop by  doxygen 1.5.3