22 #include "wxgis/catalogui/gxview.h"
23 #include "wxgis/catalog/catalog.h"
24 #include "wxgis/catalogui/gxeventui.h"
27 #include <wx/aui/aui.h>
28 #include <wx/artprov.h>
30 #include <wx/gdicmn.h>
32 #include <wx/colour.h>
33 #include <wx/settings.h>
34 #include <wx/string.h>
35 #include <wx/combobox.h>
36 #include <wx/stattext.h>
39 #define LISTSTR _("Content")
40 #define PREVIEWSTR _("Preview")
59 ID_WNDCHOICE = wxID_HIGHEST + 3500
63 wxGxTab(
wxGxApplication* application, wxXmlNode* pTabDesc, wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxTAB_TRAVERSAL);
65 virtual wxString GetName(
void);
66 virtual wxWindow* GetWindow(
int iIndex);
67 virtual wxWindow* GetCurrentWindow(
void){
return m_pCurrentWnd;};
68 virtual size_t GetCount(
void){
return m_pWindows.size();};
69 virtual bool Show(
bool bShow);
71 virtual void Deactivate(
void);
73 virtual wxDragResult OnDragOver(wxCoord x, wxCoord y, wxDragResult def);
74 virtual bool OnDropObjects(wxCoord x, wxCoord y,
const wxArrayString& GxObjects,
bool bIsControlOn);
75 virtual void OnLeave();
76 virtual bool CanPaste(
void);
78 virtual void OnChoice(wxCommandEvent& event);
81 wxVector<wxWindow*> m_pWindows;
85 wxPanel* m_tabselector;
86 wxStaticText* m_staticText;
88 wxBoxSizer* m_bSizerMain;
91 wxWindow *m_pCurrentWnd, *m_pNoWnd;
106 public wxAuiNotebook,
112 wxGxTabView(wxWindow* parent, wxWindowID
id = TABCTRLID,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize);
115 virtual bool Create(wxWindow* parent, wxWindowID
id = TABCTRLID,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxTAB_TRAVERSAL|wxNO_FULL_REPAINT_ON_RESIZE | wxCLIP_CHILDREN,
const wxString& name = wxT(
"TabView"));
116 virtual bool Activate(
IApplication*
const application, wxXmlNode*
const pConf);
117 virtual void Deactivate(
void);
119 virtual void OnAUINotebookPageChanged(wxAuiNotebookEvent& event);
122 wxVector<wxGxTab*> m_Tabs;
123 long m_ConnectionPointSelectionCookie;
127 DECLARE_EVENT_TABLE()
The GxSelection class event.
Definition: gxeventui.h:37
Definition: gxtabview.h:105
The GxObject Selection class.
Definition: gxselection.h:30
Definition: gxtabview.h:51
Definition: framework.h:59
Definition: gxapplication.h:41