ossp-pkg/as/as-gui/as_gui.cpp 1.21 -> 1.22
--- as_gui.cpp 2002/11/26 14:10:32 1.21
+++ as_gui.cpp 2002/11/26 20:38:19 1.22
@@ -3,17 +3,6 @@
#include "titrex.h" // Exception classes
-// Overload init for custom initialization of the app
-void Titraqform::init(void)
-{
- // Set fill color of buttons
- m_pAddbutton->setPaletteBackgroundColor(QColor(196, 196, 176));
- m_pDeletebutton->setPaletteBackgroundColor(QColor(196, 196, 176));
- m_pWritebutton->setPaletteBackgroundColor(QColor(206, 192, 176));
- m_pQuitbutton->setPaletteBackgroundColor(QColor(196, 196, 176));
- m_pMaintable->setFocus(); // Focus on the table
-}
-
//
// Construct a Titraqform which is a child of 'pParent', with the
// name 'kszName' and widget flags set to 'Flags'
@@ -45,14 +34,12 @@
setupStatusbar();
setupTable();
setupEditlay();
- setupButtons();
}
catch (Genexcept& Genex) {
Genex.reportErr();
exit(1);
}
- init(); // Initialize signal and slot connections
m_pStatbar->message(trUtf8("Ready")); // Signal a ready condition
}
|
|