ossp-pkg/as/as-gui/as_gui.h 1.7 -> 1.8
--- as_gui.h 2002/11/14 20:29:33 1.7
+++ as_gui.h 2002/11/14 22:26:30 1.8
@@ -15,13 +15,13 @@
// Main table size
-const int g_knRows = 18;
+const int g_knRows = 16;
const int g_knCols = 6;
// Main application form window
class Titraqform : public QMainWindow
{
- Q_OBJECT // Needed for MOC object model generation
+ Q_OBJECT // Generate MOC object model stubs
public:
Titraqform(QWidget *pParent = 0, const char *kszName = 0, WFlags Flags = 0);
@@ -31,6 +31,8 @@
QAction *m_pFilenewact, *m_pFileopenact;
QAction *m_pFilesaveact, *m_pFilesaveasact;
QAction *m_pFilecloseact, *m_pFilequitact;
+ QAction *m_pAddrowact, *m_pDeleterowact;
+ QAction *m_pWritedataact;
// Table, cells, and entries in package layout
QTable *m_pMaintable;
@@ -74,10 +76,16 @@
private:
// Don't destroy these, they are owned by QMainWindow
QMenuBar *m_pMenubar;
- QToolBar *m_pToolbar;
QStatusBar *m_pStatbar;
+
+ // Belong to us
+ QToolBar *m_pToolbar;
QString *m_szFilename;
+ // Standard members
+ bool m_bDirt; // To track dirty and clean states
+
+ // Standard methods
bool isDirty(void); // Check for changed state danger
};
|
|