Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions CVInterface.pro
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,31 @@ SOURCES += main.cpp\
targetlistwindow.cpp \
targetlist.cpp \
targetlistitem.cpp \
targetmaker.cpp
targetmaker.cpp \
targetwindow.cpp

HEADERS += mainwindow.h \
imagewidget.h \
itemmaker.h \
targetlistwindow.h \
targetlist.h \
targetlistitem.h \
targetmaker.h
targetmaker.h \
targetwindow.h

FORMS += mainwindow.ui \
imagewidget.ui \
itemmaker.ui \
targetlistwindow.ui \
targetmaker.ui
targetmaker.ui \
targetwindow.ui

DISTFILES += \
clasic.png \
delete85.png \
down.png \
round75.png \
up.png

RESOURCES += \
resouces.qrc
208 changes: 12 additions & 196 deletions CVInterface.pro.user

Large diffs are not rendered by default.

446 changes: 446 additions & 0 deletions CVInterface.pro.user.70bc983

Large diffs are not rendered by default.

257 changes: 257 additions & 0 deletions CVInterface.pro.user.a429959

Large diffs are not rendered by default.

364 changes: 364 additions & 0 deletions Makefile

Large diffs are not rendered by default.

2,497 changes: 2,497 additions & 0 deletions Makefile.Debug

Large diffs are not rendered by default.

2,497 changes: 2,497 additions & 0 deletions Makefile.Release

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
# cv16-interface

set of test images:
https://www.mediafire.com/?7eeszih6sn1ts1c
Binary file added Thumbs.db
Binary file not shown.
Binary file added debug/CVInterface.exe
Binary file not shown.
364 changes: 364 additions & 0 deletions debug/Makefile

Large diffs are not rendered by default.

2,497 changes: 2,497 additions & 0 deletions debug/Makefile.Debug

Large diffs are not rendered by default.

2,497 changes: 2,497 additions & 0 deletions debug/Makefile.Release

Large diffs are not rendered by default.

Binary file added debug/debug/imagewidget.o
Binary file not shown.
Binary file added debug/debug/itemmaker.o
Binary file not shown.
Binary file added debug/debug/main.o
Binary file not shown.
Binary file added debug/debug/mainwindow.o
Binary file not shown.
89 changes: 89 additions & 0 deletions debug/debug/moc_imagewidget.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
/****************************************************************************
** Meta object code from reading C++ file 'imagewidget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../imagewidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'imagewidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.5.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
struct qt_meta_stringdata_ImageWidget_t {
QByteArrayData data[1];
char stringdata0[12];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_ImageWidget_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_ImageWidget_t qt_meta_stringdata_ImageWidget = {
{
QT_MOC_LITERAL(0, 0, 11) // "ImageWidget"

},
"ImageWidget"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ImageWidget[] = {

// content:
7, // revision
0, // classname
0, 0, // classinfo
0, 0, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount

0 // eod
};

void ImageWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
Q_UNUSED(_o);
Q_UNUSED(_id);
Q_UNUSED(_c);
Q_UNUSED(_a);
}

const QMetaObject ImageWidget::staticMetaObject = {
{ &QWidget::staticMetaObject, qt_meta_stringdata_ImageWidget.data,
qt_meta_data_ImageWidget, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


const QMetaObject *ImageWidget::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *ImageWidget::qt_metacast(const char *_clname)
{
if (!_clname) return Q_NULLPTR;
if (!strcmp(_clname, qt_meta_stringdata_ImageWidget.stringdata0))
return static_cast<void*>(const_cast< ImageWidget*>(this));
return QWidget::qt_metacast(_clname);
}

int ImageWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QWidget::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
return _id;
}
QT_END_MOC_NAMESPACE
Binary file added debug/debug/moc_imagewidget.o
Binary file not shown.
116 changes: 116 additions & 0 deletions debug/debug/moc_itemmaker.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
/****************************************************************************
** Meta object code from reading C++ file 'itemmaker.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../itemmaker.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'itemmaker.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.5.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
struct qt_meta_stringdata_ItemMaker_t {
QByteArrayData data[4];
char stringdata0[57];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_ItemMaker_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_ItemMaker_t qt_meta_stringdata_ItemMaker = {
{
QT_MOC_LITERAL(0, 0, 9), // "ItemMaker"
QT_MOC_LITERAL(1, 10, 23), // "on_browseButton_clicked"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 21) // "on_buttonBox_accepted"

},
"ItemMaker\0on_browseButton_clicked\0\0"
"on_buttonBox_accepted"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ItemMaker[] = {

// content:
7, // revision
0, // classname
0, 0, // classinfo
2, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount

// slots: name, argc, parameters, tag, flags
1, 0, 24, 2, 0x08 /* Private */,
3, 0, 25, 2, 0x08 /* Private */,

// slots: parameters
QMetaType::Void,
QMetaType::Void,

0 // eod
};

void ItemMaker::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
ItemMaker *_t = static_cast<ItemMaker *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->on_browseButton_clicked(); break;
case 1: _t->on_buttonBox_accepted(); break;
default: ;
}
}
Q_UNUSED(_a);
}

const QMetaObject ItemMaker::staticMetaObject = {
{ &QDialog::staticMetaObject, qt_meta_stringdata_ItemMaker.data,
qt_meta_data_ItemMaker, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


const QMetaObject *ItemMaker::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *ItemMaker::qt_metacast(const char *_clname)
{
if (!_clname) return Q_NULLPTR;
if (!strcmp(_clname, qt_meta_stringdata_ItemMaker.stringdata0))
return static_cast<void*>(const_cast< ItemMaker*>(this));
return QDialog::qt_metacast(_clname);
}

int ItemMaker::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QDialog::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 2)
qt_static_metacall(this, _c, _id, _a);
_id -= 2;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 2)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 2;
}
return _id;
}
QT_END_MOC_NAMESPACE
Binary file added debug/debug/moc_itemmaker.o
Binary file not shown.
130 changes: 130 additions & 0 deletions debug/debug/moc_mainwindow.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
/****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../mainwindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mainwindow.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.5.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
struct qt_meta_stringdata_MainWindow_t {
QByteArrayData data[7];
char stringdata0[133];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
{
QT_MOC_LITERAL(0, 0, 10), // "MainWindow"
QT_MOC_LITERAL(1, 11, 21), // "on_loadButton_clicked"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 24), // "on_addItemButton_clicked"
QT_MOC_LITERAL(4, 59, 21), // "on_editButton_clicked"
QT_MOC_LITERAL(5, 81, 27), // "on_deleteItemButton_clicked"
QT_MOC_LITERAL(6, 109, 23) // "on_MainWindow_destroyed"

},
"MainWindow\0on_loadButton_clicked\0\0"
"on_addItemButton_clicked\0on_editButton_clicked\0"
"on_deleteItemButton_clicked\0"
"on_MainWindow_destroyed"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MainWindow[] = {

// content:
7, // revision
0, // classname
0, 0, // classinfo
5, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount

// slots: name, argc, parameters, tag, flags
1, 0, 39, 2, 0x08 /* Private */,
3, 0, 40, 2, 0x08 /* Private */,
4, 0, 41, 2, 0x08 /* Private */,
5, 0, 42, 2, 0x08 /* Private */,
6, 0, 43, 2, 0x08 /* Private */,

// slots: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,

0 // eod
};

void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
MainWindow *_t = static_cast<MainWindow *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->on_loadButton_clicked(); break;
case 1: _t->on_addItemButton_clicked(); break;
case 2: _t->on_editButton_clicked(); break;
case 3: _t->on_deleteItemButton_clicked(); break;
case 4: _t->on_MainWindow_destroyed(); break;
default: ;
}
}
Q_UNUSED(_a);
}

const QMetaObject MainWindow::staticMetaObject = {
{ &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow.data,
qt_meta_data_MainWindow, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


const QMetaObject *MainWindow::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *MainWindow::qt_metacast(const char *_clname)
{
if (!_clname) return Q_NULLPTR;
if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
return static_cast<void*>(const_cast< MainWindow*>(this));
return QMainWindow::qt_metacast(_clname);
}

int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QMainWindow::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 5)
qt_static_metacall(this, _c, _id, _a);
_id -= 5;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 5)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 5;
}
return _id;
}
QT_END_MOC_NAMESPACE
Binary file added debug/debug/moc_mainwindow.o
Binary file not shown.
Loading