Compare commits

...

2 Commits

Author SHA1 Message Date
leca 7d03707db6 update gitignore 2024-08-19 02:49:20 +03:00
leca 8d0079237e test 2024-08-19 02:48:41 +03:00
6 changed files with 40 additions and 0 deletions

2
.gitignore vendored
View File

@ -72,3 +72,5 @@ CMakeLists.txt.user*
*.dll *.dll
*.exe *.exe
#Build
build

View File

@ -38,6 +38,7 @@ else()
else() else()
add_executable(checks-parser add_executable(checks-parser
${PROJECT_SOURCES} ${PROJECT_SOURCES}
<<<<<<< HEAD
<<<<<<< HEAD <<<<<<< HEAD
goods/goods.h goods/goods.cpp goods/goods.h goods/goods.cpp
check/check.h check/check.cpp check/check.h check/check.cpp
@ -45,6 +46,8 @@ else()
parser/module.h parser/module.cpp parser/module.h parser/module.cpp
settings.h settings.h
======= =======
>>>>>>> f886b4b (Initial commit)
=======
>>>>>>> f886b4b (Initial commit) >>>>>>> f886b4b (Initial commit)
) )
endif() endif()

View File

@ -2,11 +2,16 @@
#include <QApplication> #include <QApplication>
<<<<<<< HEAD
<<<<<<< HEAD <<<<<<< HEAD
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
======= =======
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
>>>>>>> f886b4b (Initial commit)
=======
int main(int argc, char *argv[])
{
>>>>>>> f886b4b (Initial commit) >>>>>>> f886b4b (Initial commit)
QApplication a(argc, argv); QApplication a(argc, argv);
MainWindow w; MainWindow w;

View File

@ -1,6 +1,7 @@
#include "mainwindow.h" #include "mainwindow.h"
#include "./ui_mainwindow.h" #include "./ui_mainwindow.h"
<<<<<<< HEAD <<<<<<< HEAD
<<<<<<< HEAD
#include "goods/goods.h" #include "goods/goods.h"
#include "check/check.h" #include "check/check.h"
@ -37,6 +38,8 @@ void MainWindow::on_checkType_currentIndexChanged(int index) {
void MainWindow::on_parseButton_clicked() { void MainWindow::on_parseButton_clicked() {
std::cout << ui->checkContent->toPlainText().toStdString() << std::endl; std::cout << ui->checkContent->toPlainText().toStdString() << std::endl;
======= =======
=======
>>>>>>> f886b4b (Initial commit)
MainWindow::MainWindow(QWidget *parent) MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent) : QMainWindow(parent)
@ -48,5 +51,8 @@ MainWindow::MainWindow(QWidget *parent)
MainWindow::~MainWindow() MainWindow::~MainWindow()
{ {
delete ui; delete ui;
<<<<<<< HEAD
>>>>>>> f886b4b (Initial commit)
=======
>>>>>>> f886b4b (Initial commit) >>>>>>> f886b4b (Initial commit)
} }

View File

@ -3,10 +3,13 @@
#include <QMainWindow> #include <QMainWindow>
<<<<<<< HEAD
<<<<<<< HEAD <<<<<<< HEAD
#include "check/check.h" #include "check/check.h"
#include "parser/parser.h" #include "parser/parser.h"
=======
>>>>>>> f886b4b (Initial commit)
======= =======
>>>>>>> f886b4b (Initial commit) >>>>>>> f886b4b (Initial commit)
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
@ -15,6 +18,7 @@ class MainWindow;
} }
QT_END_NAMESPACE QT_END_NAMESPACE
<<<<<<< HEAD
<<<<<<< HEAD <<<<<<< HEAD
class MainWindow : public QMainWindow { class MainWindow : public QMainWindow {
Q_OBJECT Q_OBJECT
@ -33,6 +37,8 @@ private slots:
void on_parseButton_clicked(); void on_parseButton_clicked();
======= =======
=======
>>>>>>> f886b4b (Initial commit)
class MainWindow : public QMainWindow class MainWindow : public QMainWindow
{ {
Q_OBJECT Q_OBJECT
@ -40,6 +46,9 @@ class MainWindow : public QMainWindow
public: public:
MainWindow(QWidget *parent = nullptr); MainWindow(QWidget *parent = nullptr);
~MainWindow(); ~MainWindow();
<<<<<<< HEAD
>>>>>>> f886b4b (Initial commit)
=======
>>>>>>> f886b4b (Initial commit) >>>>>>> f886b4b (Initial commit)
private: private:

View File

@ -6,9 +6,14 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<<<<<<< HEAD
<<<<<<< HEAD <<<<<<< HEAD
<width>827</width> <width>827</width>
<height>680</height> <height>680</height>
=======
<width>800</width>
<height>600</height>
>>>>>>> f886b4b (Initial commit)
======= =======
<width>800</width> <width>800</width>
<height>600</height> <height>600</height>
@ -18,6 +23,7 @@
<property name="windowTitle"> <property name="windowTitle">
<string>MainWindow</string> <string>MainWindow</string>
</property> </property>
<<<<<<< HEAD
<<<<<<< HEAD <<<<<<< HEAD
<widget class="QWidget" name="centralwidget"> <widget class="QWidget" name="centralwidget">
<widget class="QComboBox" name="storeType"> <widget class="QComboBox" name="storeType">
@ -141,6 +147,9 @@
</item> </item>
</widget> </widget>
</widget> </widget>
=======
<widget class="QWidget" name="centralwidget"/>
>>>>>>> f886b4b (Initial commit)
======= =======
<widget class="QWidget" name="centralwidget"/> <widget class="QWidget" name="centralwidget"/>
>>>>>>> f886b4b (Initial commit) >>>>>>> f886b4b (Initial commit)
@ -149,6 +158,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<<<<<<< HEAD
<<<<<<< HEAD <<<<<<< HEAD
<width>827</width> <width>827</width>
<height>23</height> <height>23</height>
@ -161,10 +171,15 @@
</widget> </widget>
<addaction name="menuchecks_parser"/> <addaction name="menuchecks_parser"/>
======= =======
=======
>>>>>>> f886b4b (Initial commit)
<width>800</width> <width>800</width>
<height>23</height> <height>23</height>
</rect> </rect>
</property> </property>
<<<<<<< HEAD
>>>>>>> f886b4b (Initial commit)
=======
>>>>>>> f886b4b (Initial commit) >>>>>>> f886b4b (Initial commit)
</widget> </widget>
<widget class="QStatusBar" name="statusbar"/> <widget class="QStatusBar" name="statusbar"/>