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*/ );
158void KPropertyWidgetsFactory::addEditorInternal(int type, KPropertyEditorCreatorInterface *editor, bool own)
165void 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);
236KPropertyEditorCreatorOptions::KPropertyEditorCreatorOptions(const KPropertyEditorCreatorOptions &other)
An interface for editor widget creators.
Definition KPropertyWidgetsFactory.h:73
const KPropertyEditorCreatorOptions * options() const
Options for editor creating.
Definition KPropertyWidgetsFactory.cpp:302
Options for altering the editor widget creation process.
Definition KPropertyWidgetsFactory.h:39
bool operator==(const KPropertyEditorCreatorOptions &other) const
Definition KPropertyWidgetsFactory.cpp:264
bool bordersVisible() const
Definition KPropertyWidgetsFactory.cpp:246
KPropertyEditorCreatorOptions & operator=(const KPropertyEditorCreatorOptions &other)
Assigns other to this KPropertyEditorCreatorOptions.
Definition KPropertyWidgetsFactory.cpp:256
static QColor defaultGridLineColor()
Definition KPropertyEditorView.h:54
QColor gridLineColor() const
Definition KPropertyEditorView.cpp:665
Label widget that can be used for displaying text-based read-only items Used in KPropertyLabelCreator...
Definition KPropertyWidgetsFactory.h:113
Provides a specialized conversion of value to string depending on type.
Definition KPropertyFactory.h:106
const QList< QKeySequence > & copy()
bool operator==(const StyleDelim &l, const StyleDelim &r)
QWidget * viewport() const const
iterator insert(const Key &key, const T &value)
virtual bool event(QEvent *e) override
virtual void paintEvent(QPaintEvent *) override
void setText(const QString &)
const char * className() const const
virtual const QMetaObject * metaObject() const const
QVariant property(const char *name) const const
void drawText(const QPoint &position, const QString &text)
iterator insert(const T &value)
QString arg(Args &&... args) const const
QString fromLatin1(QByteArrayView str)
AlignLeft
QWidget * parentWidget() const const
void setStyleSheet(const QString &styleSheet)
width
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:09 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:09 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.