15#ifndef GRADIENTUTILS_H
16#define GRADIENTUTILS_H
18#include <QtGui/QGradient>
19#include <QtGui/QPainter>
33 static QPixmap
gradientPixmap(
const QGradient &gradient, QSize size = QSize(64, 64),
34 bool checkeredBackground =
false);
QDesignerIntegrationInterfacePrivate(QDesignerFormEditorInterface *core)
QDesignerFormEditorInterface * m_core
The QDesignerIntegrationInterface glues together parts of \QD and allows for overwriting functionalit...
The QDesignerIntegration class is \QD's implementation of QDesignerIntegrationInterface.
The QDesignerPropertyEditorInterface class allows you to query and manipulate the current state of Qt...
virtual QString propertyGroup(int index) const =0
virtual int indexOf(const QString &name) const =0
static void restoreState(QtGradientManager *manager, const QString &state)
static QString styleSheetCode(const QGradient &gradient)
static QString saveState(const QtGradientManager *manager)
static QPixmap gradientPixmap(const QGradient &gradient, QSize size=QSize(64, 64), bool checkeredBackground=false)
void getSelection(qdesigner_internal::Selection &s)
static void initializePlugins(QDesignerFormEditorInterface *formEditor)
QString contextHelpId() const
QDesignerIntegrationInterface::Feature m_features
void setupFormWindow(QDesignerFormWindowInterface *formWindow)
void addDynamicProperty(const QString &name, const QVariant &value)
QDesignerIntegrationPrivate(QDesignerIntegration *qq)
QObject * propertyEditorObject()
void updateCustomWidgetPlugins()
QWidget * containerWindow(QWidget *widget) const
QtGradientManager * m_gradientManager
void updateProperty(const QString &name, const QVariant &value, bool enableSubPropertyHandling)
QDesignerIntegrationInterface::ResourceFileWatcherBehaviour m_resourceFileWatcherBehaviour
void removeDynamicProperty(const QString &name)
void resetProperty(const QString &name)
Combined button and popup list for selecting options.
Auxiliary methods to store/retrieve settings.
static QString fixHelpClassName(const QString &className)
static QString classForProperty(QDesignerFormEditorInterface *core, QObject *object, const QString &property)