7#include <shared_enums_p.h>
8#include <textpropertyeditor_p.h>
10#include <QtWidgets/qwidget.h>
12#include <QtGui/qfont.h>
14QT_FORWARD_DECLARE_CLASS(QAction)
15QT_FORWARD_DECLARE_CLASS(QHBoxLayout)
16QT_FORWARD_DECLARE_CLASS(QLabel)
17QT_FORWARD_DECLARE_CLASS(QMenu)
18QT_FORWARD_DECLARE_CLASS(QToolButton)
22class QDesignerFormEditorInterface;
56 void resourceActionActivated();
57 void fileActionActivated();
60 TextPropertyEditor *m_editor;
61 IconThemeEditor *m_themeEditor;
62 bool m_iconThemeModeEnabled;
63 QFont m_richTextDefaultFont;
64 QToolButton *m_button;
66 QAction *m_resourceAction;
67 QAction *m_fileAction;
68 QHBoxLayout *m_layout;
69 QDesignerFormEditorInterface *m_core;
static QString msgMissingThemeIcon(const QString &t)
void setTheme(const QString &theme)
void setDefaultPixmap(const QPixmap &pixmap)
static QString displayText(const PropertySheetIconValue &icon)
void setSpacing(int spacing)
void setPixmapCache(DesignerPixmapCache *cache)
static QString msgThemeIcon(const QString &t)
void setDefaultPixmapIcon(const QIcon &icon)
void setIconThemeModeEnabled(bool enabled)
void contextMenuEvent(QContextMenuEvent *event) override
This event handler, for event event, can be reimplemented in a subclass to receive widget context men...
void themeEnumChanged(int themeEnum)
void themeChanged(const QString &theme)
void setRange(qlonglong bottom, qlonglong top)
QLongLongValidator(qlonglong bottom, qlonglong top, QObject *parent)
void setBottom(qlonglong)
QULongLongValidator(qulonglong bottom, qulonglong top, QObject *parent)
void setBottom(qulonglong)
void setRange(qulonglong bottom, qulonglong top)
qulonglong bottom() const
TextPropertyValidationMode textPropertyValidationMode() const
void setSpacing(int spacing)
QFont richTextDefaultFont() const
void setRichTextDefaultFont(const QFont &font)
void setTextPropertyValidationMode(TextPropertyValidationMode vm)
static constexpr auto defaultResourceAttributeC
static constexpr auto themeEnumAttributeC
static constexpr auto flagsAttributeC
static constexpr auto validationModesAttributeC
static constexpr auto resettableAttributeC
static constexpr auto themeAttributeC
static constexpr auto superPaletteAttributeC
static constexpr auto fontAttributeC
Auxiliary methods to store/retrieve settings.
TextPropertyValidationMode
#define QT_PROPERTYEDITOR_EXPORT