00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef PTEDIALOGDATA_H
00011 #define PTEDIALOGDATA_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QComboBox>
00018 #include <QtGui/QGridLayout>
00019 #include <QtGui/QGroupBox>
00020 #include <QtGui/QPushButton>
00021 #include <QtGui/QWidget>
00022
00023 class Ui_PTEDialogData
00024 {
00025 public:
00026 QGridLayout *gridLayout;
00027 QGroupBox *element_group;
00028 QPushButton *pushButtonSe;
00029 QPushButton *pushButtonBr;
00030 QPushButton *pushButtonKr;
00031 QPushButton *pushButtonAr;
00032 QPushButton *pushButtonCl;
00033 QPushButton *pushButtonS;
00034 QPushButton *pushButtonP;
00035 QPushButton *pushButtonSi;
00036 QPushButton *pushButtonAl;
00037 QPushButton *pushButtonMg;
00038 QPushButton *pushButtonBe;
00039 QPushButton *pushButtonB;
00040 QPushButton *pushButtonC;
00041 QPushButton *pushButtonN;
00042 QPushButton *pushButtonO;
00043 QPushButton *pushButtonF;
00044 QPushButton *pushButtonNe;
00045 QPushButton *buttonHe;
00046 QPushButton *pushButtonLi;
00047 QPushButton *pushButtonNa;
00048 QPushButton *pushButtonCa;
00049 QPushButton *pushButtonGa;
00050 QPushButton *pushButtonGe;
00051 QPushButton *pushButtonAs;
00052 QPushButton *pushButtonK;
00053 QPushButton *buttonH;
00054 QGroupBox *groupBox;
00055 QGridLayout *gridLayout1;
00056 QComboBox *element_box;
00057
00058 void setupUi(QWidget *PTEDialogData)
00059 {
00060 PTEDialogData->setObjectName(QString::fromUtf8("PTEDialogData"));
00061 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
00062 sizePolicy.setHorizontalStretch(1);
00063 sizePolicy.setVerticalStretch(1);
00064 sizePolicy.setHeightForWidth(PTEDialogData->sizePolicy().hasHeightForWidth());
00065 PTEDialogData->setSizePolicy(sizePolicy);
00066 gridLayout = new QGridLayout(PTEDialogData);
00067 gridLayout->setSpacing(6);
00068 gridLayout->setMargin(9);
00069 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00070 element_group = new QGroupBox(PTEDialogData);
00071 element_group->setObjectName(QString::fromUtf8("element_group"));
00072 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(7));
00073 sizePolicy1.setHorizontalStretch(1);
00074 sizePolicy1.setVerticalStretch(1);
00075 sizePolicy1.setHeightForWidth(element_group->sizePolicy().hasHeightForWidth());
00076 element_group->setSizePolicy(sizePolicy1);
00077 pushButtonSe = new QPushButton(element_group);
00078 pushButtonSe->setObjectName(QString::fromUtf8("pushButtonSe"));
00079 pushButtonSe->setGeometry(QRect(210, 140, 30, 30));
00080 QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(3), static_cast<QSizePolicy::Policy>(0));
00081 sizePolicy2.setHorizontalStretch(0);
00082 sizePolicy2.setVerticalStretch(0);
00083 sizePolicy2.setHeightForWidth(pushButtonSe->sizePolicy().hasHeightForWidth());
00084 pushButtonSe->setSizePolicy(sizePolicy2);
00085 pushButtonBr = new QPushButton(element_group);
00086 pushButtonBr->setObjectName(QString::fromUtf8("pushButtonBr"));
00087 pushButtonBr->setGeometry(QRect(250, 140, 30, 30));
00088 QSizePolicy sizePolicy3(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(0));
00089 sizePolicy3.setHorizontalStretch(0);
00090 sizePolicy3.setVerticalStretch(0);
00091 sizePolicy3.setHeightForWidth(pushButtonBr->sizePolicy().hasHeightForWidth());
00092 pushButtonBr->setSizePolicy(sizePolicy3);
00093 pushButtonKr = new QPushButton(element_group);
00094 pushButtonKr->setObjectName(QString::fromUtf8("pushButtonKr"));
00095 pushButtonKr->setGeometry(QRect(290, 140, 30, 30));
00096 QSizePolicy sizePolicy4(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(0));
00097 sizePolicy4.setHorizontalStretch(0);
00098 sizePolicy4.setVerticalStretch(0);
00099 sizePolicy4.setHeightForWidth(pushButtonKr->sizePolicy().hasHeightForWidth());
00100 pushButtonKr->setSizePolicy(sizePolicy4);
00101 pushButtonAr = new QPushButton(element_group);
00102 pushButtonAr->setObjectName(QString::fromUtf8("pushButtonAr"));
00103 pushButtonAr->setGeometry(QRect(290, 100, 30, 30));
00104 pushButtonCl = new QPushButton(element_group);
00105 pushButtonCl->setObjectName(QString::fromUtf8("pushButtonCl"));
00106 pushButtonCl->setGeometry(QRect(250, 100, 30, 30));
00107 pushButtonS = new QPushButton(element_group);
00108 pushButtonS->setObjectName(QString::fromUtf8("pushButtonS"));
00109 pushButtonS->setGeometry(QRect(210, 100, 30, 30));
00110 pushButtonP = new QPushButton(element_group);
00111 pushButtonP->setObjectName(QString::fromUtf8("pushButtonP"));
00112 pushButtonP->setGeometry(QRect(170, 100, 30, 30));
00113 pushButtonSi = new QPushButton(element_group);
00114 pushButtonSi->setObjectName(QString::fromUtf8("pushButtonSi"));
00115 pushButtonSi->setGeometry(QRect(130, 100, 30, 30));
00116 pushButtonAl = new QPushButton(element_group);
00117 pushButtonAl->setObjectName(QString::fromUtf8("pushButtonAl"));
00118 pushButtonAl->setGeometry(QRect(90, 100, 30, 30));
00119 pushButtonMg = new QPushButton(element_group);
00120 pushButtonMg->setObjectName(QString::fromUtf8("pushButtonMg"));
00121 pushButtonMg->setGeometry(QRect(50, 100, 30, 30));
00122 pushButtonBe = new QPushButton(element_group);
00123 pushButtonBe->setObjectName(QString::fromUtf8("pushButtonBe"));
00124 pushButtonBe->setGeometry(QRect(50, 60, 30, 30));
00125 pushButtonB = new QPushButton(element_group);
00126 pushButtonB->setObjectName(QString::fromUtf8("pushButtonB"));
00127 pushButtonB->setGeometry(QRect(90, 60, 30, 30));
00128 pushButtonC = new QPushButton(element_group);
00129 pushButtonC->setObjectName(QString::fromUtf8("pushButtonC"));
00130 pushButtonC->setGeometry(QRect(130, 60, 30, 30));
00131 pushButtonN = new QPushButton(element_group);
00132 pushButtonN->setObjectName(QString::fromUtf8("pushButtonN"));
00133 pushButtonN->setGeometry(QRect(170, 60, 30, 30));
00134 pushButtonO = new QPushButton(element_group);
00135 pushButtonO->setObjectName(QString::fromUtf8("pushButtonO"));
00136 pushButtonO->setGeometry(QRect(210, 60, 30, 30));
00137 pushButtonF = new QPushButton(element_group);
00138 pushButtonF->setObjectName(QString::fromUtf8("pushButtonF"));
00139 pushButtonF->setGeometry(QRect(250, 60, 30, 30));
00140 pushButtonNe = new QPushButton(element_group);
00141 pushButtonNe->setObjectName(QString::fromUtf8("pushButtonNe"));
00142 pushButtonNe->setGeometry(QRect(290, 60, 30, 30));
00143 buttonHe = new QPushButton(element_group);
00144 buttonHe->setObjectName(QString::fromUtf8("buttonHe"));
00145 buttonHe->setGeometry(QRect(290, 20, 30, 30));
00146 pushButtonLi = new QPushButton(element_group);
00147 pushButtonLi->setObjectName(QString::fromUtf8("pushButtonLi"));
00148 pushButtonLi->setGeometry(QRect(10, 60, 30, 30));
00149 pushButtonNa = new QPushButton(element_group);
00150 pushButtonNa->setObjectName(QString::fromUtf8("pushButtonNa"));
00151 pushButtonNa->setGeometry(QRect(10, 100, 30, 30));
00152 pushButtonCa = new QPushButton(element_group);
00153 pushButtonCa->setObjectName(QString::fromUtf8("pushButtonCa"));
00154 pushButtonCa->setGeometry(QRect(50, 140, 30, 30));
00155 QSizePolicy sizePolicy5(static_cast<QSizePolicy::Policy>(3), static_cast<QSizePolicy::Policy>(0));
00156 sizePolicy5.setHorizontalStretch(0);
00157 sizePolicy5.setVerticalStretch(0);
00158 sizePolicy5.setHeightForWidth(pushButtonCa->sizePolicy().hasHeightForWidth());
00159 pushButtonCa->setSizePolicy(sizePolicy5);
00160 pushButtonGa = new QPushButton(element_group);
00161 pushButtonGa->setObjectName(QString::fromUtf8("pushButtonGa"));
00162 pushButtonGa->setGeometry(QRect(90, 140, 30, 30));
00163 QSizePolicy sizePolicy6(static_cast<QSizePolicy::Policy>(3), static_cast<QSizePolicy::Policy>(0));
00164 sizePolicy6.setHorizontalStretch(0);
00165 sizePolicy6.setVerticalStretch(0);
00166 sizePolicy6.setHeightForWidth(pushButtonGa->sizePolicy().hasHeightForWidth());
00167 pushButtonGa->setSizePolicy(sizePolicy6);
00168 pushButtonGe = new QPushButton(element_group);
00169 pushButtonGe->setObjectName(QString::fromUtf8("pushButtonGe"));
00170 pushButtonGe->setGeometry(QRect(130, 140, 30, 30));
00171 QSizePolicy sizePolicy7(static_cast<QSizePolicy::Policy>(3), static_cast<QSizePolicy::Policy>(0));
00172 sizePolicy7.setHorizontalStretch(0);
00173 sizePolicy7.setVerticalStretch(0);
00174 sizePolicy7.setHeightForWidth(pushButtonGe->sizePolicy().hasHeightForWidth());
00175 pushButtonGe->setSizePolicy(sizePolicy7);
00176 pushButtonAs = new QPushButton(element_group);
00177 pushButtonAs->setObjectName(QString::fromUtf8("pushButtonAs"));
00178 pushButtonAs->setGeometry(QRect(170, 140, 30, 30));
00179 QSizePolicy sizePolicy8(static_cast<QSizePolicy::Policy>(3), static_cast<QSizePolicy::Policy>(0));
00180 sizePolicy8.setHorizontalStretch(0);
00181 sizePolicy8.setVerticalStretch(0);
00182 sizePolicy8.setHeightForWidth(pushButtonAs->sizePolicy().hasHeightForWidth());
00183 pushButtonAs->setSizePolicy(sizePolicy8);
00184 pushButtonK = new QPushButton(element_group);
00185 pushButtonK->setObjectName(QString::fromUtf8("pushButtonK"));
00186 pushButtonK->setGeometry(QRect(10, 140, 30, 30));
00187 QSizePolicy sizePolicy9(static_cast<QSizePolicy::Policy>(3), static_cast<QSizePolicy::Policy>(0));
00188 sizePolicy9.setHorizontalStretch(0);
00189 sizePolicy9.setVerticalStretch(0);
00190 sizePolicy9.setHeightForWidth(pushButtonK->sizePolicy().hasHeightForWidth());
00191 pushButtonK->setSizePolicy(sizePolicy9);
00192 buttonH = new QPushButton(element_group);
00193 buttonH->setObjectName(QString::fromUtf8("buttonH"));
00194 buttonH->setGeometry(QRect(10, 20, 30, 30));
00195
00196 gridLayout->addWidget(element_group, 0, 0, 1, 1);
00197
00198 groupBox = new QGroupBox(PTEDialogData);
00199 groupBox->setObjectName(QString::fromUtf8("groupBox"));
00200 gridLayout1 = new QGridLayout(groupBox);
00201 gridLayout1->setSpacing(6);
00202 gridLayout1->setMargin(9);
00203 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00204 element_box = new QComboBox(groupBox);
00205 element_box->setObjectName(QString::fromUtf8("element_box"));
00206
00207 gridLayout1->addWidget(element_box, 0, 0, 1, 1);
00208
00209
00210 gridLayout->addWidget(groupBox, 1, 0, 1, 1);
00211
00212 QWidget::setTabOrder(buttonH, buttonHe);
00213 QWidget::setTabOrder(buttonHe, pushButtonLi);
00214 QWidget::setTabOrder(pushButtonLi, pushButtonBe);
00215 QWidget::setTabOrder(pushButtonBe, pushButtonB);
00216 QWidget::setTabOrder(pushButtonB, pushButtonC);
00217 QWidget::setTabOrder(pushButtonC, pushButtonN);
00218 QWidget::setTabOrder(pushButtonN, pushButtonO);
00219 QWidget::setTabOrder(pushButtonO, pushButtonF);
00220 QWidget::setTabOrder(pushButtonF, pushButtonNe);
00221 QWidget::setTabOrder(pushButtonNe, pushButtonNa);
00222 QWidget::setTabOrder(pushButtonNa, pushButtonMg);
00223 QWidget::setTabOrder(pushButtonMg, pushButtonAl);
00224 QWidget::setTabOrder(pushButtonAl, pushButtonSi);
00225 QWidget::setTabOrder(pushButtonSi, pushButtonP);
00226 QWidget::setTabOrder(pushButtonP, pushButtonS);
00227 QWidget::setTabOrder(pushButtonS, pushButtonCl);
00228 QWidget::setTabOrder(pushButtonCl, pushButtonAr);
00229 QWidget::setTabOrder(pushButtonAr, pushButtonK);
00230 QWidget::setTabOrder(pushButtonK, pushButtonCa);
00231 QWidget::setTabOrder(pushButtonCa, pushButtonGa);
00232 QWidget::setTabOrder(pushButtonGa, pushButtonGe);
00233 QWidget::setTabOrder(pushButtonGe, pushButtonAs);
00234 QWidget::setTabOrder(pushButtonAs, pushButtonSe);
00235 QWidget::setTabOrder(pushButtonSe, pushButtonBr);
00236 QWidget::setTabOrder(pushButtonBr, pushButtonKr);
00237 QWidget::setTabOrder(pushButtonKr, element_box);
00238
00239 retranslateUi(PTEDialogData);
00240
00241 QSize size(353, 272);
00242 size = size.expandedTo(PTEDialogData->minimumSizeHint());
00243 PTEDialogData->resize(size);
00244
00245
00246 QMetaObject::connectSlotsByName(PTEDialogData);
00247 }
00248
00249 void retranslateUi(QWidget *PTEDialogData)
00250 {
00251 PTEDialogData->setWindowTitle(QApplication::translate("PTEDialogData", "Peridodic Table of Elements", 0, QApplication::UnicodeUTF8));
00252 PTEDialogData->setToolTip(QString());
00253 element_group->setTitle(QApplication::translate("PTEDialogData", "Main elements", 0, QApplication::UnicodeUTF8));
00254 pushButtonSe->setWhatsThis(QString());
00255 pushButtonSe->setText(QApplication::translate("PTEDialogData", "Se", 0, QApplication::UnicodeUTF8));
00256 pushButtonBr->setText(QApplication::translate("PTEDialogData", "Br", 0, QApplication::UnicodeUTF8));
00257 pushButtonKr->setText(QApplication::translate("PTEDialogData", "Kr", 0, QApplication::UnicodeUTF8));
00258 pushButtonAr->setText(QApplication::translate("PTEDialogData", "Ar", 0, QApplication::UnicodeUTF8));
00259 pushButtonCl->setText(QApplication::translate("PTEDialogData", "Cl", 0, QApplication::UnicodeUTF8));
00260 pushButtonS->setText(QApplication::translate("PTEDialogData", "S", 0, QApplication::UnicodeUTF8));
00261 pushButtonP->setText(QApplication::translate("PTEDialogData", "P", 0, QApplication::UnicodeUTF8));
00262 pushButtonSi->setText(QApplication::translate("PTEDialogData", "Si", 0, QApplication::UnicodeUTF8));
00263 pushButtonAl->setText(QApplication::translate("PTEDialogData", "Al", 0, QApplication::UnicodeUTF8));
00264 pushButtonMg->setText(QApplication::translate("PTEDialogData", "Mg", 0, QApplication::UnicodeUTF8));
00265 pushButtonBe->setText(QApplication::translate("PTEDialogData", "Be", 0, QApplication::UnicodeUTF8));
00266 pushButtonB->setText(QApplication::translate("PTEDialogData", "B", 0, QApplication::UnicodeUTF8));
00267 pushButtonC->setText(QApplication::translate("PTEDialogData", "C", 0, QApplication::UnicodeUTF8));
00268 pushButtonN->setText(QApplication::translate("PTEDialogData", "N", 0, QApplication::UnicodeUTF8));
00269 pushButtonO->setText(QApplication::translate("PTEDialogData", "O", 0, QApplication::UnicodeUTF8));
00270 pushButtonF->setText(QApplication::translate("PTEDialogData", "F", 0, QApplication::UnicodeUTF8));
00271 pushButtonNe->setText(QApplication::translate("PTEDialogData", "Ne", 0, QApplication::UnicodeUTF8));
00272 buttonHe->setText(QApplication::translate("PTEDialogData", "He", 0, QApplication::UnicodeUTF8));
00273 pushButtonLi->setText(QApplication::translate("PTEDialogData", "Li", 0, QApplication::UnicodeUTF8));
00274 pushButtonNa->setText(QApplication::translate("PTEDialogData", "Na", 0, QApplication::UnicodeUTF8));
00275 pushButtonCa->setText(QApplication::translate("PTEDialogData", "Ca", 0, QApplication::UnicodeUTF8));
00276 pushButtonGa->setText(QApplication::translate("PTEDialogData", "Ga", 0, QApplication::UnicodeUTF8));
00277 pushButtonGe->setText(QApplication::translate("PTEDialogData", "Ge", 0, QApplication::UnicodeUTF8));
00278 pushButtonAs->setText(QApplication::translate("PTEDialogData", "As", 0, QApplication::UnicodeUTF8));
00279 pushButtonK->setText(QApplication::translate("PTEDialogData", "K", 0, QApplication::UnicodeUTF8));
00280 buttonH->setText(QApplication::translate("PTEDialogData", "H", 0, QApplication::UnicodeUTF8));
00281 groupBox->setTitle(QApplication::translate("PTEDialogData", "All elements", 0, QApplication::UnicodeUTF8));
00282 Q_UNUSED(PTEDialogData);
00283 }
00284
00285 };
00286
00287 namespace Ui {
00288 class PTEDialogData: public Ui_PTEDialogData {};
00289 }
00290
00291 #endif // PTEDIALOGDATA_H