Add skeleton for panel
This commit is contained in:
parent
c8c266de0b
commit
e0efbacd09
4 changed files with 63 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ SOURCES += \
|
||||||
entities/user_entity.cpp \
|
entities/user_entity.cpp \
|
||||||
entities/vessel_entity.cpp \
|
entities/vessel_entity.cpp \
|
||||||
main.cpp \
|
main.cpp \
|
||||||
|
skipperpanel.cpp \
|
||||||
storageeditdialog.cpp \
|
storageeditdialog.cpp \
|
||||||
system/apparatus.cpp \
|
system/apparatus.cpp \
|
||||||
system/auth_system.cpp \
|
system/auth_system.cpp \
|
||||||
|
|
@ -42,6 +43,7 @@ HEADERS += \
|
||||||
entities/storage_entity.h \
|
entities/storage_entity.h \
|
||||||
entities/user_entity.h \
|
entities/user_entity.h \
|
||||||
entities/vessel_entity.h \
|
entities/vessel_entity.h \
|
||||||
|
skipperpanel.h \
|
||||||
storageeditdialog.h \
|
storageeditdialog.h \
|
||||||
system/apparatus.h \
|
system/apparatus.h \
|
||||||
system/auth_system.h \
|
system/auth_system.h \
|
||||||
|
|
@ -58,6 +60,7 @@ FORMS += \
|
||||||
authwindow.ui \
|
authwindow.ui \
|
||||||
cargoeditdialog.ui \
|
cargoeditdialog.ui \
|
||||||
deliverypointeditdialog.ui \
|
deliverypointeditdialog.ui \
|
||||||
|
skipperpanel.ui \
|
||||||
storageeditdialog.ui \
|
storageeditdialog.ui \
|
||||||
usereditdialog.ui \
|
usereditdialog.ui \
|
||||||
vesseleditdialog.ui
|
vesseleditdialog.ui
|
||||||
|
|
|
||||||
14
sea_transport/skipperpanel.cpp
Normal file
14
sea_transport/skipperpanel.cpp
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
#include "skipperpanel.h"
|
||||||
|
#include "ui_skipperpanel.h"
|
||||||
|
|
||||||
|
SkipperPanel::SkipperPanel(QWidget *parent) :
|
||||||
|
QMainWindow(parent),
|
||||||
|
ui(new Ui::SkipperPanel)
|
||||||
|
{
|
||||||
|
ui->setupUi(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
SkipperPanel::~SkipperPanel()
|
||||||
|
{
|
||||||
|
delete ui;
|
||||||
|
}
|
||||||
22
sea_transport/skipperpanel.h
Normal file
22
sea_transport/skipperpanel.h
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
#ifndef SKIPPERPANEL_H
|
||||||
|
#define SKIPPERPANEL_H
|
||||||
|
|
||||||
|
#include <QMainWindow>
|
||||||
|
|
||||||
|
namespace Ui {
|
||||||
|
class SkipperPanel;
|
||||||
|
}
|
||||||
|
|
||||||
|
class SkipperPanel : public QMainWindow
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
explicit SkipperPanel(QWidget *parent = nullptr);
|
||||||
|
~SkipperPanel();
|
||||||
|
|
||||||
|
private:
|
||||||
|
Ui::SkipperPanel *ui;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // SKIPPERPANEL_H
|
||||||
24
sea_transport/skipperpanel.ui
Normal file
24
sea_transport/skipperpanel.ui
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
<ui version="4.0">
|
||||||
|
<author/>
|
||||||
|
<comment/>
|
||||||
|
<exportmacro/>
|
||||||
|
<class>SkipperPanel</class>
|
||||||
|
<widget class="QMainWindow" name="SkipperPanel">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>800</width>
|
||||||
|
<height>600</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="windowTitle">
|
||||||
|
<string>MainWindow</string>
|
||||||
|
</property>
|
||||||
|
<widget class="QMenuBar" name="menubar"/>
|
||||||
|
<widget class="QWidget" name="centralwidget"/>
|
||||||
|
<widget class="QStatusBar" name="statusbar"/>
|
||||||
|
</widget>
|
||||||
|
<pixmapfunction/>
|
||||||
|
<connections/>
|
||||||
|
</ui>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue