2014-08-23 21:50:11 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/qt/statbox.h
|
|
|
|
// Author: Peter Most, Mariano Reingart
|
|
|
|
// Copyright: (c) 2010 wxWidgets dev team
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_QT_STATBOX_H_
|
|
|
|
#define _WX_QT_STATBOX_H_
|
|
|
|
|
2016-08-25 11:56:00 -04:00
|
|
|
class QGroupBox;
|
2014-08-23 21:50:11 -04:00
|
|
|
|
|
|
|
class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
wxStaticBox();
|
2019-01-30 11:28:08 -05:00
|
|
|
|
2014-08-23 21:50:11 -04:00
|
|
|
wxStaticBox(wxWindow *parent, wxWindowID id,
|
|
|
|
const wxString& label,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
long style = 0,
|
|
|
|
const wxString& name = wxStaticBoxNameStr);
|
|
|
|
|
|
|
|
bool Create(wxWindow *parent, wxWindowID id,
|
|
|
|
const wxString& label,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
long style = 0,
|
|
|
|
const wxString& name = wxStaticBoxNameStr);
|
|
|
|
|
2019-04-05 14:08:53 -04:00
|
|
|
virtual void GetBordersForSizer(int *borderTop, int *borderOther) const wxOVERRIDE;
|
2014-08-23 21:50:11 -04:00
|
|
|
|
2019-04-05 14:08:53 -04:00
|
|
|
virtual QWidget *GetHandle() const wxOVERRIDE;
|
2014-08-23 21:50:11 -04:00
|
|
|
|
2019-01-23 05:43:57 -05:00
|
|
|
virtual void SetLabel(const wxString& label) wxOVERRIDE;
|
|
|
|
virtual wxString GetLabel() const wxOVERRIDE;
|
|
|
|
|
2014-08-23 21:50:11 -04:00
|
|
|
protected:
|
|
|
|
|
|
|
|
private:
|
|
|
|
QGroupBox *m_qtGroupBox;
|
|
|
|
|
|
|
|
wxDECLARE_DYNAMIC_CLASS( wxStaticBox );
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _WX_QT_STATBOX_H_
|