Compare commits

..

No commits in common. "ace6d29f2b3bcbfaaa68c8235c3867ebe3361124" and "be6ddf94209b8b9298f78445d69ca13afe67b625" have entirely different histories.

6 changed files with 9 additions and 95 deletions

View file

@ -1,17 +0,0 @@
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**",
"/usr/include/qt"
],
"defines": [],
"compilerPath": "/usr/bin/clang",
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "clang-x64"
}
],
"version": 4
}

View file

@ -1,18 +1,10 @@
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Instruct CMake to run moc automatically when needed
set(CMAKE_AUTOMOC ON)
# Create code from a list of Qt designer ui files
set(CMAKE_AUTOUIC ON)
# Find the QtWidgets library
find_package(Qt5Widgets CONFIG REQUIRED)
set(GUI_HEADERS
)
set(GUI_SOURCES set(GUI_SOURCES
kima2.cpp kima2.cpp
mainwindow.cpp
mainwindow.ui
) )
add_executable(kima2 ${GUI_SOURCES}) add_executable(kima2 ${GUI_SOURCES})
target_link_libraries(kima2 core Qt5::Widgets) target_link_libraries(kima2 core)

View file

@ -1,16 +1,10 @@
#include "mainwindow.h" #include "../core/entity.h"
#include <QApplication> #include <iostream>
#include <boost/uuid/uuid_io.hpp>
int main()
int main(int argc, char* argv[])
{ {
//Q_INIT_RESOURCE(application);
QApplication kimaApp{argc, argv}; return 0;
MainWindow mainWin{};
mainWin.show();
return kimaApp.exec();
} }

View file

@ -1,6 +0,0 @@
#include "mainwindow.h"
MainWindow::MainWindow()
{
ui.setupUi(this);
}

View file

@ -1,18 +0,0 @@
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "ui_mainwindow.h"
#include <QMainWindow>
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow();
private:
Ui::MainWindow ui;
};
#endif

View file

@ -1,31 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>600</height>
</rect>
</property>
<property name="windowTitle">
<string>KIMA2</string>
</property>
<widget class="QWidget" name="centralwidget"/>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>24</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources/>
<connections/>
</ui>