OSSP CVS Repository

ossp - Difference in ossp-pkg/as/as-gui/as_assist.cpp versions 1.1 and 1.2
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/as/as-gui/as_assist.cpp 1.1 -> 1.2

--- as_assist.cpp        2002/11/18 22:31:12     1.1
+++ as_assist.cpp        2002/11/18 23:34:17     1.2
@@ -10,6 +10,8 @@
 // User interface
 #include "titraq.h"
 #include "titrex.h"             // Exception classes
+
+// Icon pixel maps
 #include "gfx/ossplogo.xpm"     // static const char *s_kpcOssplogo_xpm[]
 #include "gfx/qtlogo.xpm"       // static const char *s_kpcQtlogo_xpm[]
 #include "gfx/filenew.xpm"      // static const char *s_kpcFilenew_xpm[]
@@ -64,6 +66,9 @@
     pFilepopup->insertSeparator();
     m_pFilequitact->addTo(pFilepopup);
 
+    // Pad spacing to force help menu to appear far right
+    m_pMenubar->insertSeparator();
+
     // Construct and populate the help menu with subitems
     QPopupMenu *pHelppopup = new QPopupMenu(this);
     if (pHelppopup == NULL) // Sanity check
@@ -192,17 +197,7 @@
 }
 
 //
-// Construct the status bar
-//
-void Titraqform::setupStatusbar(void)
-{
-    m_pStatbar = statusBar();   // Grab status bar owned by QMainWindow
-    if (m_pStatbar == NULL)     // Sanity check
-        throw Genexcept("Main window status bar nonexistant.");
-}
-
-//
-// Construct the central widget
+// Construct the central frame
 //
 void Titraqform::setupCentralwidget(void)
 {
@@ -228,6 +223,16 @@
 }
 
 //
+// Construct the status bar
+//
+void Titraqform::setupStatusbar(void)
+{
+    m_pStatbar = statusBar();   // Grab status bar owned by QMainWindow
+    if (m_pStatbar == NULL)     // Sanity check
+        throw Genexcept("Main window status bar nonexistant.");
+}
+
+//
 // Construct the table
 //
 void Titraqform::setupTable(void)
@@ -331,7 +336,7 @@
 //        m_pMaintable->setItem(i, 4, pTasks);
 //    }
 
-    m_pPackagelayout->addWidget(m_pMaintable);  // Finally add the damn table
+    m_pPackagelayout->addWidget(m_pMaintable); // Finally add the damn table
 }
 
 //
@@ -349,7 +354,7 @@
     m_pStatus->setFrame(true);
     m_pStatus->setReadOnly(true);
     QToolTip::add(m_pStatus, trUtf8("Status Line"));
-    m_pPackagelayout->addWidget(m_pStatus);
+    m_pPackagelayout->addWidget(m_pStatus); // Finally add the status bar
 
     // Whatsthis info for the output line
     const char *kszStatouttext = trUtf8("<p><img source=\"ossplogo\"> "

CVSTrac 2.0.1