added first files
authorHeiko Schlittermann (JUMPER) <hs@schlittermann.de>
Sat, 21 Jan 2012 23:47:15 +0100
changeset 1 5914e37481c5
parent 0 d39a29a87852
child 2 71093d26a4de
added first files
igc.pro
main.cc
mainwindow.cc
mainwindow.h
ui/mainwindow.ui
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/igc.pro	Sat Jan 21 23:47:15 2012 +0100
@@ -0,0 +1,16 @@
+######################################################################
+# Automatically generated by qmake (2.01a) Sat Jan 21 23:39:20 2012
+######################################################################
+
+TEMPLATE = app
+TARGET = 
+DEPENDPATH += .
+INCLUDEPATH += .
+
+UI_DIR = .build/
+OBJECTS_DIR = .build/
+
+# Input
+HEADERS += mainwindow.h
+FORMS += ui/mainwindow.ui
+SOURCES += main.cc mainwindow.cc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cc	Sat Jan 21 23:47:15 2012 +0100
@@ -0,0 +1,12 @@
+#include <QApplication>
+#include "mainwindow.h"
+
+
+int main(int argc, char** argv)
+{
+    QApplication app(argc, argv);
+    MainWindow mw;
+
+    mw.show();
+    return app.exec();
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mainwindow.cc	Sat Jan 21 23:47:15 2012 +0100
@@ -0,0 +1,9 @@
+#include "mainwindow.h"
+#include "ui_mainwindow.h"
+
+MainWindow::MainWindow(QWidget *parent)
+    : QMainWindow(parent), ui(new Ui::MainWindow)
+{
+    ui->setupUi(this);
+    dumpObjectTree();
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mainwindow.h	Sat Jan 21 23:47:15 2012 +0100
@@ -0,0 +1,16 @@
+#ifndef _mainwindow_h_
+#define _mainwindow_h_
+
+#include <QMainWindow>
+
+namespace Ui { class MainWindow; }
+
+class MainWindow : public QMainWindow
+{
+  public:
+   MainWindow(QWidget *parent = 0);
+  private:
+   Ui::MainWindow *ui; 
+};
+
+#endif
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ui/mainwindow.ui	Sat Jan 21 23:47:15 2012 +0100
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>MainWindow</class>
+ <widget class="QMainWindow" name="MainWindow">
+  <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="QWidget" name="centralwidget"/>
+  <widget class="QMenuBar" name="menubar">
+   <property name="geometry">
+    <rect>
+     <x>0</x>
+     <y>0</y>
+     <width>800</width>
+     <height>29</height>
+    </rect>
+   </property>
+   <widget class="QMenu" name="menu_File">
+    <property name="title">
+     <string>&amp;File</string>
+    </property>
+    <addaction name="actionOpen"/>
+    <addaction name="separator"/>
+    <addaction name="actionExit"/>
+   </widget>
+   <widget class="QMenu" name="menuHelp">
+    <property name="title">
+     <string>&amp;Help</string>
+    </property>
+    <addaction name="actionAboutQt"/>
+   </widget>
+   <addaction name="menu_File"/>
+   <addaction name="menuHelp"/>
+  </widget>
+  <widget class="QStatusBar" name="statusbar"/>
+  <action name="actionExit">
+   <property name="text">
+    <string>E&amp;xit</string>
+   </property>
+  </action>
+  <action name="actionOpen">
+   <property name="text">
+    <string>&amp;Open</string>
+   </property>
+  </action>
+  <action name="actionAboutQt">
+   <property name="text">
+    <string>About Qt</string>
+   </property>
+  </action>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>