1.1 --- a/branchpropwindow.h Wed May 02 15:31:17 2007 +0000
1.2 +++ b/branchpropwindow.h Wed May 02 15:31:17 2007 +0000
1.3 @@ -3,6 +3,9 @@
1.4
1.5 #include "ui_branchpropwindow.h"
1.6
1.7 +#include <QDialog>
1.8 +#include <QCloseEvent>
1.9 +
1.10 #include "branchobj.h"
1.11 #include "mapeditor.h"
1.12
1.13 @@ -25,6 +28,12 @@
1.14 void incImgVerChanged (int);
1.15 void incImgHorChanged (int);
1.16
1.17 +signals:
1.18 + void windowClosed();
1.19 +
1.20 +protected:
1.21 + void closeEvent( QCloseEvent* );
1.22 +
1.23 private:
1.24 void connectSignals();
1.25 void disconnectSignals();
2.1 --- a/branchpropwindow.ui Wed May 02 15:31:17 2007 +0000
2.2 +++ b/branchpropwindow.ui Wed May 02 15:31:17 2007 +0000
2.3 @@ -5,8 +5,8 @@
2.4 <rect>
2.5 <x>0</x>
2.6 <y>0</y>
2.7 - <width>255</width>
2.8 - <height>327</height>
2.9 + <width>257</width>
2.10 + <height>334</height>
2.11 </rect>
2.12 </property>
2.13 <property name="windowTitle" >
2.14 @@ -83,14 +83,14 @@
2.15 </spacer>
2.16 </item>
2.17 <item row="1" column="1" colspan="2" >
2.18 - <widget class="QLabel" name="label_3" >
2.19 + <widget class="QLabel" name="framePaddingLabel" >
2.20 <property name="text" >
2.21 <string>Padding</string>
2.22 </property>
2.23 </widget>
2.24 </item>
2.25 <item row="2" column="1" colspan="2" >
2.26 - <widget class="QLabel" name="label_4" >
2.27 + <widget class="QLabel" name="frameBorderLabel" >
2.28 <property name="text" >
2.29 <string>Borderline width</string>
2.30 </property>
2.31 @@ -362,7 +362,7 @@
2.32 <sender>closeButton</sender>
2.33 <signal>clicked()</signal>
2.34 <receiver>BranchPropertyWindow</receiver>
2.35 - <slot>hide()</slot>
2.36 + <slot>close()</slot>
2.37 <hints>
2.38 <hint type="sourcelabel" >
2.39 <x>315</x>