2014-08-23 21:50:11 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/qt/fontdlg.h
|
|
|
|
// Author: Peter Most
|
|
|
|
// Copyright: (c) Peter Most
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_QT_FONTDLG_H_
|
|
|
|
#define _WX_QT_FONTDLG_H_
|
|
|
|
|
|
|
|
#include <QtWidgets/QFontDialog>
|
|
|
|
|
|
|
|
class WXDLLIMPEXP_CORE wxFontDialog : public wxFontDialogBase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
wxFontDialog() { }
|
|
|
|
wxFontDialog(wxWindow *parent) { Create(parent); }
|
|
|
|
wxFontDialog(wxWindow *parent, const wxFontData& data) { Create(parent, data); }
|
|
|
|
|
|
|
|
virtual QFontDialog *GetHandle() const { return static_cast<QFontDialog *>(m_qtWindow); }
|
|
|
|
|
|
|
|
protected:
|
|
|
|
bool DoCreate(wxWindow *parent);
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
wxFontData m_data;
|
|
|
|
|
2015-04-23 07:49:01 -04:00
|
|
|
wxDECLARE_DYNAMIC_CLASS(wxFontDialog);
|
2014-08-23 21:50:11 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _WX_QT_FONTDLG_H_
|