27 #ifndef _CONNECT_DIALOG_H
28 #define _CONNECT_DIALOG_H
30 #include <wx/checkbox.h>
31 #include <wx/listctrl.h>
32 #include <wx/radiobut.h>
33 #include <wx/stattext.h>
35 #include "model/conn_params.h"
36 #include "model/comm_util.h"
38 #include "observable.h"
54 void SetInitialSettings(
void);
57 void OnAddDatasourceClick(wxCommandEvent &event);
58 void OnEditDatasourceClick(wxCommandEvent &event);
59 void OnRemoveDatasourceClick(wxCommandEvent &event);
61 void OnShowGpsWindowCheckboxClick(wxCommandEvent& event);
63 void OnPriorityDialog(wxCommandEvent &event);
65 void FillSourceList();
66 void UpdateSourceList(
bool bResort);
67 bool SortSourceList(
void);
69 void UpdateDatastreams();
70 void OnSize(wxSizeEvent &ev);
73 wxScrolledWindow *m_container;
77 wxButton *m_buttonAdd, *m_buttonRemove, *m_buttonEdit;
79 wxTextCtrl *m_tFilterSec;
80 wxStaticText *m_stFilterSec, *m_stTalkerIdText;
81 wxCheckBox *m_cbGarminUploadHost;
82 wxCheckBox *m_cbFurunoGP3X, *m_cbNMEADebug, *m_cbFilterSogCog, *m_cbInput;
83 wxCheckBox *m_cbAPBMagnetic;
84 wxButton *m_ButtonPriorityDialog;
85 wxBoxSizer *boxSizerConnections;
86 wxBoxSizer *m_bSizerOuterContainer;
87 wxStaticBoxSizer *m_sbSizerLB;
88 wxTextCtrl *m_TalkerIdText;
91 wxPanel *m_scrollWinConnections;
93 wxScrolledWindow *m_scrollWinConnections;