Subversion Repositories OpenCV2-Cookbook

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 PointedEar 1
/********************************************************************************
2
** Form generated from reading UI file 'mainwindow.ui'
3
**
4
** Created: Tue Sep 21 18:32:00 2010
5
**      by: Qt User Interface Compiler version 4.6.3
6
**
7
** WARNING! All changes made in this file will be lost when recompiling UI file!
8
********************************************************************************/
9
 
10
#ifndef UI_MAINWINDOW_H
11
#define UI_MAINWINDOW_H
12
 
13
#include <QtCore/QVariant>
14
#include <QtGui/QAction>
15
#include <QtGui/QApplication>
16
#include <QtGui/QButtonGroup>
17
#include <QtGui/QHeaderView>
18
#include <QtGui/QLabel>
19
#include <QtGui/QMainWindow>
20
#include <QtGui/QMenu>
21
#include <QtGui/QMenuBar>
22
#include <QtGui/QPushButton>
23
#include <QtGui/QSlider>
24
#include <QtGui/QStatusBar>
25
#include <QtGui/QWidget>
26
 
27
QT_BEGIN_NAMESPACE
28
 
29
class Ui_MainWindow
30
{
31
public:
32
    QAction *actionOpen_Image;
33
    QAction *actionChoose_Color;
34
    QAction *actionProcess;
35
    QAction *actionQuit;
36
    QWidget *centralWidget;
37
    QPushButton *pushButton_openImage;
38
    QPushButton *pushButton_color;
39
    QPushButton *pushButton_process;
40
    QLabel *label;
41
    QSlider *verticalSlider_Threshold;
42
    QLabel *label_2;
43
    QMenuBar *menuBar;
44
    QMenu *menuFile;
45
    QStatusBar *statusBar;
46
 
47
    void setupUi(QMainWindow *MainWindow)
48
    {
49
        if (MainWindow->objectName().isEmpty())
50
            MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
51
        MainWindow->resize(600, 394);
52
        actionOpen_Image = new QAction(MainWindow);
53
        actionOpen_Image->setObjectName(QString::fromUtf8("actionOpen_Image"));
54
        actionChoose_Color = new QAction(MainWindow);
55
        actionChoose_Color->setObjectName(QString::fromUtf8("actionChoose_Color"));
56
        actionProcess = new QAction(MainWindow);
57
        actionProcess->setObjectName(QString::fromUtf8("actionProcess"));
58
        actionQuit = new QAction(MainWindow);
59
        actionQuit->setObjectName(QString::fromUtf8("actionQuit"));
60
        centralWidget = new QWidget(MainWindow);
61
        centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
62
        pushButton_openImage = new QPushButton(centralWidget);
63
        pushButton_openImage->setObjectName(QString::fromUtf8("pushButton_openImage"));
64
        pushButton_openImage->setGeometry(QRect(10, 10, 81, 23));
65
        pushButton_color = new QPushButton(centralWidget);
66
        pushButton_color->setObjectName(QString::fromUtf8("pushButton_color"));
67
        pushButton_color->setGeometry(QRect(10, 40, 81, 23));
68
        pushButton_process = new QPushButton(centralWidget);
69
        pushButton_process->setObjectName(QString::fromUtf8("pushButton_process"));
70
        pushButton_process->setGeometry(QRect(10, 320, 81, 23));
71
        label = new QLabel(centralWidget);
72
        label->setObjectName(QString::fromUtf8("label"));
73
        label->setGeometry(QRect(100, 10, 491, 331));
74
        label->setFrameShape(QFrame::Box);
75
        verticalSlider_Threshold = new QSlider(centralWidget);
76
        verticalSlider_Threshold->setObjectName(QString::fromUtf8("verticalSlider_Threshold"));
77
        verticalSlider_Threshold->setGeometry(QRect(40, 80, 20, 151));
78
        verticalSlider_Threshold->setMaximum(442);
79
        verticalSlider_Threshold->setOrientation(Qt::Vertical);
80
        label_2 = new QLabel(centralWidget);
81
        label_2->setObjectName(QString::fromUtf8("label_2"));
82
        label_2->setGeometry(QRect(10, 240, 81, 71));
83
        label_2->setWordWrap(true);
84
        MainWindow->setCentralWidget(centralWidget);
85
        menuBar = new QMenuBar(MainWindow);
86
        menuBar->setObjectName(QString::fromUtf8("menuBar"));
87
        menuBar->setGeometry(QRect(0, 0, 600, 23));
88
        menuFile = new QMenu(menuBar);
89
        menuFile->setObjectName(QString::fromUtf8("menuFile"));
90
        MainWindow->setMenuBar(menuBar);
91
        statusBar = new QStatusBar(MainWindow);
92
        statusBar->setObjectName(QString::fromUtf8("statusBar"));
93
        MainWindow->setStatusBar(statusBar);
94
 
95
        menuBar->addAction(menuFile->menuAction());
96
        menuFile->addAction(actionOpen_Image);
97
        menuFile->addAction(actionChoose_Color);
98
        menuFile->addAction(actionProcess);
99
        menuFile->addSeparator();
100
        menuFile->addAction(actionQuit);
101
 
102
        retranslateUi(MainWindow);
103
        QObject::connect(actionQuit, SIGNAL(triggered()), MainWindow, SLOT(close()));
104
 
105
        QMetaObject::connectSlotsByName(MainWindow);
106
    } // setupUi
107
 
108
    void retranslateUi(QMainWindow *MainWindow)
109
    {
110
        MainWindow->setWindowTitle(QApplication::translate("MainWindow", "Color Detector (CIE Lab)", 0, QApplication::UnicodeUTF8));
111
        actionOpen_Image->setText(QApplication::translate("MainWindow", "Open Image", 0, QApplication::UnicodeUTF8));
112
        actionChoose_Color->setText(QApplication::translate("MainWindow", "Choose Color", 0, QApplication::UnicodeUTF8));
113
        actionProcess->setText(QApplication::translate("MainWindow", "Process", 0, QApplication::UnicodeUTF8));
114
        actionQuit->setText(QApplication::translate("MainWindow", "Quit", 0, QApplication::UnicodeUTF8));
115
        pushButton_openImage->setText(QApplication::translate("MainWindow", "Open Image", 0, QApplication::UnicodeUTF8));
116
        pushButton_color->setText(QApplication::translate("MainWindow", "Select Color", 0, QApplication::UnicodeUTF8));
117
        pushButton_process->setText(QApplication::translate("MainWindow", "Process", 0, QApplication::UnicodeUTF8));
118
        label->setText(QApplication::translate("MainWindow", "Image", 0, QApplication::UnicodeUTF8));
119
        label_2->setText(QApplication::translate("MainWindow", "Color Distance Threshold: 0", 0, QApplication::UnicodeUTF8));
120
        menuFile->setTitle(QApplication::translate("MainWindow", "File", 0, QApplication::UnicodeUTF8));
121
    } // retranslateUi
122
 
123
};
124
 
125
namespace Ui {
126
    class MainWindow: public Ui_MainWindow {};
127
} // namespace Ui
128
 
129
QT_END_NAMESPACE
130
 
131
#endif // UI_MAINWINDOW_H