[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/kdeui
From:       Benjamin Meyer <benjamin () csh ! rit ! edu>
Date:       2004-07-12 22:09:42
Message-ID: 20040712220942.765A416B0F () office ! kde ! org
[Download RAW message or body]

CVS commit by bmeyer: 

More detailed doc / tips about size and saving


  M +6 -0      kmainwindow.h   1.113


--- kdelibs/kdeui/kmainwindow.h  #1.112:1.113
@@ -544,7 +544,13 @@ public:
          * auto-saves (and loads) the toolbar/menubar/statusbar settings and
          * window size using the default name.  @see setAutoSaveSettings
+         * 
          * If you must call resize() with an initial size make sure to do it
          * <b>before</b> setupGUI() or else the size wont be saved properly
          * and whatever is saved will be ignored.
+         *
+         * Typically you want to let the default size be determined by
+         * the widgets size hints. Make sure that setupGUI() is called after
+         * all the widgets are created ( including setCentralWidget ) so the
+         * default size's will be correct. 
          */
         Save = 8,


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic