#############################################################################
# Makefile for building: qt-console
-# Generated by qmake (2.01a) (Qt 4.2.1) on: Thu Jan 18 09:41:24 2007
+# Generated by qmake (2.01a) (Qt 4.2.1) on: Fri Jan 26 14:25:07 2007
# Project: qt-console.pro
# Template: app
# Command: /usr/bin/qmake -unix -o Makefile qt-console.pro
####### Files
-SOURCES = main.cpp
-OBJECTS = main.o
+SOURCES = main.cpp \
+ mainwindow.cpp qrc_main.cpp
+OBJECTS = main.o \
+ mainwindow.o \
+ qrc_main.o
DIST = /usr/share/qt4/mkspecs/common/unix.conf \
/usr/share/qt4/mkspecs/common/g++.conf \
/usr/share/qt4/mkspecs/common/linux.conf \
dist:
@$(CHK_DIR_EXISTS) .tmp/qt-console1.0.0 || $(MKDIR) .tmp/qt-console1.0.0
- $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/qt-console1.0.0/ && $(COPY_FILE) --parents main.cpp .tmp/qt-console1.0.0/ && $(COPY_FILE) --parents main.ui .tmp/qt-console1.0.0/ && (cd `dirname .tmp/qt-console1.0.0` && $(TAR) qt-console1.0.0.tar qt-console1.0.0 && $(COMPRESS) qt-console1.0.0.tar) && $(MOVE) `dirname .tmp/qt-console1.0.0`/qt-console1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/qt-console1.0.0
+ $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/qt-console1.0.0/ && $(COPY_FILE) --parents main.qrc .tmp/qt-console1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp .tmp/qt-console1.0.0/ && $(COPY_FILE) --parents main.ui .tmp/qt-console1.0.0/ && (cd `dirname .tmp/qt-console1.0.0` && $(TAR) qt-console1.0.0.tar qt-console1.0.0 && $(COMPRESS) qt-console1.0.0.tar) && $(MOVE) `dirname .tmp/qt-console1.0.0`/qt-console1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/qt-console1.0.0
yaccclean:
compiler_moc_header_make_all:
compiler_moc_header_clean:
-compiler_rcc_make_all:
+compiler_rcc_make_all: qrc_main.cpp
compiler_rcc_clean:
+ -$(DEL_FILE) qrc_main.cpp
+qrc_main.cpp: main.qrc \
+ /usr/bin/rcc \
+ images/new.png \
+ images/copy.png \
+ images/cut.png \
+ images/save.png \
+ images/paste.png \
+ images/open.png
+ /usr/bin/rcc -name main main.qrc -o qrc_main.cpp
+
compiler_image_collection_make_all: qmake_image_collection.cpp
compiler_image_collection_clean:
-$(DEL_FILE) qmake_image_collection.cpp
####### Compile
-main.o: main.cpp ui_main.h
+main.o: main.cpp mainwindow.h \
+ ui_main.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
+mainwindow.o: mainwindow.cpp mainwindow.h \
+ ui_main.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp
+
+qrc_main.o: qrc_main.cpp
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_main.o qrc_main.cpp
+
####### Install
install: FORCE
<ui version="4.0" >
- <class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow" >
+ <author>Kern Sibbald</author>
+ <class>MainForm</class>
+ <widget class="QMainWindow" name="MainForm" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>889</width>
- <height>600</height>
+ <height>802</height>
</rect>
</property>
<property name="windowTitle" >
- <string>MainWindow</string>
+ <string>qt-console</string>
+ </property>
+ <property name="windowIcon" >
+ <iconset>images/bat_icon.png</iconset>
</property>
<widget class="QWidget" name="centralwidget" >
<layout class="QGridLayout" >
<property name="currentIndex" >
<number>1</number>
</property>
- <widget class="QWidget" name="page" />
- <widget class="QWidget" name="page_2" >
+ <widget class="QWidget" name="pageConsole" >
<layout class="QGridLayout" >
<property name="margin" >
<number>9</number>
</item>
</layout>
</widget>
+ <widget class="QWidget" name="Restore" >
+ <layout class="QGridLayout" >
+ <property name="margin" >
+ <number>9</number>
+ </property>
+ <property name="spacing" >
+ <number>6</number>
+ </property>
+ <item row="0" column="0" >
+ <widget class="QTabWidget" name="tabWidget" >
+ <property name="currentIndex" >
+ <number>0</number>
+ </property>
+ <widget class="QWidget" name="restore_1" >
+ <attribute name="title" >
+ <string>Restore 1</string>
+ </attribute>
+ </widget>
+ <widget class="QWidget" name="restore_2" >
+ <attribute name="title" >
+ <string>Restore 2</string>
+ </attribute>
+ </widget>
+ </widget>
+ </item>
+ </layout>
+ </widget>
</widget>
</widget>
</item>
<x>0</x>
<y>0</y>
<width>889</width>
- <height>28</height>
+ <height>33</height>
</rect>
</property>
+ <widget class="QMenu" name="menuHelp" >
+ <property name="title" >
+ <string>Help</string>
+ </property>
+ <addaction name="actionAbout_qt_console" />
+ </widget>
+ <widget class="QMenu" name="menuEdit" >
+ <property name="title" >
+ <string>Edit</string>
+ </property>
+ <addaction name="actionCopy" />
+ <addaction name="actionCut" />
+ <addaction name="actionPaste" />
+ </widget>
<widget class="QMenu" name="menuFile" >
<property name="title" >
<string>File</string>
</property>
+ <addaction name="actionPrint" />
+ <addaction name="actionSave" />
+ <addaction name="actionExit" />
</widget>
<addaction name="menuFile" />
+ <addaction name="menuEdit" />
+ <addaction name="menuHelp" />
</widget>
<widget class="QStatusBar" name="statusbar" />
<widget class="QToolBar" name="toolBar" >
<property name="minimumSize" >
<size>
- <width>15</width>
- <height>6</height>
+ <width>51</width>
+ <height>39</height>
</size>
</property>
<property name="orientation" >
<attribute name="toolBarArea" >
<number>4</number>
</attribute>
+ <addaction name="actionSave" />
+ <addaction name="actionPrint" />
</widget>
+ <action name="actionExit" >
+ <property name="text" >
+ <string>Quit</string>
+ </property>
+ </action>
+ <action name="actionAbout_qt_console" >
+ <property name="text" >
+ <string>About qt-console</string>
+ </property>
+ </action>
+ <action name="actionCopy" >
+ <property name="icon" >
+ <iconset>images/copy.png</iconset>
+ </property>
+ <property name="text" >
+ <string>Copy</string>
+ </property>
+ </action>
+ <action name="actionCut" >
+ <property name="icon" >
+ <iconset>images/cut.png</iconset>
+ </property>
+ <property name="text" >
+ <string>Cut</string>
+ </property>
+ </action>
+ <action name="actionNew" >
+ <property name="icon" >
+ <iconset>images/new.png</iconset>
+ </property>
+ <property name="text" >
+ <string>new</string>
+ </property>
+ </action>
+ <action name="actionOpen" >
+ <property name="icon" >
+ <iconset>images/open.png</iconset>
+ </property>
+ <property name="text" >
+ <string>open</string>
+ </property>
+ </action>
+ <action name="actionPaste" >
+ <property name="icon" >
+ <iconset>images/paste.png</iconset>
+ </property>
+ <property name="text" >
+ <string>Paste</string>
+ </property>
+ </action>
+ <action name="actionPrint" >
+ <property name="icon" >
+ <iconset>images/print.png</iconset>
+ </property>
+ <property name="text" >
+ <string>Print</string>
+ </property>
+ </action>
+ <action name="actionSave" >
+ <property name="icon" >
+ <iconset>images/save.png</iconset>
+ </property>
+ <property name="text" >
+ <string>Save</string>
+ </property>
+ </action>
</widget>
- <resources/>
- <connections>
- <connection>
- <sender>lineEdit</sender>
- <signal>textChanged(QString)</signal>
- <receiver>textEdit</receiver>
- <slot>setText(QString)</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>137</x>
- <y>560</y>
- </hint>
- <hint type="destinationlabel" >
- <x>192</x>
- <y>407</y>
- </hint>
- </hints>
- </connection>
- </connections>
+ <resources>
+ <include location="main.qrc" />
+ </resources>
+ <connections/>
</ui>