OSSP CVS Repository

ossp - Check-in [3826]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 3826
Date: 2002-Dec-04 12:41:55 (local)
2002-Dec-04 11:41:55 (UTC)
User:ms
Branch:
Comment: Correct startup window and widget size defaults.
Tickets:
Inspections:
Files:
ossp-pkg/as/as-gui/as_assist.cpp      1.42 -> 1.43     4 inserted, 4 deleted
ossp-pkg/as/as-gui/as_const.h      1.11 -> 1.12     2 inserted, 0 deleted
ossp-pkg/as/as-gui/as_gui.cpp      1.24 -> 1.25     1 inserted, 1 deleted

ossp-pkg/as/as-gui/as_assist.cpp 1.42 -> 1.43

--- as_assist.cpp        2002/12/04 11:34:08     1.42
+++ as_assist.cpp        2002/12/04 11:41:55     1.43
@@ -476,10 +476,10 @@
     // Table header row
     m_pTablehead = m_pMaintable->horizontalHeader();
     m_pMaintable->setHScrollBarMode(QScrollView::AlwaysOff);
-    m_pTablehead->setLabel(0, QObject::trUtf8("Date"), 94);
-    m_pTablehead->setLabel(1, QObject::trUtf8("Begin"), 86);
-    m_pTablehead->setLabel(2, QObject::trUtf8("End"), 86);
-    m_pTablehead->setLabel(3, QObject::trUtf8("Amount"), 96);
+    m_pTablehead->setLabel(0, QObject::trUtf8("Date"), 90);
+    m_pTablehead->setLabel(1, QObject::trUtf8("Begin"), 80);
+    m_pTablehead->setLabel(2, QObject::trUtf8("End"), 80);
+    m_pTablehead->setLabel(3, QObject::trUtf8("Amount"), 98);
     m_pTablehead->setLabel(4, QObject::trUtf8("Task"), 96);
     m_pTablehead->setLabel(5, QObject::trUtf8("Remark"));
 


ossp-pkg/as/as-gui/as_const.h 1.11 -> 1.12

--- as_const.h   2002/12/03 18:46:25     1.11
+++ as_const.h   2002/12/04 11:41:55     1.12
@@ -65,6 +65,8 @@
 #define TITRAQ_IDXWHATBAR       3
 
 // Values
+#define TITRAQ_MAINWINWIDTH     640         // Default main window width
+#define TITRAQ_MAINWINHEIGHT    480         // Default main window height
 #define TITRAQ_MARGIN           10          // Default layout margin
 #define TITRAQ_SPACING          6           // Default layout spacing
 #define TITRAQ_MAXAMOUNT        960         // Maximum valid amount


ossp-pkg/as/as-gui/as_gui.cpp 1.24 -> 1.25

--- as_gui.cpp   2002/12/02 13:25:36     1.24
+++ as_gui.cpp   2002/12/04 11:41:55     1.25
@@ -48,7 +48,7 @@
     // Initial widget manipulations
     if (!kszName)
         setName(trUtf8("Titraqform"));
-    resize(600, 480);
+    resize(TITRAQ_MAINWINWIDTH, TITRAQ_MAINWINHEIGHT);
     setCaption("OSSP Titraq");
 
 //    // Lock down window size

CVSTrac 2.0.1