ui_DlgSettingsUnits.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_DLGSETTINGSUNITS_H
00011 #define UI_DLGSETTINGSUNITS_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/QGroupBox>
00019 #include <QtGui/QHBoxLayout>
00020 #include <QtGui/QHeaderView>
00021 #include <QtGui/QLabel>
00022 #include <QtGui/QTableWidget>
00023 #include <QtGui/QVBoxLayout>
00024 #include <QtGui/QWidget>
00025
00026 namespace Gui {
00027 namespace Dialog {
00028
00029 class Ui_DlgSettingsUnits
00030 {
00031 public:
00032 QVBoxLayout *verticalLayout_2;
00033 QGroupBox *GroupBox6;
00034 QVBoxLayout *verticalLayout;
00035 QHBoxLayout *horizontalLayout;
00036 QLabel *label;
00037 QComboBox *comboBox_ViewSystem;
00038 QTableWidget *tableWidget;
00039
00040 void setupUi(QWidget *Gui__Dialog__DlgSettingsUnits)
00041 {
00042 if (Gui__Dialog__DlgSettingsUnits->objectName().isEmpty())
00043 Gui__Dialog__DlgSettingsUnits->setObjectName(QString::fromUtf8("Gui__Dialog__DlgSettingsUnits"));
00044 Gui__Dialog__DlgSettingsUnits->resize(380, 388);
00045 verticalLayout_2 = new QVBoxLayout(Gui__Dialog__DlgSettingsUnits);
00046 verticalLayout_2->setSpacing(6);
00047 verticalLayout_2->setMargin(11);
00048 verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
00049 GroupBox6 = new QGroupBox(Gui__Dialog__DlgSettingsUnits);
00050 GroupBox6->setObjectName(QString::fromUtf8("GroupBox6"));
00051 verticalLayout = new QVBoxLayout(GroupBox6);
00052 verticalLayout->setSpacing(6);
00053 verticalLayout->setMargin(11);
00054 verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
00055 horizontalLayout = new QHBoxLayout();
00056 horizontalLayout->setSpacing(6);
00057 horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
00058 label = new QLabel(GroupBox6);
00059 label->setObjectName(QString::fromUtf8("label"));
00060
00061 horizontalLayout->addWidget(label);
00062
00063 comboBox_ViewSystem = new QComboBox(GroupBox6);
00064 comboBox_ViewSystem->setObjectName(QString::fromUtf8("comboBox_ViewSystem"));
00065
00066 horizontalLayout->addWidget(comboBox_ViewSystem);
00067
00068
00069 verticalLayout->addLayout(horizontalLayout);
00070
00071 tableWidget = new QTableWidget(GroupBox6);
00072 if (tableWidget->columnCount() < 2)
00073 tableWidget->setColumnCount(2);
00074 QTableWidgetItem *__qtablewidgetitem = new QTableWidgetItem();
00075 tableWidget->setHorizontalHeaderItem(0, __qtablewidgetitem);
00076 QTableWidgetItem *__qtablewidgetitem1 = new QTableWidgetItem();
00077 tableWidget->setHorizontalHeaderItem(1, __qtablewidgetitem1);
00078 tableWidget->setObjectName(QString::fromUtf8("tableWidget"));
00079 QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::MinimumExpanding);
00080 sizePolicy.setHorizontalStretch(0);
00081 sizePolicy.setVerticalStretch(0);
00082 sizePolicy.setHeightForWidth(tableWidget->sizePolicy().hasHeightForWidth());
00083 tableWidget->setSizePolicy(sizePolicy);
00084 tableWidget->setEditTriggers(QAbstractItemView::NoEditTriggers);
00085
00086 verticalLayout->addWidget(tableWidget);
00087
00088
00089 verticalLayout_2->addWidget(GroupBox6);
00090
00091
00092 retranslateUi(Gui__Dialog__DlgSettingsUnits);
00093
00094 QMetaObject::connectSlotsByName(Gui__Dialog__DlgSettingsUnits);
00095 }
00096
00097 void retranslateUi(QWidget *Gui__Dialog__DlgSettingsUnits)
00098 {
00099 Gui__Dialog__DlgSettingsUnits->setWindowTitle(QApplication::translate("Gui::Dialog::DlgSettingsUnits", "Units", 0, QApplication::UnicodeUTF8));
00100 GroupBox6->setTitle(QApplication::translate("Gui::Dialog::DlgSettingsUnits", "Units settings", 0, QApplication::UnicodeUTF8));
00101 label->setText(QApplication::translate("Gui::Dialog::DlgSettingsUnits", "User system:", 0, QApplication::UnicodeUTF8));
00102 comboBox_ViewSystem->clear();
00103 comboBox_ViewSystem->insertItems(0, QStringList()
00104 << QApplication::translate("Gui::Dialog::DlgSettingsUnits", "Standard (mm/kg/s/degree)", 0, QApplication::UnicodeUTF8)
00105 << QApplication::translate("Gui::Dialog::DlgSettingsUnits", "MKS (m/kg/s/degree)", 0, QApplication::UnicodeUTF8)
00106 << QApplication::translate("Gui::Dialog::DlgSettingsUnits", "Imperial (in/lb)", 0, QApplication::UnicodeUTF8)
00107 );
00108 QTableWidgetItem *___qtablewidgetitem = tableWidget->horizontalHeaderItem(0);
00109 ___qtablewidgetitem->setText(QApplication::translate("Gui::Dialog::DlgSettingsUnits", "Magnitude", 0, QApplication::UnicodeUTF8));
00110 QTableWidgetItem *___qtablewidgetitem1 = tableWidget->horizontalHeaderItem(1);
00111 ___qtablewidgetitem1->setText(QApplication::translate("Gui::Dialog::DlgSettingsUnits", "Unit", 0, QApplication::UnicodeUTF8));
00112 Q_UNUSED(Gui__Dialog__DlgSettingsUnits);
00113 }
00114
00115 };
00116
00117 }
00118 }
00119
00120 namespace Gui {
00121 namespace Dialog {
00122 namespace Ui {
00123 class DlgSettingsUnits: public Ui_DlgSettingsUnits {};
00124 }
00125 }
00126 }
00127
00128 #endif // UI_DLGSETTINGSUNITS_H