fixing gui
[mnenc] / unlock / ui_unlock.h
index a2785f4..82b30ae 100644 (file)
@@ -1,7 +1,7 @@
 /********************************************************************************
 ** Form generated from reading UI file 'unlock.ui'
 **
-** Created: Sun Jan 10 19:35:33 2010
+** Created: Sun Jan 10 20:23:33 2010
 **      by: Qt User Interface Compiler version 4.6.0
 **
 ** WARNING! All changes made in this file will be lost when recompiling UI file!
 #include <QtGui/QAction>
 #include <QtGui/QApplication>
 #include <QtGui/QButtonGroup>
-#include <QtGui/QDialog>
-#include <QtGui/QDialogButtonBox>
 #include <QtGui/QHeaderView>
 #include <QtGui/QLabel>
 #include <QtGui/QLineEdit>
+#include <QtGui/QMainWindow>
+#include <QtGui/QPushButton>
+#include <QtGui/QWidget>
 
 QT_BEGIN_NAMESPACE
 
-class Ui_Dialog
+class Ui_MainWindow
 {
 public:
-    QDialogButtonBox *buttonBox;
+    QWidget *centralwidget;
     QLineEdit *lineEdit;
+    QPushButton *pushButton;
     QLabel *label;
 
-    void setupUi(QDialog *Dialog)
+    void setupUi(QMainWindow *MainWindow)
     {
-        if (Dialog->objectName().isEmpty())
-            Dialog->setObjectName(QString::fromUtf8("Dialog"));
-        Dialog->resize(255, 77);
-        buttonBox = new QDialogButtonBox(Dialog);
-        buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
-        buttonBox->setGeometry(QRect(150, 10, 81, 301));
-        buttonBox->setOrientation(Qt::Vertical);
-        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
-        lineEdit = new QLineEdit(Dialog);
+        if (MainWindow->objectName().isEmpty())
+            MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
+        MainWindow->resize(182, 66);
+        centralwidget = new QWidget(MainWindow);
+        centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
+        lineEdit = new QLineEdit(centralwidget);
         lineEdit->setObjectName(QString::fromUtf8("lineEdit"));
-        lineEdit->setGeometry(QRect(30, 40, 113, 26));
-        label = new QLabel(Dialog);
+        lineEdit->setGeometry(QRect(0, 30, 113, 26));
+        pushButton = new QPushButton(centralwidget);
+        pushButton->setObjectName(QString::fromUtf8("pushButton"));
+        pushButton->setGeometry(QRect(120, 30, 51, 28));
+        label = new QLabel(centralwidget);
         label->setObjectName(QString::fromUtf8("label"));
-        label->setGeometry(QRect(30, 10, 111, 20));
+        label->setGeometry(QRect(0, 10, 171, 18));
+        MainWindow->setCentralWidget(centralwidget);
 
-        retranslateUi(Dialog);
-        QObject::connect(buttonBox, SIGNAL(rejected()), Dialog, SLOT(reject()));
-        QObject::connect(buttonBox, SIGNAL(accepted()), Dialog, SLOT(accept()));
+        retranslateUi(MainWindow);
 
-        QMetaObject::connectSlotsByName(Dialog);
+        QMetaObject::connectSlotsByName(MainWindow);
     } // setupUi
 
-    void retranslateUi(QDialog *Dialog)
+    void retranslateUi(QMainWindow *MainWindow)
     {
-        Dialog->setWindowTitle(QApplication::translate("Dialog", "Dialog", 0, QApplication::UnicodeUTF8));
-#ifndef QT_NO_WHATSTHIS
-        lineEdit->setWhatsThis(QString());
-#endif // QT_NO_WHATSTHIS
-        label->setText(QApplication::translate("Dialog", "Enter password", 0, QApplication::UnicodeUTF8));
+        MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0, QApplication::UnicodeUTF8));
+        pushButton->setText(QApplication::translate("MainWindow", "Ok", 0, QApplication::UnicodeUTF8));
+        label->setText(QApplication::translate("MainWindow", "Enter master password", 0, QApplication::UnicodeUTF8));
     } // retranslateUi
 
 };
 
 namespace Ui {
-    class Dialog: public Ui_Dialog {};
+    class MainWindow: public Ui_MainWindow {};
 } // namespace Ui
 
 QT_END_NAMESPACE