コード例 #1
0
void CAdministrationWindow::showMessages(bool b)
{
#ifdef DEBUG
  qDebug("CAdministrationWindow::showMessages(%s)", debug_string(booltostr(b)));
#endif

  if (b)
    messageWindow()->show();
  else
    messageWindow()->hide();  
}
コード例 #2
0
void CAdministrationWindow::viewMenuAboutToShow()
{
#ifdef DEBUG
  qDebug("CAdministrationWindow::viewMenuAboutToShow()");
#endif
  
  viewShowMessagesAction->setOn(messageWindow()->isVisible());
}
コード例 #3
0
ファイル: p40.c プロジェクト: DirkyJerky/Study-C3
void on_button2_clicked(GtkButton *button, gpointer user_data) {
    messageWindow("Made on " __DATE__ );
}
コード例 #4
0
ファイル: p40.c プロジェクト: DirkyJerky/Study-C3
void on_button3_clicked(GtkButton *button, gpointer user_data) {
    messageWindow("Button!");

}
コード例 #5
0
ファイル: p40.c プロジェクト: DirkyJerky/Study-C3
void on_button1_clicked(GtkButton *button, gpointer user_data) {
    messageWindow("Hello!");
}