void CAdministrationWindow::showMessages(bool b) { #ifdef DEBUG qDebug("CAdministrationWindow::showMessages(%s)", debug_string(booltostr(b))); #endif if (b) messageWindow()->show(); else messageWindow()->hide(); }
void CAdministrationWindow::viewMenuAboutToShow() { #ifdef DEBUG qDebug("CAdministrationWindow::viewMenuAboutToShow()"); #endif viewShowMessagesAction->setOn(messageWindow()->isVisible()); }
void on_button2_clicked(GtkButton *button, gpointer user_data) { messageWindow("Made on " __DATE__ ); }
void on_button3_clicked(GtkButton *button, gpointer user_data) { messageWindow("Button!"); }
void on_button1_clicked(GtkButton *button, gpointer user_data) { messageWindow("Hello!"); }