00001
00002
00003
00004
00005
00007
00008 #ifndef __rosout_generated__
00009 #define __rosout_generated__
00010
00011 namespace rxtools{ class LoggerLevelPanel; }
00012 namespace rxtools{ class RosoutListControl; }
00013 namespace rxtools{ class RosoutPanel; }
00014
00015 #include <wx/sizer.h>
00016 #include <wx/gdicmn.h>
00017 #include <wx/listctrl.h>
00018 #include <wx/font.h>
00019 #include <wx/colour.h>
00020 #include <wx/settings.h>
00021 #include <wx/string.h>
00022 #include <wx/tglbtn.h>
00023 #include <wx/button.h>
00024 #include <wx/bitmap.h>
00025 #include <wx/image.h>
00026 #include <wx/icon.h>
00027 #include <wx/bmpbuttn.h>
00028 #include <wx/scrolwin.h>
00029 #include <wx/panel.h>
00030 #include <wx/textctrl.h>
00031 #include <wx/statbox.h>
00032 #include <wx/stattext.h>
00033 #include <wx/spinctrl.h>
00034 #include <wx/dialog.h>
00035 #include <wx/richtext/richtextctrl.h>
00036 #include <wx/listbox.h>
00037 #include <wx/choice.h>
00038 #include <wx/checkbox.h>
00039 #include <wx/frame.h>
00040
00042
00043 namespace rxtools
00044 {
00045
00049 class RosoutPanelBase : public wxPanel
00050 {
00051 private:
00052
00053 protected:
00054 rxtools::RosoutListControl* table_;
00055 wxBoxSizer* severity_sizer_;
00056 wxToggleButton* pause_button_;
00057 wxButton* clear_button_;
00058 wxButton* setup_button_;
00059 wxButton* clear_button_1;
00060 wxButton* new_window_button_;
00061 wxBoxSizer* filters_pane_sizer_;
00062 wxScrolledWindow* filters_window_;
00063 wxBoxSizer* filters_window_sizer_;
00064 wxBoxSizer* filters_sizer_;
00065 wxBitmapButton* add_filter_button_;
00066
00067
00068 virtual void onSize( wxSizeEvent& event ) { event.Skip(); }
00069 virtual void onPause( wxCommandEvent& event ) { event.Skip(); }
00070 virtual void onClear( wxCommandEvent& event ) { event.Skip(); }
00071 virtual void onSetup( wxCommandEvent& event ) { event.Skip(); }
00072 virtual void onLoggerLevels( wxCommandEvent& event ) { event.Skip(); }
00073 virtual void onNewWindow( wxCommandEvent& event ) { event.Skip(); }
00074
00075
00076 public:
00077
00078 RosoutPanelBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 800,600 ), long style = wxCLIP_CHILDREN|wxTAB_TRAVERSAL );
00079 ~RosoutPanelBase();
00080
00081 };
00082
00086 class RosoutSetupDialogBase : public wxDialog
00087 {
00088 private:
00089
00090 protected:
00091 wxTextCtrl* topic_;
00092 wxButton* topic_browse_button_;
00093 wxStaticText* m_staticText2;
00094 wxSpinCtrl* buffer_size_spinner_;
00095 wxStdDialogButtonSizer* m_sdbSizer1;
00096 wxButton* m_sdbSizer1OK;
00097 wxButton* m_sdbSizer1Cancel;
00098
00099
00100 virtual void onTopicBrowse( wxCommandEvent& event ) { event.Skip(); }
00101 virtual void onCancel( wxCommandEvent& event ) { event.Skip(); }
00102 virtual void onOk( wxCommandEvent& event ) { event.Skip(); }
00103
00104
00105 public:
00106
00107 RosoutSetupDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Rosout Panel Setup"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 331,214 ), long style = wxDEFAULT_DIALOG_STYLE );
00108 ~RosoutSetupDialogBase();
00109
00110 };
00111
00115 class TextboxDialog : public wxDialog
00116 {
00117 private:
00118
00119 protected:
00120
00121
00122 void onChar( wxKeyEvent& event );
00123
00124
00125 public:
00126 wxRichTextCtrl* text_;
00127
00128 TextboxDialog( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 644,362 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
00129 ~TextboxDialog();
00130
00131 };
00132
00136 class LoggerLevelPanelBase : public wxPanel
00137 {
00138 private:
00139
00140 protected:
00141 wxListBox* nodes_box_;
00142 wxButton* nodes_refresh_;
00143 wxListBox* loggers_box_;
00144 wxListBox* levels_box_;
00145
00146
00147 virtual void onNodeSelected( wxCommandEvent& event ) { event.Skip(); }
00148 virtual void onNodesRefresh( wxCommandEvent& event ) { event.Skip(); }
00149 virtual void onLoggerSelected( wxCommandEvent& event ) { event.Skip(); }
00150 virtual void onLevelSelected( wxCommandEvent& event ) { event.Skip(); }
00151
00152
00153 public:
00154
00155 LoggerLevelPanelBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxTAB_TRAVERSAL );
00156 ~LoggerLevelPanelBase();
00157
00158 };
00159
00163 class RosoutTextFilterControlBase : public wxPanel
00164 {
00165 private:
00166
00167 protected:
00168 wxTextCtrl* text_;
00169 wxChoice* include_exclude_;
00170 wxCheckBox* regex_;
00171 wxStaticText* m_staticText2;
00172 wxCheckBox* message_;
00173 wxCheckBox* node_;
00174 wxCheckBox* location_;
00175 wxCheckBox* topics_;
00176
00177
00178 virtual void onText( wxCommandEvent& event ) { event.Skip(); }
00179 virtual void onIncludeExclude( wxCommandEvent& event ) { event.Skip(); }
00180 virtual void onRegex( wxCommandEvent& event ) { event.Skip(); }
00181 virtual void onMessage( wxCommandEvent& event ) { event.Skip(); }
00182 virtual void onNode( wxCommandEvent& event ) { event.Skip(); }
00183 virtual void onLocation( wxCommandEvent& event ) { event.Skip(); }
00184 virtual void onTopics( wxCommandEvent& event ) { event.Skip(); }
00185
00186
00187 public:
00188
00189 RosoutTextFilterControlBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 750,42 ), long style = wxTAB_TRAVERSAL );
00190 ~RosoutTextFilterControlBase();
00191
00192 };
00193
00197 class RosoutSeverityFilterControlBase : public wxPanel
00198 {
00199 private:
00200
00201 protected:
00202 wxStaticText* m_staticText21;
00203 wxCheckBox* fatal_;
00204 wxCheckBox* error_;
00205 wxCheckBox* warn_;
00206 wxCheckBox* info_;
00207 wxCheckBox* debug_;
00208
00209
00210 virtual void onFatal( wxCommandEvent& event ) { event.Skip(); }
00211 virtual void onError( wxCommandEvent& event ) { event.Skip(); }
00212 virtual void onWarn( wxCommandEvent& event ) { event.Skip(); }
00213 virtual void onInfo( wxCommandEvent& event ) { event.Skip(); }
00214 virtual void onDebug( wxCommandEvent& event ) { event.Skip(); }
00215
00216
00217 public:
00218
00219 RosoutSeverityFilterControlBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 750,42 ), long style = wxTAB_TRAVERSAL );
00220 ~RosoutSeverityFilterControlBase();
00221
00222 };
00223
00227 class RosoutFrame : public wxFrame
00228 {
00229 private:
00230
00231 protected:
00232
00233 public:
00234 rxtools::RosoutPanel* rosout_panel_;
00235
00236 RosoutFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("rxconsole"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 800,600 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
00237 ~RosoutFrame();
00238
00239 };
00240
00244 class LoggerLevelFrame : public wxFrame
00245 {
00246 private:
00247
00248 protected:
00249
00250 public:
00251 rxtools::LoggerLevelPanel* logger_panel_;
00252
00253 LoggerLevelFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("rxloggerlevel"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 800,200 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
00254 ~LoggerLevelFrame();
00255
00256 };
00257
00258 }
00259
00260 #endif //__rosout_generated__