|
From: Hans F. <fu...@us...> - 2004-06-23 13:30:42
|
Update of /cvsroot/neelix/neelix/view/qt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30945/view/qt Modified Files: mw.ui Log Message: in-place renaming of cookbooks, categories, and recipes via the shelf works, including updating the recipe name on the counter too. Removed the cookbook and category switcher pages, since all you did there was edit the name of cookbooks and categories which you can do in-place in the shelf. So now, the pretty recipe form is always visible (but disabled if a recipe is not selected). Index: mw.ui =================================================================== RCS file: /cvsroot/neelix/neelix/view/qt/mw.ui,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- mw.ui 21 Jun 2004 05:19:47 -0000 1.1 +++ mw.ui 23 Jun 2004 13:30:33 -0000 1.2 @@ -9,7 +9,7 @@ <x>0</x> <y>0</y> <width>747</width> - <height>516</height> + <height>519</height> </rect> </property> <property name="caption"> @@ -82,104 +82,10 @@ </property> <widget class="QWidget"> <property name="name"> - <cstring>splash_page</cstring> - </property> - <attribute name="id"> - <number>0</number> - </attribute> - </widget> - <widget class="QWidget"> - <property name="name"> - <cstring>cookbook_page</cstring> - </property> - <attribute name="id"> - <number>1</number> - </attribute> - <vbox> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <widget class="QLabel"> - <property name="name"> - <cstring>textLabel1</cstring> - </property> - <property name="text"> - <string>Cookbook Name</string> - </property> - </widget> - <widget class="QLineEdit"> - <property name="name"> - <cstring>cookbook_entry</cstring> - </property> - </widget> - <spacer> - <property name="name"> - <cstring>spacer1</cstring> - </property> - <property name="orientation"> - <enum>Vertical</enum> - </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> - <size> - <width>20</width> - <height>40</height> - </size> - </property> - </spacer> - </vbox> - </widget> - <widget class="QWidget"> - <property name="name"> - <cstring>category_page</cstring> - </property> - <attribute name="id"> - <number>2</number> - </attribute> - <vbox> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <widget class="QLabel"> - <property name="name"> - <cstring>textLabel2</cstring> - </property> - <property name="text"> - <string>Category Name</string> - </property> - </widget> - <widget class="QLineEdit"> - <property name="name"> - <cstring>category_entry</cstring> - </property> - </widget> - <spacer> - <property name="name"> - <cstring>spacer2</cstring> - </property> - <property name="orientation"> - <enum>Vertical</enum> - </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> - <size> - <width>20</width> - <height>40</height> - </size> - </property> - </spacer> - </vbox> - </widget> - <widget class="QWidget"> - <property name="name"> <cstring>recipe_page</cstring> </property> <attribute name="id"> - <number>3</number> + <number>0</number> </attribute> <vbox> <property name="name"> @@ -351,7 +257,10 @@ </widget> <widget class="QTabWidget"> <property name="name"> - <cstring>tabWidget3</cstring> + <cstring>editTab</cstring> + </property> + <property name="enabled"> + <bool>true</bool> </property> <property name="sizePolicy"> <sizepolicy> @@ -379,6 +288,9 @@ <property name="name"> <cstring>directions_edit</cstring> </property> + <property name="enabled"> + <bool>true</bool> + </property> </widget> </hbox> </widget> @@ -550,12 +462,18 @@ <receiver>Neelix</receiver> <slot>shelf_currentChanged()</slot> </connection> + <connection> + <sender>shelf</sender> + <signal>itemRenamed(QListViewItem*,int,const QString&)</signal> + <receiver>Neelix</receiver> + <slot>shelf_item_renamed(QListViewItem*,int,const QString&)</slot> + </connection> </connections> <slots> <slot>fileNew()</slot> <slot>fileOpen()</slot> <slot>fileSaveAs()</slot> - <slot>cookbook_entry_changed(const QString&)</slot> + <slot>shelf_item_renamed(QListViewItem * item, int col, const QString & text)</slot> <slot>helpAbout()</slot> <slot>shelf_currentChanged()</slot> </slots> |