00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef QBSELECTFROMLIST_H
00011 #define QBSELECTFROMLIST_H
00012
00013 #include <Qt3Support/Q3Frame>
00014 #include <Qt3Support/Q3GroupBox>
00015 #include <Qt3Support/Q3Header>
00016 #include <Qt3Support/Q3ListView>
00017 #include <Qt3Support/Q3MimeSourceFactory>
00018 #include <QtCore/QVariant>
00019 #include <QtGui/QAction>
00020 #include <QtGui/QApplication>
00021 #include <QtGui/QButtonGroup>
00022 #include <QtGui/QDialog>
00023 #include <QtGui/QHBoxLayout>
00024 #include <QtGui/QLabel>
00025 #include <QtGui/QPushButton>
00026 #include <QtGui/QSpacerItem>
00027 #include <QtGui/QVBoxLayout>
00028
00029 QT_BEGIN_NAMESPACE
00030
00031 class Ui_QBSelectFromListUi
00032 {
00033 public:
00034 QVBoxLayout *vboxLayout;
00035 QLabel *msgLabel;
00036 Q3GroupBox *choiceBox;
00037 QHBoxLayout *hboxLayout;
00038 Q3ListView *listView;
00039 QHBoxLayout *hboxLayout1;
00040 QSpacerItem *Horizontal_Spacing2;
00041 QPushButton *buttonOk;
00042 QPushButton *buttonCancel;
00043
00044 void setupUi(QDialog *QBSelectFromListUi)
00045 {
00046 if (QBSelectFromListUi->objectName().isEmpty())
00047 QBSelectFromListUi->setObjectName(QString::fromUtf8("QBSelectFromListUi"));
00048 QBSelectFromListUi->resize(669, 333);
00049 QBSelectFromListUi->setSizeGripEnabled(true);
00050 vboxLayout = new QVBoxLayout(QBSelectFromListUi);
00051 vboxLayout->setSpacing(6);
00052 vboxLayout->setMargin(11);
00053 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00054 msgLabel = new QLabel(QBSelectFromListUi);
00055 msgLabel->setObjectName(QString::fromUtf8("msgLabel"));
00056 msgLabel->setWordWrap(false);
00057
00058 vboxLayout->addWidget(msgLabel);
00059
00060 choiceBox = new Q3GroupBox(QBSelectFromListUi);
00061 choiceBox->setObjectName(QString::fromUtf8("choiceBox"));
00062 choiceBox->setColumnLayout(0, Qt::Vertical);
00063 choiceBox->layout()->setSpacing(6);
00064 choiceBox->layout()->setMargin(11);
00065 hboxLayout = new QHBoxLayout();
00066 QBoxLayout *boxlayout = qobject_cast<QBoxLayout *>(choiceBox->layout());
00067 if (boxlayout)
00068 boxlayout->addLayout(hboxLayout);
00069 hboxLayout->setAlignment(Qt::AlignTop);
00070 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00071 listView = new Q3ListView(choiceBox);
00072 listView->addColumn(QApplication::translate("QBSelectFromListUi", "Name", 0, QApplication::UnicodeUTF8));
00073 listView->header()->setClickEnabled(true, listView->header()->count() - 1);
00074 listView->header()->setResizeEnabled(true, listView->header()->count() - 1);
00075 listView->addColumn(QApplication::translate("QBSelectFromListUi", "Description", 0, QApplication::UnicodeUTF8));
00076 listView->header()->setClickEnabled(true, listView->header()->count() - 1);
00077 listView->header()->setResizeEnabled(true, listView->header()->count() - 1);
00078 listView->setObjectName(QString::fromUtf8("listView"));
00079
00080 hboxLayout->addWidget(listView);
00081
00082
00083 vboxLayout->addWidget(choiceBox);
00084
00085 hboxLayout1 = new QHBoxLayout();
00086 hboxLayout1->setSpacing(6);
00087 hboxLayout1->setMargin(0);
00088 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00089 Horizontal_Spacing2 = new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00090
00091 hboxLayout1->addItem(Horizontal_Spacing2);
00092
00093 buttonOk = new QPushButton(QBSelectFromListUi);
00094 buttonOk->setObjectName(QString::fromUtf8("buttonOk"));
00095 buttonOk->setAutoDefault(true);
00096 buttonOk->setDefault(true);
00097
00098 hboxLayout1->addWidget(buttonOk);
00099
00100 buttonCancel = new QPushButton(QBSelectFromListUi);
00101 buttonCancel->setObjectName(QString::fromUtf8("buttonCancel"));
00102 buttonCancel->setAutoDefault(true);
00103
00104 hboxLayout1->addWidget(buttonCancel);
00105
00106
00107 vboxLayout->addLayout(hboxLayout1);
00108
00109
00110 retranslateUi(QBSelectFromListUi);
00111 QObject::connect(buttonOk, SIGNAL(clicked()), QBSelectFromListUi, SLOT(accept()));
00112 QObject::connect(buttonCancel, SIGNAL(clicked()), QBSelectFromListUi, SLOT(reject()));
00113
00114 QMetaObject::connectSlotsByName(QBSelectFromListUi);
00115 }
00116
00117 void retranslateUi(QDialog *QBSelectFromListUi)
00118 {
00119 QBSelectFromListUi->setWindowTitle(QApplication::translate("QBSelectFromListUi", "Select Importer", 0, QApplication::UnicodeUTF8));
00120 msgLabel->setText(QApplication::translate("QBSelectFromListUi", "<qt>\n"
00121 "<p>\n"
00122 "The file type could not be determined automatically.\n"
00123 "</p>\n"
00124 "<p>\n"
00125 "However, the following importers might support the selected file. Please select the\n"
00126 "correct one.\n"
00127 "</p>\n"
00128 "</qt>", 0, QApplication::UnicodeUTF8));
00129 choiceBox->setTitle(QApplication::translate("QBSelectFromListUi", "Possible Importers", 0, QApplication::UnicodeUTF8));
00130 listView->header()->setLabel(0, QApplication::translate("QBSelectFromListUi", "Name", 0, QApplication::UnicodeUTF8));
00131 listView->header()->setLabel(1, QApplication::translate("QBSelectFromListUi", "Description", 0, QApplication::UnicodeUTF8));
00132 buttonOk->setText(QApplication::translate("QBSelectFromListUi", "&OK", 0, QApplication::UnicodeUTF8));
00133 buttonOk->setShortcut(QString());
00134 buttonCancel->setText(QApplication::translate("QBSelectFromListUi", "&Cancel", 0, QApplication::UnicodeUTF8));
00135 buttonCancel->setShortcut(QString());
00136 Q_UNUSED(QBSelectFromListUi);
00137 }
00138
00139 };
00140
00141 namespace Ui {
00142 class QBSelectFromListUi: public Ui_QBSelectFromListUi {};
00143 }
00144
00145 QT_END_NAMESPACE
00146
00147 #endif // QBSELECTFROMLIST_H