You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
480 B
26 lines
480 B
7 years ago
|
#ifndef QTMVVM_FONTCOMBOBOX_P_H
|
||
|
#define QTMVVM_FONTCOMBOBOX_P_H
|
||
|
|
||
|
#include <QtWidgets/QFontComboBox>
|
||
|
|
||
|
#include "qtmvvmwidgets_global.h"
|
||
|
|
||
|
namespace QtMvvm {
|
||
|
|
||
|
class FontComboBox : public QFontComboBox
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
Q_PROPERTY(QFont currentFont READ currentFont WRITE setCurrentFont NOTIFY currentFontChangedImp USER true)
|
||
|
|
||
|
public:
|
||
|
explicit FontComboBox(QWidget *parent = nullptr);
|
||
|
|
||
|
Q_SIGNALS:
|
||
|
void currentFontChangedImp(const QFont &font);
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif // QTMVVM_FONTCOMBOBOX_P_H
|