[Jahshaka-cvs] SF.net SVN: editopia:[294] cinesuite/cineplay-cinecode/trunk/src
Status: Beta
Brought to you by:
jahshaka
From: <tim...@us...> - 2009-02-06 11:19:02
|
Revision: 294 http://editopia.svn.sourceforge.net/editopia/?rev=294&view=rev Author: timdewhirst Date: 2009-02-06 11:18:59 +0000 (Fri, 06 Feb 2009) Log Message: ----------- cinesuite * remove cancel buttons from add/remove favourite; redundant Modified Paths: -------------- cinesuite/cineplay-cinecode/trunk/src/RemoveFavouriteDlg.cpp cinesuite/cineplay-cinecode/trunk/src/ui/addfav.ui cinesuite/cineplay-cinecode/trunk/src/ui/removefav.ui Modified: cinesuite/cineplay-cinecode/trunk/src/RemoveFavouriteDlg.cpp =================================================================== --- cinesuite/cineplay-cinecode/trunk/src/RemoveFavouriteDlg.cpp 2009-02-06 11:17:23 UTC (rev 293) +++ cinesuite/cineplay-cinecode/trunk/src/RemoveFavouriteDlg.cpp 2009-02-06 11:18:59 UTC (rev 294) @@ -65,7 +65,6 @@ } ConnectCtrlButton( "delete_button", true ); - ConnectCtrlButton( "cancel_button", false ); } Modified: cinesuite/cineplay-cinecode/trunk/src/ui/addfav.ui =================================================================== --- cinesuite/cineplay-cinecode/trunk/src/ui/addfav.ui 2009-02-06 11:17:23 UTC (rev 293) +++ cinesuite/cineplay-cinecode/trunk/src/ui/addfav.ui 2009-02-06 11:18:59 UTC (rev 294) @@ -26,13 +26,16 @@ </property> <layout class="QHBoxLayout" > <property name="spacing" > - <number>0</number> + <number>6</number> </property> <property name="margin" > <number>2</number> </property> <item> <layout class="QVBoxLayout" > + <property name="spacing" > + <number>6</number> + </property> <item> <widget class="QLabel" name="textLabel1" > <property name="text" > @@ -67,6 +70,9 @@ </item> <item> <layout class="QVBoxLayout" > + <property name="spacing" > + <number>6</number> + </property> <item> <spacer name="spacer2" > <property name="orientation" > @@ -78,25 +84,24 @@ <property name="sizeHint" stdset="0" > <size> <width>20</width> - <height>31</height> + <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="ok" > + <property name="sizePolicy" > + <sizepolicy vsizetype="Preferred" hsizetype="Preferred" > + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="text" > <string>OK</string> </property> </widget> </item> - <item> - <widget class="QPushButton" name="cancel" > - <property name="text" > - <string>Cancel</string> - </property> - </widget> - </item> </layout> </item> </layout> @@ -121,22 +126,6 @@ </hints> </connection> <connection> - <sender>cancel</sender> - <signal>clicked()</signal> - <receiver>add_favourite</receiver> - <slot>reject()</slot> - <hints> - <hint type="sourcelabel" > - <x>20</x> - <y>20</y> - </hint> - <hint type="destinationlabel" > - <x>20</x> - <y>20</y> - </hint> - </hints> - </connection> - <connection> <sender>nameEdit</sender> <signal>returnPressed()</signal> <receiver>add_favourite</receiver> Modified: cinesuite/cineplay-cinecode/trunk/src/ui/removefav.ui =================================================================== --- cinesuite/cineplay-cinecode/trunk/src/ui/removefav.ui 2009-02-06 11:17:23 UTC (rev 293) +++ cinesuite/cineplay-cinecode/trunk/src/ui/removefav.ui 2009-02-06 11:18:59 UTC (rev 294) @@ -49,6 +49,9 @@ </item> <item> <layout class="QVBoxLayout" > + <property name="spacing" > + <number>6</number> + </property> <item> <spacer name="spacer1" > <property name="orientation" > @@ -59,26 +62,25 @@ </property> <property name="sizeHint" stdset="0" > <size> - <width>21</width> - <height>61</height> + <width>20</width> + <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="delete_button" > + <property name="sizePolicy" > + <sizepolicy vsizetype="Preferred" hsizetype="Preferred" > + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="text" > <string>Delete</string> </property> </widget> </item> - <item> - <widget class="QPushButton" name="cancel_button" > - <property name="text" > - <string>Cancel</string> - </property> - </widget> - </item> </layout> </item> </layout> @@ -102,21 +104,5 @@ </hint> </hints> </connection> - <connection> - <sender>cancel_button</sender> - <signal>clicked()</signal> - <receiver>remove_favourite</receiver> - <slot>reject()</slot> - <hints> - <hint type="sourcelabel" > - <x>20</x> - <y>20</y> - </hint> - <hint type="destinationlabel" > - <x>20</x> - <y>20</y> - </hint> - </hints> - </connection> </connections> </ui> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |