14DIALOG_PCM_BASE::DIALOG_PCM_BASE( wxWindow* parent, wxWindowID
id,
const wxString& title,
const wxPoint& pos,
const wxSize& size,
long style ) :
DIALOG_SHIM( parent, id, title, pos, size, style )
16 this->SetSizeHints( wxSize( 940,550 ), wxDefaultSize );
18 wxBoxSizer* m_MainSizer;
19 m_MainSizer =
new wxBoxSizer( wxVERTICAL );
21 wxBoxSizer* m_TopSizer;
22 m_TopSizer =
new wxBoxSizer( wxVERTICAL );
24 m_dialogNotebook =
new wxNotebook(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
27 bSizer4 =
new wxBoxSizer( wxVERTICAL );
30 bSizer6 =
new wxBoxSizer( wxHORIZONTAL );
32 wxArrayString m_choiceRepositoryChoices;
38 bSizer6->Add(
m_buttonManage, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
41 bSizer4->Add( bSizer6, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
56 bSizer7 =
new wxBoxSizer( wxVERTICAL );
64 m_panelPending->SetForegroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW ) );
67 bSizer8 =
new wxBoxSizer( wxVERTICAL );
104 bSizer9 =
new wxBoxSizer( wxHORIZONTAL );
112 bSizer9->Add( 0, 0, 1, wxEXPAND, 5 );
115 bSizer8->Add( bSizer9, 0, wxEXPAND, 0 );
126 m_MainSizer->Add( m_TopSizer, 1, wxEXPAND, 5 );
128 wxBoxSizer* m_BottomSizer;
129 m_BottomSizer =
new wxBoxSizer( wxHORIZONTAL );
131 m_refreshButton =
new wxButton(
this, wxID_ANY,
_(
"Refresh"), wxDefaultPosition, wxDefaultSize, 0 );
132 m_BottomSizer->Add(
m_refreshButton, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
134 m_installLocalButton =
new wxButton(
this, wxID_ANY,
_(
"Install from File..."), wxDefaultPosition, wxDefaultSize, 0 );
137 m_openPackageDirButton =
new wxButton(
this, wxID_ANY,
_(
"Open Package Directory"), wxDefaultPosition, wxDefaultSize, 0 );
141 m_BottomSizer->Add( 0, 0, 1, 0, 5 );
152 m_BottomSizer->Add(
m_sdbSizer1, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
155 m_MainSizer->Add( m_BottomSizer, 0, wxEXPAND|wxLEFT, 5 );
158 this->SetSizer( m_MainSizer );
160 m_MainSizer->Fit(
this );
162 this->Centre( wxBOTH );
virtual void OnDiscardActionClicked(wxCommandEvent &event)
wxPanel * m_panelRepository
virtual void OnDiscardChangesClicked(wxCommandEvent &event)
wxChoice * m_choiceRepository
virtual void OnManageRepositoriesClicked(wxCommandEvent &event)
virtual void OnRefreshClicked(wxCommandEvent &event)
virtual void OnInstallFromFileClicked(wxCommandEvent &event)
wxNotebook * m_contentNotebook
virtual void OnOpenPackageDirClicked(wxCommandEvent &event)
WX_GRID * m_gridPendingActions
virtual void OnPendingActionsCellClicked(wxGridEvent &event)
virtual void OnRepositoryChoice(wxCommandEvent &event)
virtual void OnCloseClicked(wxCommandEvent &event)
wxButton * m_buttonManage
wxStdDialogButtonSizer * m_sdbSizer1
virtual void OnApplyChangesClicked(wxCommandEvent &event)
wxButton * m_sdbSizer1Cancel
wxButton * m_openPackageDirButton
wxBitmapButton * m_discardActionButton
wxButton * m_refreshButton
DIALOG_PCM_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Plugin And Content Manager"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
wxNotebook * m_dialogNotebook
wxButton * m_sdbSizer1Apply
wxButton * m_installLocalButton
wxPanel * m_panelInstalledHolder
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
void SetColLabelSize(int aHeight)
Hide wxGrid's SetColLabelSize() method with one which makes sure the size is tall enough for the syst...