File tree Expand file tree Collapse file tree 6 files changed +589
-0
lines changed
Expand file tree Collapse file tree 6 files changed +589
-0
lines changed Original file line number Diff line number Diff line change 1+ # -------------------------------------------------
2+ #
3+ # Project created by QtCreator 2016-10-10T00:57:59
4+ #
5+ # -------------------------------------------------
6+
7+ QT += core gui
8+
9+ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
10+
11+ TARGET = ADB_Task_Manager
12+ TEMPLATE = app
13+
14+
15+ SOURCES += main.cpp \
16+ MainWindow.cpp
17+
18+ HEADERS += MainWindow.h
19+
20+ FORMS += MainWindow.ui
21+
22+ CONFIG += mobility
23+ MOBILITY =
24+
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1+ #include " MainWindow.h"
2+ #include " ui_MainWindow.h"
3+
4+ MainWindow::MainWindow (QWidget *parent) :
5+ QMainWindow(parent),
6+ ui(new Ui::MainWindow)
7+ {
8+ ui->setupUi (this );
9+ }
10+
11+ MainWindow::~MainWindow ()
12+ {
13+ delete ui;
14+ }
Original file line number Diff line number Diff line change 1+ #ifndef MAINWINDOW_H
2+ #define MAINWINDOW_H
3+
4+ #include < QMainWindow>
5+
6+ namespace Ui {
7+ class MainWindow ;
8+ }
9+
10+ class MainWindow : public QMainWindow
11+ {
12+ Q_OBJECT
13+
14+ public:
15+ explicit MainWindow (QWidget *parent = 0 );
16+ ~MainWindow ();
17+
18+ private:
19+ Ui::MainWindow *ui;
20+ };
21+
22+ #endif // MAINWINDOW_H
Original file line number Diff line number Diff line change 1+ <ui version =" 4.0" >
2+ <class >MainWindow</class >
3+ <widget class =" QMainWindow" name =" MainWindow" >
4+ <property name =" geometry" >
5+ <rect >
6+ <x >0</x >
7+ <y >0</y >
8+ <width >800</width >
9+ <height >480</height >
10+ </rect >
11+ </property >
12+ <property name =" windowTitle" >
13+ <string >MainWindow</string >
14+ </property >
15+ <widget class =" QWidget" name =" centralWidget" />
16+ </widget >
17+ <layoutDefault spacing =" 6" margin =" 11" />
18+ <pixmapfunction ></pixmapfunction >
19+ <resources />
20+ <connections />
21+ </ui >
Original file line number Diff line number Diff line change 1+ #include " MainWindow.h"
2+ #include < QApplication>
3+
4+ int main (int argc, char *argv[])
5+ {
6+ QApplication a (argc, argv);
7+ MainWindow w;
8+ w.show ();
9+
10+ return a.exec ();
11+ }
You can’t perform that action at this time.
0 commit comments