main_window.hpp
Go to the documentation of this file.
00001 
00008 #ifndef segbot_controller_MAIN_WINDOW_H
00009 #define segbot_controller_MAIN_WINDOW_H
00010 
00011 /*****************************************************************************
00012 ** Includes
00013 *****************************************************************************/
00014 
00015 #include <QtGui/QMainWindow>
00016 #include "ui_main_window.h"
00017 #include "qnode.hpp"
00018 
00019 /*****************************************************************************
00020 ** Namespace
00021 *****************************************************************************/
00022 
00023 namespace segbot_controller {
00024 
00025 /*****************************************************************************
00026 ** Interface [MainWindow]
00027 *****************************************************************************/
00031 class MainWindow : public QMainWindow {
00032 Q_OBJECT
00033 
00034 public:
00035         MainWindow(int argc, char** argv, QWidget *parent = 0);
00036         ~MainWindow();
00037 
00038         void ReadSettings(); // Load up qt program settings at startup
00039         void WriteSettings(); // Save qt program settings when closing
00040 
00041         void closeEvent(QCloseEvent *event); // Overloaded function
00042         void showNoMasterMessage();
00043 
00044 public slots:
00045         /******************************************
00046         ** Auto-connections (connectSlotsByName())
00047         *******************************************/
00048         void on_actionAbout_triggered();
00049         void on_button_connect_clicked(bool check );
00050         void on_checkbox_use_environment_stateChanged(int state);
00051 
00052     /******************************************
00053     ** Manual connections
00054     *******************************************/
00055     void updateLoggingView(); // no idea why this can't connect automatically
00056 
00057 private:
00058         Ui::MainWindowDesign ui;
00059         QNode qnode;
00060 };
00061 
00062 }  // namespace segbot_controller
00063 
00064 #endif // segbot_controller_MAIN_WINDOW_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends


segbot_controller
Author(s): lab
autogenerated on Sun Mar 24 2013 17:17:27