r18886 - gnucash/trunk/src/gnc - Cutecash: Enable closing and re-opening the different tab views.

Christian Stimming cstim at code.gnucash.org
Wed Mar 10 12:50:52 EST 2010


Author: cstim
Date: 2010-03-10 12:50:51 -0500 (Wed, 10 Mar 2010)
New Revision: 18886
Trac: http://svn.gnucash.org/trac/changeset/18886

Modified:
   gnucash/trunk/src/gnc/RecentFileMenu.cpp
   gnucash/trunk/src/gnc/mainwindow.cpp
   gnucash/trunk/src/gnc/mainwindow.hpp
   gnucash/trunk/src/gnc/mainwindow.ui
Log:
Cutecash: Enable closing and re-opening the different tab views.

Also, change many main window slots to make use of the auto-connection
feature because it makes the slot intention much easier to read.

Also, note how we store the Tab position, title, isEnabled state
in dynamically allocated properties in the Tab widget itself -
this is a rather cool feature of QObject here (see reallyRemoveTab()
and viewOrHideTab()).



More information about the gnucash-patches mailing list