15PANEL_PACKAGES_VIEW_BASE::PANEL_PACKAGES_VIEW_BASE( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
long style,
const wxString&
name ) : wxPanel( parent, id, pos, size, style,
name )
18 bSizer1 =
new wxBoxSizer( wxVERTICAL );
25 wxBoxSizer* bPanelListSizer;
26 bPanelListSizer =
new wxBoxSizer( wxVERTICAL );
29 bSizer8 =
new wxBoxSizer( wxHORIZONTAL );
42 bPanelListSizer->Add( bSizer8, 0, wxEXPAND, 5 );
44 m_packageListWindow =
new wxScrolledWindow(
m_panelList, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxBORDER_NONE|wxFULL_REPAINT_ON_RESIZE|wxVSCROLL );
47 bSizer2 =
new wxBoxSizer( wxVERTICAL );
60 wxBoxSizer* bPanelDetailsSizer;
61 bPanelDetailsSizer =
new wxBoxSizer( wxHORIZONTAL );
67 wxBoxSizer* bSizerScrolledWindow;
68 bSizerScrolledWindow =
new wxBoxSizer( wxVERTICAL );
73 bSizerScrolledWindow->Add(
m_infoText, 0, wxALL|wxEXPAND, 5 );
96 m_gridVersions->SetColLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
101 m_gridVersions->SetRowLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
106 m_gridVersions->SetDefaultCellAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
109 wxBoxSizer* bSizerVersionButtons;
110 bSizerVersionButtons =
new wxBoxSizer( wxHORIZONTAL );
113 bSizerVersionButtons->Add(
m_showAllVersions, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM, 5 );
116 bSizerVersionButtons->Add( 0, 0, 1, wxEXPAND, 5 );
119 bSizerVersionButtons->Add(
m_buttonDownload, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
122 bSizerVersionButtons->Add(
m_buttonAction, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM|wxLEFT, 5 );
128 bSizerScrolledWindow->Add(
m_sizerVersions, 0, wxEXPAND|wxRIGHT|wxLEFT, 3 );
144 this->SetSizer( bSizer1 );
146 bSizer1->Fit(
this );
Add dark theme support to wxHtmlWindow.
WX_SPLITTER_WINDOW * m_splitter1
virtual void OnVersionActionClicked(wxCommandEvent &event)
wxScrolledWindow * m_packageListWindow
virtual void OnVersionsCellClicked(wxGridEvent &event)
void m_splitter1OnIdle(wxIdleEvent &)
PANEL_PACKAGES_VIEW_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
wxButton * m_buttonAction
virtual void OnUpdateAllClicked(wxCommandEvent &event)
virtual void OnURLClicked(wxHtmlLinkEvent &event)
wxButton * m_buttonUpdateAll
wxButton * m_buttonDownload
virtual void OnShowAllVersionsClicked(wxCommandEvent &event)
wxBoxSizer * m_sizerVersions
virtual void OnInfoMouseWheel(wxMouseEvent &event)
virtual void OnSizeInfoBox(wxSizeEvent &event)
wxCheckBox * m_showAllVersions
wxScrolledWindow * m_infoScrollWindow
~PANEL_PACKAGES_VIEW_BASE()
wxSearchCtrl * m_searchCtrl
virtual void OnDownloadVersionClicked(wxCommandEvent &event)
void SetColLabelSize(int aHeight)
Hide wxGrid's SetColLabelSize() method with one which makes sure the size is tall enough for the syst...