OSSP CVS Repository

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

ossp-pkg/as/as-gui/as_gui.h 1.1 -> 1.2

--- as_gui.h     2002/11/08 12:27:57     1.1
+++ as_gui.h     2002/11/11 21:39:08     1.2
@@ -1,39 +1,54 @@
 #ifndef OPKGFORM_H
 #define OPKGFORM_H
 
-#include <qvariant.h>
 #include <qdialog.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QLineEdit;
-class QPushButton;
-class QTable;
+#include <qtable.h>
+#include <qheader.h>
+#include <qimage.h>
+#include <qpixmap.h>
+#include <qstringlist.h>
+#include <qpushbutton.h>
+#include <qlineedit.h>
+#include <qlayout.h>
 
+
+// Main table size
+const int knRows = 18;
+const int knCols = 6;
+
+// Main application form window
 class Titraqform : public QDialog
-{ 
-    Q_OBJECT
+{
+    Q_OBJECT    // Needed for MOC object model generation
 
 public:
     Titraqform(QWidget *pParent = 0, const char *kszName = 0,
-        bool bModal = FALSE, WFlags Flags = 0);
+        bool bModal = false, WFlags Flags = 0);
     ~Titraqform();
 
+    // Table, cells, and entries in package layout
     QTable *pMaintable;
-    QLineEdit *pStatusline;
-    QPushButton *pInstallbutton;
+    QHeader *pTablehead;
+    QImage *pIconimage;
+    QPixmap *pIconpixmap;
+    QStringList *pComboentries;
+
+    // Push buttons in control layout
+    QPushButton *pAddbutton;
     QPushButton *pDeletebutton;
-    QPushButton *pVerifybutton;
-    QPushButton *pCommitbutton;
+    QPushButton *pWritebutton;
+
+    // Line edit for status
+    QLineEdit *pStatus;
 
 protected slots:
-    virtual void init();
+    virtual void init();            // Override init to include custom controls
 
 protected:
-    QVBoxLayout *pTitraqformlayout;
-    QVBoxLayout *pMainlayout;
-    QVBoxLayout *pPackagelayout;
-    QHBoxLayout *pControllayout;
+    QVBoxLayout *pTitraqformlayout; // Main form layout
+    QVBoxLayout *pMainlayout;       // Package and control layouts
+    QVBoxLayout *pPackagelayout;    // Main table control
+    QHBoxLayout *pControllayout;    // Lower control buttons
 };
 
 #endif // OPKGFORM_H

CVSTrac 2.0.1