1,104 → 1,87 |
/*------------------------------------------------------------------------------------------*\ |
This file contains material supporting chapter 1 of the cookbook: |
Computer Vision Programming using the OpenCV Library. |
by Robert Laganiere, Packt Publishing, 2011. |
|
This program is free software; permission is hereby granted to use, copy, modify, |
and distribute this source code, or portions thereof, for any purpose, without fee, |
subject to the restriction that the copyright notice may not be removed |
or altered from any source or altered source distribution. |
The software is released on an as-is basis and without any warranties of any kind. |
In particular, the software is not guaranteed to be fault-tolerant or free from failure. |
The author disclaims all warranties with regard to this software, any use, |
and any consequent failure, is purely the responsibility of the user. |
|
Copyright (C) 2010-2011 Robert Laganiere, www.laganiere.name |
\*------------------------------------------------------------------------------------------*/ |
/******************************************************************************** |
** Form generated from reading UI file 'mainwindow.ui' |
** |
** Created: Wed Jun 30 08:35:07 2010 |
** by: Qt User Interface Compiler version 4.6.3 |
** |
** WARNING! All changes made in this file will be lost when recompiling UI file! |
********************************************************************************/ |
|
#ifndef UI_MAINWINDOW_H |
#define UI_MAINWINDOW_H |
|
#include <QtCore/QVariant> |
#include <QtGui/QAction> |
#include <QtGui/QApplication> |
#include <QtGui/QButtonGroup> |
#include <QtGui/QHeaderView> |
#include <QtGui/QLabel> |
#include <QtGui/QMainWindow> |
#include <QtGui/QMenuBar> |
#include <QtGui/QPushButton> |
#include <QtGui/QStatusBar> |
#include <QtGui/QToolBar> |
#include <QtGui/QWidget> |
|
QT_BEGIN_NAMESPACE |
|
class Ui_MainWindow |
{ |
public: |
QWidget *centralWidget; |
QPushButton *pushButton; |
QPushButton *pushButton_2; |
QLabel *label; |
QMenuBar *menuBar; |
QToolBar *mainToolBar; |
QStatusBar *statusBar; |
|
void setupUi(QMainWindow *MainWindow) |
{ |
if (MainWindow->objectName().isEmpty()) |
MainWindow->setObjectName(QString::fromUtf8("MainWindow")); |
MainWindow->resize(572, 326); |
centralWidget = new QWidget(MainWindow); |
centralWidget->setObjectName(QString::fromUtf8("centralWidget")); |
pushButton = new QPushButton(centralWidget); |
pushButton->setObjectName(QString::fromUtf8("pushButton")); |
pushButton->setGeometry(QRect(10, 10, 111, 51)); |
pushButton_2 = new QPushButton(centralWidget); |
pushButton_2->setObjectName(QString::fromUtf8("pushButton_2")); |
pushButton_2->setGeometry(QRect(10, 70, 111, 51)); |
label = new QLabel(centralWidget); |
label->setObjectName(QString::fromUtf8("label")); |
label->setGeometry(QRect(160, 10, 391, 261)); |
MainWindow->setCentralWidget(centralWidget); |
menuBar = new QMenuBar(MainWindow); |
menuBar->setObjectName(QString::fromUtf8("menuBar")); |
menuBar->setGeometry(QRect(0, 0, 572, 25)); |
MainWindow->setMenuBar(menuBar); |
mainToolBar = new QToolBar(MainWindow); |
mainToolBar->setObjectName(QString::fromUtf8("mainToolBar")); |
MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar); |
statusBar = new QStatusBar(MainWindow); |
statusBar->setObjectName(QString::fromUtf8("statusBar")); |
MainWindow->setStatusBar(statusBar); |
|
retranslateUi(MainWindow); |
|
QMetaObject::connectSlotsByName(MainWindow); |
} // setupUi |
|
void retranslateUi(QMainWindow *MainWindow) |
{ |
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0, QApplication::UnicodeUTF8)); |
pushButton->setText(QApplication::translate("MainWindow", "Open Image", 0, QApplication::UnicodeUTF8)); |
pushButton_2->setText(QApplication::translate("MainWindow", "Process", 0, QApplication::UnicodeUTF8)); |
label->setText(QApplication::translate("MainWindow", "Image", 0, QApplication::UnicodeUTF8)); |
} // retranslateUi |
|
}; |
|
namespace Ui { |
class MainWindow: public Ui_MainWindow {}; |
} // namespace Ui |
|
QT_END_NAMESPACE |
|
#endif // UI_MAINWINDOW_H |
/******************************************************************************** |
** Form generated from reading UI file 'mainwindow.ui' |
** |
** Created by: Qt User Interface Compiler version 4.8.6 |
** |
** WARNING! All changes made in this file will be lost when recompiling UI file! |
********************************************************************************/ |
|
#ifndef UI_MAINWINDOW_H |
#define UI_MAINWINDOW_H |
|
#include <QtCore/QVariant> |
#include <QtGui/QAction> |
#include <QtGui/QApplication> |
#include <QtGui/QButtonGroup> |
#include <QtGui/QHeaderView> |
#include <QtGui/QLabel> |
#include <QtGui/QMainWindow> |
#include <QtGui/QMenuBar> |
#include <QtGui/QPushButton> |
#include <QtGui/QStatusBar> |
#include <QtGui/QToolBar> |
#include <QtGui/QWidget> |
|
QT_BEGIN_NAMESPACE |
|
class Ui_MainWindow |
{ |
public: |
QWidget *centralWidget; |
QPushButton *pushButton; |
QPushButton *pushButton_2; |
QLabel *label; |
QMenuBar *menuBar; |
QToolBar *mainToolBar; |
QStatusBar *statusBar; |
|
void setupUi(QMainWindow *MainWindow) |
{ |
if (MainWindow->objectName().isEmpty()) |
MainWindow->setObjectName(QString::fromUtf8("MainWindow")); |
MainWindow->resize(572, 326); |
centralWidget = new QWidget(MainWindow); |
centralWidget->setObjectName(QString::fromUtf8("centralWidget")); |
pushButton = new QPushButton(centralWidget); |
pushButton->setObjectName(QString::fromUtf8("pushButton")); |
pushButton->setGeometry(QRect(10, 10, 111, 51)); |
pushButton_2 = new QPushButton(centralWidget); |
pushButton_2->setObjectName(QString::fromUtf8("pushButton_2")); |
pushButton_2->setGeometry(QRect(10, 70, 111, 51)); |
label = new QLabel(centralWidget); |
label->setObjectName(QString::fromUtf8("label")); |
label->setGeometry(QRect(160, 10, 391, 261)); |
MainWindow->setCentralWidget(centralWidget); |
menuBar = new QMenuBar(MainWindow); |
menuBar->setObjectName(QString::fromUtf8("menuBar")); |
menuBar->setGeometry(QRect(0, 0, 572, 25)); |
MainWindow->setMenuBar(menuBar); |
mainToolBar = new QToolBar(MainWindow); |
mainToolBar->setObjectName(QString::fromUtf8("mainToolBar")); |
MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar); |
statusBar = new QStatusBar(MainWindow); |
statusBar->setObjectName(QString::fromUtf8("statusBar")); |
MainWindow->setStatusBar(statusBar); |
|
retranslateUi(MainWindow); |
|
QMetaObject::connectSlotsByName(MainWindow); |
} // setupUi |
|
void retranslateUi(QMainWindow *MainWindow) |
{ |
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0, QApplication::UnicodeUTF8)); |
pushButton->setText(QApplication::translate("MainWindow", "Open Image", 0, QApplication::UnicodeUTF8)); |
pushButton_2->setText(QApplication::translate("MainWindow", "Process", 0, QApplication::UnicodeUTF8)); |
label->setText(QApplication::translate("MainWindow", "Image", 0, QApplication::UnicodeUTF8)); |
} // retranslateUi |
|
}; |
|
namespace Ui { |
class MainWindow: public Ui_MainWindow {}; |
} // namespace Ui |
|
QT_END_NAMESPACE |
|
#endif // UI_MAINWINDOW_H |