Added mainWindow class

master
Yohann Dedy 2016-07-07 21:41:57 +02:00
parent e62cefe13e
commit 0887f01bd4
4 changed files with 47 additions and 2 deletions

View File

@ -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

View File

@ -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();
}

11
src/mainwindow.cpp Normal file
View File

@ -0,0 +1,11 @@
#include "mainwindow.h"
mainWindow::mainWindow(QWidget *parent) : QMainWindow(parent)
{
}
mainWindow::~mainWindow()
{
}

18
src/mainwindow.h Normal file
View File

@ -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