Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ZYunfeii authored Nov 8, 2020
1 parent e9c3d22 commit a113dc3
Show file tree
Hide file tree
Showing 83 changed files with 111,613 additions and 0 deletions.
39 changes: 39 additions & 0 deletions Layout.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#-------------------------------------------------
#
# Project created by QtCreator 2020-10-16T19:49:12
#
#-------------------------------------------------

QT += core gui\
sql

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = Layout
TEMPLATE = app


SOURCES += main.cpp\
mainwindow.cpp \
userwindow.cpp \
editwindow.cpp \
diarylog.cpp

HEADERS += mainwindow.h \
userwindow.h \
editwindow.h \
diarylog.h

FORMS += mainwindow.ui \
userwindow.ui \
editwindow.ui \
diarylog.ui

CONFIG += C++11

RESOURCES += \
res.qrc

DISTFILES += \
images/IMG_2.jpg

259 changes: 259 additions & 0 deletions Layout.pro.user

Large diffs are not rendered by default.

259 changes: 259 additions & 0 deletions Layout.pro.user.5ae11b2

Large diffs are not rendered by default.

360 changes: 360 additions & 0 deletions Makefile

Large diffs are not rendered by default.

1,435 changes: 1,435 additions & 0 deletions Makefile.Debug

Large diffs are not rendered by default.

1,435 changes: 1,435 additions & 0 deletions Makefile.Release

Large diffs are not rendered by default.

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

#include "../diarylog.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'diarylog.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.5.0. 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_DiaryLog_t {
QByteArrayData data[3];
char stringdata0[23];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_DiaryLog_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_DiaryLog_t qt_meta_stringdata_DiaryLog = {
{
QT_MOC_LITERAL(0, 0, 8), // "DiaryLog"
QT_MOC_LITERAL(1, 9, 12), // "deleteSignal"
QT_MOC_LITERAL(2, 22, 0) // ""

},
"DiaryLog\0deleteSignal\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DiaryLog[] = {

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

// signals: name, argc, parameters, tag, flags
1, 0, 19, 2, 0x06 /* Public */,

// signals: parameters
QMetaType::Void,

0 // eod
};

void DiaryLog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
DiaryLog *_t = static_cast<DiaryLog *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->deleteSignal(); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
void **func = reinterpret_cast<void **>(_a[1]);
{
typedef void (DiaryLog::*_t)();
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DiaryLog::deleteSignal)) {
*result = 0;
}
}
}
Q_UNUSED(_a);
}

const QMetaObject DiaryLog::staticMetaObject = {
{ &QWidget::staticMetaObject, qt_meta_stringdata_DiaryLog.data,
qt_meta_data_DiaryLog, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int DiaryLog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QWidget::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 1)
qt_static_metacall(this, _c, _id, _a);
_id -= 1;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 1)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 1;
}
return _id;
}

// SIGNAL 0
void DiaryLog::deleteSignal()
{
QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
Binary file added debug/moc_diarylog.o
Binary file not shown.
126 changes: 126 additions & 0 deletions debug/moc_editwindow.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
/****************************************************************************
** Meta object code from reading C++ file 'editwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../editwindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'editwindow.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.5.0. 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_EditWindow_t {
QByteArrayData data[3];
char stringdata0[23];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_EditWindow_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_EditWindow_t qt_meta_stringdata_EditWindow = {
{
QT_MOC_LITERAL(0, 0, 10), // "EditWindow"
QT_MOC_LITERAL(1, 11, 10), // "saveSignal"
QT_MOC_LITERAL(2, 22, 0) // ""

},
"EditWindow\0saveSignal\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_EditWindow[] = {

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

// signals: name, argc, parameters, tag, flags
1, 0, 19, 2, 0x06 /* Public */,

// signals: parameters
QMetaType::Void,

0 // eod
};

void EditWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
EditWindow *_t = static_cast<EditWindow *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->saveSignal(); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
void **func = reinterpret_cast<void **>(_a[1]);
{
typedef void (EditWindow::*_t)();
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&EditWindow::saveSignal)) {
*result = 0;
}
}
}
Q_UNUSED(_a);
}

const QMetaObject EditWindow::staticMetaObject = {
{ &QMainWindow::staticMetaObject, qt_meta_stringdata_EditWindow.data,
qt_meta_data_EditWindow, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int EditWindow::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 < 1)
qt_static_metacall(this, _c, _id, _a);
_id -= 1;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 1)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 1;
}
return _id;
}

// SIGNAL 0
void EditWindow::saveSignal()
{
QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
Binary file added debug/moc_editwindow.o
Binary file not shown.
89 changes: 89 additions & 0 deletions debug/moc_mainwindow.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
/****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.0)
**
** 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.0. 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[1];
char stringdata0[11];
};
#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"

},
"MainWindow"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MainWindow[] = {

// 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 MainWindow::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 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;
return _id;
}
QT_END_MOC_NAMESPACE
Binary file added debug/moc_mainwindow.o
Binary file not shown.
Loading

0 comments on commit a113dc3

Please sign in to comment.