void MainWindow::create_actions() { action_exit = new action::ExitApplication(this); connect(action_exit, SIGNAL(triggered()), this, SLOT(close())); action_toggle_fullscreen = new action::Fullscreen(this); connect(action_toggle_fullscreen, SIGNAL(showFullScreen()), this, SLOT(showFullScreen())); connect(action_toggle_fullscreen, SIGNAL(showNormal()), this, SLOT(showNormal())); action_about = new action::About(this); connect(action_about, SIGNAL(triggered()), this, SLOT(on_about())); action_about_qt = new action::AboutQt(this); connect(action_about_qt, SIGNAL(triggered()), this, SLOT(on_about_qt())); action_zoom_in = new action::ZoomIn(this); connect(action_zoom_in, SIGNAL(triggered()), map_widget, SLOT(zoom_in())); action_zoom_out = new action::ZoomOut(this); connect(action_zoom_out, SIGNAL(triggered()), map_widget, SLOT(zoom_out())); }
/** * Plugin help */ void plugin_help(void) { on_about(plugin_data); }