00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_WSTATISTICS_H
00011 #define UI_WSTATISTICS_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/QHBoxLayout>
00021 #include <QtGui/QHeaderView>
00022 #include <QtGui/QLabel>
00023 #include <QtGui/QLineEdit>
00024 #include <QtGui/QPushButton>
00025 #include <QtGui/QSpacerItem>
00026 #include <QtGui/QVBoxLayout>
00027 #include <QtGui/QWidget>
00028
00029 QT_BEGIN_NAMESPACE
00030
00031 class Ui_WStatistics
00032 {
00033 public:
00034 QWidget *layoutWidget;
00035 QVBoxLayout *vboxLayout;
00036 QGroupBox *groupBox1;
00037 QWidget *layoutWidget_2;
00038 QVBoxLayout *vboxLayout1;
00039 QComboBox *m_type;
00040 QGridLayout *gridLayout;
00041 QLineEdit *m_cy;
00042 QLineEdit *m_surf;
00043 QSpacerItem *spacerItem;
00044 QLabel *label_2;
00045 QLabel *label_2_5;
00046 QLabel *label_2_5_2_2;
00047 QSpacerItem *spacerItem1;
00048 QSpacerItem *spacerItem2;
00049 QLabel *label_2_4;
00050 QSpacerItem *spacerItem3;
00051 QLineEdit *m_lg;
00052 QLabel *label_2_5_2;
00053 QSpacerItem *spacerItem4;
00054 QLineEdit *m_cx;
00055 QLineEdit *m_ht;
00056 QHBoxLayout *hboxLayout;
00057 QLabel *TextLabel1_3_2_2_2;
00058 QLineEdit *m_nbHits;
00059 QLabel *label;
00060 QGroupBox *groupBox1_2;
00061 QWidget *layoutWidget_3;
00062 QGridLayout *gridLayout1;
00063 QLabel *label_3;
00064 QLabel *label_5;
00065 QLineEdit *m_nbTotHits;
00066 QLineEdit *m_totSurf;
00067 QLabel *TextLabel1_3_2_2_2_4;
00068 QLabel *label_2_5_2_2_2;
00069 QHBoxLayout *hboxLayout1;
00070 QPushButton *m_pbSave;
00071 QPushButton *m_pbRead;
00072
00073 void setupUi(QWidget *WStatistics)
00074 {
00075 if (WStatistics->objectName().isEmpty())
00076 WStatistics->setObjectName(QString::fromUtf8("WStatistics"));
00077 WStatistics->resize(256, 486);
00078 layoutWidget = new QWidget(WStatistics);
00079 layoutWidget->setObjectName(QString::fromUtf8("layoutWidget"));
00080 layoutWidget->setGeometry(QRect(20, 10, 222, 463));
00081 vboxLayout = new QVBoxLayout(layoutWidget);
00082 vboxLayout->setSpacing(20);
00083 vboxLayout->setContentsMargins(0, 0, 0, 0);
00084 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00085 vboxLayout->setContentsMargins(0, 0, 0, 0);
00086 groupBox1 = new QGroupBox(layoutWidget);
00087 groupBox1->setObjectName(QString::fromUtf8("groupBox1"));
00088 groupBox1->setMinimumSize(QSize(220, 270));
00089 layoutWidget_2 = new QWidget(groupBox1);
00090 layoutWidget_2->setObjectName(QString::fromUtf8("layoutWidget_2"));
00091 layoutWidget_2->setGeometry(QRect(10, 30, 201, 217));
00092 vboxLayout1 = new QVBoxLayout(layoutWidget_2);
00093 #ifndef Q_OS_MAC
00094 vboxLayout1->setSpacing(6);
00095 #endif
00096 vboxLayout1->setContentsMargins(0, 0, 0, 0);
00097 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
00098 vboxLayout1->setContentsMargins(0, 0, 0, 0);
00099 m_type = new QComboBox(layoutWidget_2);
00100 m_type->setObjectName(QString::fromUtf8("m_type"));
00101 m_type->setEnabled(false);
00102 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
00103 sizePolicy.setHorizontalStretch(0);
00104 sizePolicy.setVerticalStretch(0);
00105 sizePolicy.setHeightForWidth(m_type->sizePolicy().hasHeightForWidth());
00106 m_type->setSizePolicy(sizePolicy);
00107
00108 vboxLayout1->addWidget(m_type);
00109
00110 gridLayout = new QGridLayout();
00111 #ifndef Q_OS_MAC
00112 gridLayout->setSpacing(6);
00113 #endif
00114 gridLayout->setContentsMargins(0, 0, 0, 0);
00115 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00116 m_cy = new QLineEdit(layoutWidget_2);
00117 m_cy->setObjectName(QString::fromUtf8("m_cy"));
00118 m_cy->setMaximumSize(QSize(80, 16777215));
00119
00120 gridLayout->addWidget(m_cy, 1, 2, 1, 1);
00121
00122 m_surf = new QLineEdit(layoutWidget_2);
00123 m_surf->setObjectName(QString::fromUtf8("m_surf"));
00124 m_surf->setMaximumSize(QSize(80, 16777215));
00125
00126 gridLayout->addWidget(m_surf, 4, 2, 1, 1);
00127
00128 spacerItem = new QSpacerItem(18, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00129
00130 gridLayout->addItem(spacerItem, 1, 1, 1, 1);
00131
00132 label_2 = new QLabel(layoutWidget_2);
00133 label_2->setObjectName(QString::fromUtf8("label_2"));
00134
00135 gridLayout->addWidget(label_2, 0, 0, 1, 1);
00136
00137 label_2_5 = new QLabel(layoutWidget_2);
00138 label_2_5->setObjectName(QString::fromUtf8("label_2_5"));
00139
00140 gridLayout->addWidget(label_2_5, 2, 0, 1, 1);
00141
00142 label_2_5_2_2 = new QLabel(layoutWidget_2);
00143 label_2_5_2_2->setObjectName(QString::fromUtf8("label_2_5_2_2"));
00144
00145 gridLayout->addWidget(label_2_5_2_2, 4, 0, 1, 1);
00146
00147 spacerItem1 = new QSpacerItem(18, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00148
00149 gridLayout->addItem(spacerItem1, 0, 1, 1, 1);
00150
00151 spacerItem2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00152
00153 gridLayout->addItem(spacerItem2, 4, 1, 1, 1);
00154
00155 label_2_4 = new QLabel(layoutWidget_2);
00156 label_2_4->setObjectName(QString::fromUtf8("label_2_4"));
00157
00158 gridLayout->addWidget(label_2_4, 1, 0, 1, 1);
00159
00160 spacerItem3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00161
00162 gridLayout->addItem(spacerItem3, 3, 1, 1, 1);
00163
00164 m_lg = new QLineEdit(layoutWidget_2);
00165 m_lg->setObjectName(QString::fromUtf8("m_lg"));
00166 m_lg->setMaximumSize(QSize(80, 16777215));
00167
00168 gridLayout->addWidget(m_lg, 2, 2, 1, 1);
00169
00170 label_2_5_2 = new QLabel(layoutWidget_2);
00171 label_2_5_2->setObjectName(QString::fromUtf8("label_2_5_2"));
00172
00173 gridLayout->addWidget(label_2_5_2, 3, 0, 1, 1);
00174
00175 spacerItem4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00176
00177 gridLayout->addItem(spacerItem4, 2, 1, 1, 1);
00178
00179 m_cx = new QLineEdit(layoutWidget_2);
00180 m_cx->setObjectName(QString::fromUtf8("m_cx"));
00181 m_cx->setMaximumSize(QSize(80, 16777215));
00182
00183 gridLayout->addWidget(m_cx, 0, 2, 1, 1);
00184
00185 m_ht = new QLineEdit(layoutWidget_2);
00186 m_ht->setObjectName(QString::fromUtf8("m_ht"));
00187 m_ht->setMaximumSize(QSize(80, 16777215));
00188
00189 gridLayout->addWidget(m_ht, 3, 2, 1, 1);
00190
00191
00192 vboxLayout1->addLayout(gridLayout);
00193
00194 hboxLayout = new QHBoxLayout();
00195 #ifndef Q_OS_MAC
00196 hboxLayout->setSpacing(6);
00197 #endif
00198 hboxLayout->setContentsMargins(0, 0, 0, 0);
00199 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00200 TextLabel1_3_2_2_2 = new QLabel(layoutWidget_2);
00201 TextLabel1_3_2_2_2->setObjectName(QString::fromUtf8("TextLabel1_3_2_2_2"));
00202
00203 hboxLayout->addWidget(TextLabel1_3_2_2_2);
00204
00205 m_nbHits = new QLineEdit(layoutWidget_2);
00206 m_nbHits->setObjectName(QString::fromUtf8("m_nbHits"));
00207 m_nbHits->setMaximumSize(QSize(80, 16777215));
00208
00209 hboxLayout->addWidget(m_nbHits);
00210
00211 label = new QLabel(layoutWidget_2);
00212 label->setObjectName(QString::fromUtf8("label"));
00213
00214 hboxLayout->addWidget(label);
00215
00216
00217 vboxLayout1->addLayout(hboxLayout);
00218
00219
00220 vboxLayout->addWidget(groupBox1);
00221
00222 groupBox1_2 = new QGroupBox(layoutWidget);
00223 groupBox1_2->setObjectName(QString::fromUtf8("groupBox1_2"));
00224 groupBox1_2->setMinimumSize(QSize(0, 120));
00225 layoutWidget_3 = new QWidget(groupBox1_2);
00226 layoutWidget_3->setObjectName(QString::fromUtf8("layoutWidget_3"));
00227 layoutWidget_3->setGeometry(QRect(10, 40, 201, 58));
00228 gridLayout1 = new QGridLayout(layoutWidget_3);
00229 #ifndef Q_OS_MAC
00230 gridLayout1->setSpacing(6);
00231 #endif
00232 gridLayout1->setContentsMargins(0, 0, 0, 0);
00233 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00234 gridLayout1->setContentsMargins(0, 0, 0, 0);
00235 label_3 = new QLabel(layoutWidget_3);
00236 label_3->setObjectName(QString::fromUtf8("label_3"));
00237
00238 gridLayout1->addWidget(label_3, 0, 2, 1, 1);
00239
00240 label_5 = new QLabel(layoutWidget_3);
00241 label_5->setObjectName(QString::fromUtf8("label_5"));
00242
00243 gridLayout1->addWidget(label_5, 1, 2, 1, 1);
00244
00245 m_nbTotHits = new QLineEdit(layoutWidget_3);
00246 m_nbTotHits->setObjectName(QString::fromUtf8("m_nbTotHits"));
00247 m_nbTotHits->setMaximumSize(QSize(80, 16777215));
00248
00249 gridLayout1->addWidget(m_nbTotHits, 1, 1, 1, 1);
00250
00251 m_totSurf = new QLineEdit(layoutWidget_3);
00252 m_totSurf->setObjectName(QString::fromUtf8("m_totSurf"));
00253 m_totSurf->setMaximumSize(QSize(80, 16777215));
00254
00255 gridLayout1->addWidget(m_totSurf, 0, 1, 1, 1);
00256
00257 TextLabel1_3_2_2_2_4 = new QLabel(layoutWidget_3);
00258 TextLabel1_3_2_2_2_4->setObjectName(QString::fromUtf8("TextLabel1_3_2_2_2_4"));
00259
00260 gridLayout1->addWidget(TextLabel1_3_2_2_2_4, 1, 0, 1, 1);
00261
00262 label_2_5_2_2_2 = new QLabel(layoutWidget_3);
00263 label_2_5_2_2_2->setObjectName(QString::fromUtf8("label_2_5_2_2_2"));
00264
00265 gridLayout1->addWidget(label_2_5_2_2_2, 0, 0, 1, 1);
00266
00267
00268 vboxLayout->addWidget(groupBox1_2);
00269
00270 hboxLayout1 = new QHBoxLayout();
00271 #ifndef Q_OS_MAC
00272 hboxLayout1->setSpacing(6);
00273 #endif
00274 hboxLayout1->setContentsMargins(0, 0, 0, 0);
00275 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00276 m_pbSave = new QPushButton(layoutWidget);
00277 m_pbSave->setObjectName(QString::fromUtf8("m_pbSave"));
00278
00279 hboxLayout1->addWidget(m_pbSave);
00280
00281 m_pbRead = new QPushButton(layoutWidget);
00282 m_pbRead->setObjectName(QString::fromUtf8("m_pbRead"));
00283
00284 hboxLayout1->addWidget(m_pbRead);
00285
00286
00287 vboxLayout->addLayout(hboxLayout1);
00288
00289
00290 retranslateUi(WStatistics);
00291
00292 QMetaObject::connectSlotsByName(WStatistics);
00293 }
00294
00295 void retranslateUi(QWidget *WStatistics)
00296 {
00297 WStatistics->setWindowTitle(QApplication::translate("WStatistics", "Shape", 0, QApplication::UnicodeUTF8));
00298 groupBox1->setTitle(QApplication::translate("WStatistics", "Selected shape", 0, QApplication::UnicodeUTF8));
00299 m_type->clear();
00300 m_type->insertItems(0, QStringList()
00301 << QApplication::translate("WStatistics", "Rectangle", 0, QApplication::UnicodeUTF8)
00302 << QApplication::translate("WStatistics", "Square", 0, QApplication::UnicodeUTF8)
00303 << QApplication::translate("WStatistics", "Ellipse", 0, QApplication::UnicodeUTF8)
00304 << QApplication::translate("WStatistics", "Circle", 0, QApplication::UnicodeUTF8)
00305 << QApplication::translate("WStatistics", "Freehand drawing", 0, QApplication::UnicodeUTF8)
00306 );
00307 label_2->setText(QApplication::translate("WStatistics", "X (center)", 0, QApplication::UnicodeUTF8));
00308 label_2_5->setText(QApplication::translate("WStatistics", "Width", 0, QApplication::UnicodeUTF8));
00309 label_2_5_2_2->setText(QApplication::translate("WStatistics", "Surface", 0, QApplication::UnicodeUTF8));
00310 label_2_4->setText(QApplication::translate("WStatistics", "Y (center)", 0, QApplication::UnicodeUTF8));
00311 label_2_5_2->setText(QApplication::translate("WStatistics", "Height", 0, QApplication::UnicodeUTF8));
00312 TextLabel1_3_2_2_2->setText(QApplication::translate("WStatistics", "Counting", 0, QApplication::UnicodeUTF8));
00313 label->setText(QApplication::translate("WStatistics", "hits", 0, QApplication::UnicodeUTF8));
00314 groupBox1_2->setTitle(QApplication::translate("WStatistics", "Set of shapes", 0, QApplication::UnicodeUTF8));
00315 label_3->setText(QApplication::translate("WStatistics", "pixels", 0, QApplication::UnicodeUTF8));
00316 label_5->setText(QApplication::translate("WStatistics", "hits", 0, QApplication::UnicodeUTF8));
00317 TextLabel1_3_2_2_2_4->setText(QApplication::translate("WStatistics", "Counting ", 0, QApplication::UnicodeUTF8));
00318 label_2_5_2_2_2->setText(QApplication::translate("WStatistics", "Surface", 0, QApplication::UnicodeUTF8));
00319 m_pbSave->setText(QApplication::translate("WStatistics", "Save", 0, QApplication::UnicodeUTF8));
00320 m_pbRead->setText(QApplication::translate("WStatistics", "Read", 0, QApplication::UnicodeUTF8));
00321 }
00322
00323 };
00324
00325 namespace Ui {
00326 class WStatistics: public Ui_WStatistics {};
00327 }
00328
00329 QT_END_NAMESPACE
00330
00331 #endif // UI_WSTATISTICS_H