19#ifndef _INFORMATION_DLG_H_
20#define _INFORMATION_DLG_H_
30#include <wx/html/htmlwin.h>
31#include <wx/notebook.h>
33#include "../components/wxtreemultictrl/TreeMultiItemWindow.h"
34#include "../components/wxtreemultictrl/wxTreeMultiCtrl.h"
46const int ID_INFORMATION_DLG = 22401;
55 void _CreateControls();
57 void OnCloseDlg(wxCloseEvent& event);
59 DECLARE_EVENT_TABLE();
63 const wxString& title = _(
"Informations"),
const wxPoint& pos = wxDefaultPosition,
64 const wxSize& size = wxDefaultSize,
65 long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxFRAME_FLOAT_ON_PARENT);
69 virtual bool TransferDataToWindow();
73 void UpdateSelection();
85 tmLayerInfoCtrl(wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size);
97const int ID_POPUP_MOVE_TO = 18500;
98const int ID_POPUP_ZOOM_TO = 18501;
99const int ID_POPUP_REMOVE_FROM_SEL = 18502;
100const int ID_POPUP_ONLY_THIS_OBJ = 18503;
105 long m_ClickedItemID;
109 bool _GetItemByMousePos(
wxTreeMultiItem& item,
const wxPoint& position);
113 wxMenu* _CreatePopupMenu();
115 void _CreateInfoControl(
const wxTreeMultiItem& item,
const wxArrayString& header,
const wxArrayString& values);
117 void _UpdateSelection();
119 bool _GetData(
long oid, wxArrayString& header, wxArrayString& values);
122 void OnItemLeftClick(wxMouseEvent& event);
124 void OnItemRightClick(wxMouseEvent& event);
126 void OnPopupSelectionThis(wxCommandEvent& event);
128 void OnPopupSelectionRemove(wxCommandEvent& event);
130 void OnPopupMove(wxCommandEvent& event);
132 void OnPopupZoom(wxCommandEvent& event);
134 void OnPopupCopy(wxCommandEvent& event);
136 DECLARE_EVENT_TABLE();
140 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
145 void UpdateSelection();
Definition prjdefmemmanage.h:54
Definition information_dlg.h:83
Store ID of selected data into memory.
Definition tmselecteddatamemory.h:43
Definition information_dlg.h:102
This is the visual control, which will contain all the logic for the tree mechanism.
Definition wxTreeMultiCtrl.h:541
An intermediate class which is used to return as 'item' value for the wxTreeMultiCtrl....
Definition wxTreeMultiCtrl.h:173
#define wxTMC_BG_ADJUST_ALL
Definition wxTreeMultiCtrl.h:99
#define wxTMC_SPAN_WIDTH
Definition wxTreeMultiCtrl.h:102