Skip to content

Commit

Permalink
Merge branch 'main' into COS3711-03-01
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchcamza authored Jul 28, 2024
2 parents ce6afea + 23f2e2e commit b6c25d4
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
11 changes: 11 additions & 0 deletions COS3711-03-01/main.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#include "mainwindow.h"

#include <QApplication>

int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}
7 changes: 7 additions & 0 deletions COS3711-03-01/mainwindow.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#include "mainwindow.h"

MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
{}

MainWindow::~MainWindow() {}
14 changes: 14 additions & 0 deletions COS3711-03-01/mainwindow.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

class MainWindow : public QMainWindow
{
Q_OBJECT

public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
};
#endif // MAINWINDOW_H

0 comments on commit b6c25d4

Please sign in to comment.