KProperty
KPropertyWidgetsFactory.cpp
136 addPainterInternal( type, dynamic_cast<KPropertyValuePainterInterface*>(creator), false/* !own*/ );
139 addDisplayInternal( type, dynamic_cast<KPropertyValueDisplayInterface*>(creator), false/* !own*/ );
151 addEditorInternal( type, dynamic_cast<KPropertyEditorCreatorInterface*>(painter), false/* !own*/ );
154 addDisplayInternal( type, dynamic_cast<KPropertyValueDisplayInterface*>(painter), false/* !own*/ );
158 void KPropertyWidgetsFactory::addEditorInternal(int type, KPropertyEditorCreatorInterface *editor, bool own)
165 void KPropertyWidgetsFactory::addPainterInternal(int type, KPropertyValuePainterInterface *painter, bool own)
180 const QColor gridLineColor(view ? view->gridLineColor() : KPropertyEditorView::defaultGridLineColor());
203 const QColor gridLineColor(view ? view->gridLineColor() : KPropertyEditorView::defaultGridLineColor());
223 KPropertyEditorCreatorOptionsPrivateArgs((*this)) = KPropertyEditorCreatorOptionsPrivateArgs(other);
226 return KPropertyEditorCreatorOptionsPrivateArgs((*this)) == KPropertyEditorCreatorOptionsPrivateArgs(other);
236 KPropertyEditorCreatorOptions::KPropertyEditorCreatorOptions(const KPropertyEditorCreatorOptions &other)
256 KPropertyEditorCreatorOptions& KPropertyEditorCreatorOptions::operator=(const KPropertyEditorCreatorOptions &other)
264 bool KPropertyEditorCreatorOptions::operator==(const KPropertyEditorCreatorOptions &other) const
void setStyleSheet(const QString &styleSheet)
bool bordersVisible() const
Definition: KPropertyWidgetsFactory.cpp:246
bool operator==(const KPropertyEditorCreatorOptions &other) const
Definition: KPropertyWidgetsFactory.cpp:264
visible
virtual const QMetaObject * metaObject() const const
QWidget * viewport() const const
AlignLeft
An interface for editor widget creators.
Definition: KPropertyWidgetsFactory.h:72
bool operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
width
KIOCORE_EXPORT CopyJob * copy(const QUrl &src, const QUrl &dest, JobFlags flags=DefaultFlags)
QVariant property(const char *name) const const
Label widget that can be used for displaying text-based read-only items Used in KPropertyLabelCreator...
Definition: KPropertyWidgetsFactory.h:112
int left() const const
const KPropertyEditorCreatorOptions * options() const
Options for editor creating.
Definition: KPropertyWidgetsFactory.cpp:302
void drawText(const QPointF &position, const QString &text)
QColor gridLineColor() const
Definition: KPropertyEditorView.cpp:665
const char * className() const const
virtual void paintEvent(QPaintEvent *) override
QWidget * parentWidget() const const
QString arg(qlonglong a, int fieldWidth, int base, QChar fillChar) const const
QString fromLatin1(const char *str, int size)
void setAutoFillBackground(bool enabled)
Options for altering the editor widget creation process.
Definition: KPropertyWidgetsFactory.h:39
KPropertyEditorCreatorOptions & operator=(const KPropertyEditorCreatorOptions &other)
Assigns other to this KPropertyEditorCreatorOptions.
Definition: KPropertyWidgetsFactory.cpp:256
T qobject_cast(QObject *object)
static QColor defaultGridLineColor()
Definition: KPropertyEditorView.h:54
void setLeft(int x)
void setContentsMargins(int left, int top, int right, int bottom)
Provides a specialized conversion of value to string depending on type.
Definition: KPropertyFactory.h:105
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 26 2021 23:02:56 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 26 2021 23:02:56 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.