inital commit
This commit is contained in:
commit
fede535b95
32 changed files with 2357 additions and 0 deletions
46
src/ui/mainwindow.h
Normal file
46
src/ui/mainwindow.h
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
#ifndef MAINWINDOW_H
|
||||
#define MAINWINDOW_H
|
||||
|
||||
#include <QMainWindow>
|
||||
#include <QColorDialog>
|
||||
#include <QListWidgetItem>
|
||||
#include <QTime>
|
||||
#include <QShortcut>
|
||||
#include <vector>
|
||||
#include "../microcontroller.h"
|
||||
#include "../items/itemstore.h"
|
||||
|
||||
|
||||
class MainObject;
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class MainWindow;
|
||||
}
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
QShortcut stopShort;
|
||||
|
||||
public:
|
||||
explicit MainWindow(Microcontroller * const micro, ItemStore* items, QWidget *parent = nullptr);
|
||||
~MainWindow();
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
|
||||
Microcontroller *_micro;
|
||||
|
||||
signals:
|
||||
|
||||
void createdItem(std::shared_ptr<Item> item);
|
||||
|
||||
private slots:
|
||||
|
||||
//void showItemCreationDialog();
|
||||
|
||||
};
|
||||
|
||||
#endif // MAINWINDOW_H
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue