Added mainWindow class
parent
e62cefe13e
commit
0887f01bd4
|
|
@ -1,5 +1,16 @@
|
|||
QT += widgets
|
||||
QT += core gui
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
|
||||
TARGET = DofperPockerQt
|
||||
TEMPLATE = app
|
||||
|
||||
|
||||
SOURCES += \
|
||||
src/main.cpp
|
||||
src/main.cpp \
|
||||
src/mainwindow.cpp
|
||||
|
||||
include($$PWD/libs/QMidi/QMidi.pri)
|
||||
|
||||
HEADERS += \
|
||||
src/mainwindow.h
|
||||
|
|
|
|||
|
|
@ -1,6 +1,11 @@
|
|||
#include <QApplication>
|
||||
#include "mainwindow.h"
|
||||
|
||||
int main(int argc, char *argv[]){
|
||||
QApplication app(argc, argv);
|
||||
|
||||
mainWindow w;
|
||||
w.show();
|
||||
|
||||
return app.exec();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
#include "mainwindow.h"
|
||||
|
||||
mainWindow::mainWindow(QWidget *parent) : QMainWindow(parent)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
mainWindow::~mainWindow()
|
||||
{
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
#ifndef MAINWINDOW_H
|
||||
#define MAINWINDOW_H
|
||||
|
||||
#include <QComboBox>
|
||||
#include <QMainWindow>
|
||||
|
||||
class mainWindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
mainWindow(QWidget *parent = 0);
|
||||
~mainWindow();
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
};
|
||||
|
||||
#endif // MAINWINDOW_H
|
||||
Loading…
Reference in New Issue