Subversion Repositories OpenCV2-Cookbook

Rev

Rev 3 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3 Rev 5
1
/*------------------------------------------------------------------------------------------*\
-
 
2
   This file contains material supporting chapter 1 of the cookbook:  
-
 
3
   Computer Vision Programming using the OpenCV Library.
-
 
4
   by Robert Laganiere, Packt Publishing, 2011.
-
 
5

-
 
6
   This program is free software; permission is hereby granted to use, copy, modify,
-
 
7
   and distribute this source code, or portions thereof, for any purpose, without fee,
-
 
8
   subject to the restriction that the copyright notice may not be removed
-
 
9
   or altered from any source or altered source distribution.
-
 
10
   The software is released on an as-is basis and without any warranties of any kind.
-
 
11
   In particular, the software is not guaranteed to be fault-tolerant or free from failure.
-
 
12
   The author disclaims all warranties with regard to this software, any use,
-
 
13
   and any consequent failure, is purely the responsibility of the user.
-
 
14
 
-
 
15
   Copyright (C) 2010-2011 Robert Laganiere, www.laganiere.name
-
 
16
\*------------------------------------------------------------------------------------------*/
-
 
17
/********************************************************************************
1
/********************************************************************************
18
** Form generated from reading UI file 'mainwindow.ui'
2
** Form generated from reading UI file 'mainwindow.ui'
19
**
3
**
20
** Created: Wed Jun 30 08:35:07 2010
-
 
21
**      by: Qt User Interface Compiler version 4.6.3
4
** Created by: Qt User Interface Compiler version 4.8.6
22
**
5
**
23
** WARNING! All changes made in this file will be lost when recompiling UI file!
6
** WARNING! All changes made in this file will be lost when recompiling UI file!
24
********************************************************************************/
7
********************************************************************************/
25
8
26
#ifndef UI_MAINWINDOW_H
9
#ifndef UI_MAINWINDOW_H
27
#define UI_MAINWINDOW_H
10
#define UI_MAINWINDOW_H
28
11
29
#include <QtCore/QVariant>
12
#include <QtCore/QVariant>
30
#include <QtGui/QAction>
13
#include <QtGui/QAction>
31
#include <QtGui/QApplication>
14
#include <QtGui/QApplication>
32
#include <QtGui/QButtonGroup>
15
#include <QtGui/QButtonGroup>
33
#include <QtGui/QHeaderView>
16
#include <QtGui/QHeaderView>
34
#include <QtGui/QLabel>
17
#include <QtGui/QLabel>
35
#include <QtGui/QMainWindow>
18
#include <QtGui/QMainWindow>
36
#include <QtGui/QMenuBar>
19
#include <QtGui/QMenuBar>
37
#include <QtGui/QPushButton>
20
#include <QtGui/QPushButton>
38
#include <QtGui/QStatusBar>
21
#include <QtGui/QStatusBar>
39
#include <QtGui/QToolBar>
22
#include <QtGui/QToolBar>
40
#include <QtGui/QWidget>
23
#include <QtGui/QWidget>
41
24
42
QT_BEGIN_NAMESPACE
25
QT_BEGIN_NAMESPACE
43
26
44
class Ui_MainWindow
27
class Ui_MainWindow
45
{
28
{
46
public:
29
public:
47
    QWidget *centralWidget;
30
    QWidget *centralWidget;
48
    QPushButton *pushButton;
31
    QPushButton *pushButton;
49
    QPushButton *pushButton_2;
32
    QPushButton *pushButton_2;
50
    QLabel *label;
33
    QLabel *label;
51
    QMenuBar *menuBar;
34
    QMenuBar *menuBar;
52
    QToolBar *mainToolBar;
35
    QToolBar *mainToolBar;
53
    QStatusBar *statusBar;
36
    QStatusBar *statusBar;
54
37
55
    void setupUi(QMainWindow *MainWindow)
38
    void setupUi(QMainWindow *MainWindow)
56
    {
39
    {
57
        if (MainWindow->objectName().isEmpty())
40
        if (MainWindow->objectName().isEmpty())
58
            MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
41
            MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
59
        MainWindow->resize(572, 326);
42
        MainWindow->resize(572, 326);
60
        centralWidget = new QWidget(MainWindow);
43
        centralWidget = new QWidget(MainWindow);
61
        centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
44
        centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
62
        pushButton = new QPushButton(centralWidget);
45
        pushButton = new QPushButton(centralWidget);
63
        pushButton->setObjectName(QString::fromUtf8("pushButton"));
46
        pushButton->setObjectName(QString::fromUtf8("pushButton"));
64
        pushButton->setGeometry(QRect(10, 10, 111, 51));
47
        pushButton->setGeometry(QRect(10, 10, 111, 51));
65
        pushButton_2 = new QPushButton(centralWidget);
48
        pushButton_2 = new QPushButton(centralWidget);
66
        pushButton_2->setObjectName(QString::fromUtf8("pushButton_2"));
49
        pushButton_2->setObjectName(QString::fromUtf8("pushButton_2"));
67
        pushButton_2->setGeometry(QRect(10, 70, 111, 51));
50
        pushButton_2->setGeometry(QRect(10, 70, 111, 51));
68
        label = new QLabel(centralWidget);
51
        label = new QLabel(centralWidget);
69
        label->setObjectName(QString::fromUtf8("label"));
52
        label->setObjectName(QString::fromUtf8("label"));
70
        label->setGeometry(QRect(160, 10, 391, 261));
53
        label->setGeometry(QRect(160, 10, 391, 261));
71
        MainWindow->setCentralWidget(centralWidget);
54
        MainWindow->setCentralWidget(centralWidget);
72
        menuBar = new QMenuBar(MainWindow);
55
        menuBar = new QMenuBar(MainWindow);
73
        menuBar->setObjectName(QString::fromUtf8("menuBar"));
56
        menuBar->setObjectName(QString::fromUtf8("menuBar"));
74
        menuBar->setGeometry(QRect(0, 0, 572, 25));
57
        menuBar->setGeometry(QRect(0, 0, 572, 25));
75
        MainWindow->setMenuBar(menuBar);
58
        MainWindow->setMenuBar(menuBar);
76
        mainToolBar = new QToolBar(MainWindow);
59
        mainToolBar = new QToolBar(MainWindow);
77
        mainToolBar->setObjectName(QString::fromUtf8("mainToolBar"));
60
        mainToolBar->setObjectName(QString::fromUtf8("mainToolBar"));
78
        MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar);
61
        MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar);
79
        statusBar = new QStatusBar(MainWindow);
62
        statusBar = new QStatusBar(MainWindow);
80
        statusBar->setObjectName(QString::fromUtf8("statusBar"));
63
        statusBar->setObjectName(QString::fromUtf8("statusBar"));
81
        MainWindow->setStatusBar(statusBar);
64
        MainWindow->setStatusBar(statusBar);
82
65
83
        retranslateUi(MainWindow);
66
        retranslateUi(MainWindow);
84
67
85
        QMetaObject::connectSlotsByName(MainWindow);
68
        QMetaObject::connectSlotsByName(MainWindow);
86
    } // setupUi
69
    } // setupUi
87
70
88
    void retranslateUi(QMainWindow *MainWindow)
71
    void retranslateUi(QMainWindow *MainWindow)
89
    {
72
    {
90
        MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0, QApplication::UnicodeUTF8));
73
        MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0, QApplication::UnicodeUTF8));
91
        pushButton->setText(QApplication::translate("MainWindow", "Open Image", 0, QApplication::UnicodeUTF8));
74
        pushButton->setText(QApplication::translate("MainWindow", "Open Image", 0, QApplication::UnicodeUTF8));
92
        pushButton_2->setText(QApplication::translate("MainWindow", "Process", 0, QApplication::UnicodeUTF8));
75
        pushButton_2->setText(QApplication::translate("MainWindow", "Process", 0, QApplication::UnicodeUTF8));
93
        label->setText(QApplication::translate("MainWindow", "Image", 0, QApplication::UnicodeUTF8));
76
        label->setText(QApplication::translate("MainWindow", "Image", 0, QApplication::UnicodeUTF8));
94
    } // retranslateUi
77
    } // retranslateUi
95
78
96
};
79
};
97
80
98
namespace Ui {
81
namespace Ui {
99
    class MainWindow: public Ui_MainWindow {};
82
    class MainWindow: public Ui_MainWindow {};
100
} // namespace Ui
83
} // namespace Ui
101
84
102
QT_END_NAMESPACE
85
QT_END_NAMESPACE
103
86
104
#endif // UI_MAINWINDOW_H
87
#endif // UI_MAINWINDOW_H
105
 
88