QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
Custom QTreeWidgetItem with extra signal when item is edited and numeric sorting. More...
#include <qgssinglebandpseudocolorrendererwidget.h>
Signals | |
void | itemEdited (QTreeWidgetItem *item, int column) |
This signal is emitted when the contents of the column in the specified item has been edited by the user. More... | |
Public Member Functions | |
QgsTreeWidgetItem (QTreeWidget *parent, int type=Type) | |
Constructs a tree widget item of the specified type and appends it to the items in the given parent. More... | |
virtual bool | operator< (const QTreeWidgetItem &other) const |
Returns true if the text in the item is less than the text in the other item, otherwise returns false. More... | |
virtual void | setData (int column, int role, const QVariant &value) |
Sets the value for the item's column and role to the given value. More... | |
Public Member Functions inherited from QObject | |
QObject (QObject *parent) | |
QObject (QObject *parent, const char *name) | |
virtual | ~QObject () |
bool | blockSignals (bool block) |
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
const QObjectList & | children () const |
const char * | className () const |
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
void | deleteLater () |
void | destroyed (QObject *obj) |
bool | disconnect (const QObject *receiver, const char *method) |
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
void | dumpObjectInfo () |
void | dumpObjectTree () |
QList< QByteArray > | dynamicPropertyNames () const |
virtual bool | event (QEvent *e) |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | findChild (const QString &name) const |
QList< T > | findChildren (const QRegExp ®Exp) const |
QList< T > | findChildren (const QString &name) const |
bool | inherits (const char *className) const |
void | insertChild (QObject *object) |
void | installEventFilter (QObject *filterObj) |
bool | isA (const char *className) const |
bool | isWidgetType () const |
void | killTimer (int id) |
virtual const QMetaObject * | metaObject () const |
void | moveToThread (QThread *targetThread) |
const char * | name () const |
const char * | name (const char *defaultName) const |
QString | objectName () const |
QObject * | parent () const |
QVariant | property (const char *name) const |
void | removeChild (QObject *object) |
void | removeEventFilter (QObject *obj) |
void | setName (const char *name) |
void | setObjectName (const QString &name) |
void | setParent (QObject *parent) |
bool | setProperty (const char *name, const QVariant &value) |
bool | signalsBlocked () const |
int | startTimer (int interval) |
QThread * | thread () const |
Public Member Functions inherited from QTreeWidgetItem | |
QTreeWidgetItem (int type) | |
QTreeWidgetItem (const QStringList &strings, int type) | |
QTreeWidgetItem (QTreeWidget *parent, const QStringList &strings, int type) | |
QTreeWidgetItem (QTreeWidgetItem *parent, QTreeWidgetItem *preceding, int type) | |
QTreeWidgetItem (const QTreeWidgetItem &other) | |
QTreeWidgetItem (QTreeWidget *parent, QTreeWidgetItem *preceding, int type) | |
QTreeWidgetItem (QTreeWidget *parent, int type) | |
QTreeWidgetItem (QTreeWidgetItem *parent, int type) | |
QTreeWidgetItem (QTreeWidgetItem *parent, const QStringList &strings, int type) | |
virtual | ~QTreeWidgetItem () |
void | addChild (QTreeWidgetItem *child) |
void | addChildren (const QList< QTreeWidgetItem * > &children) |
QBrush | background (int column) const |
QColor | backgroundColor (int column) const |
Qt::CheckState | checkState (int column) const |
QTreeWidgetItem * | child (int index) const |
int | childCount () const |
QTreeWidgetItem::ChildIndicatorPolicy | childIndicatorPolicy () const |
virtual QTreeWidgetItem * | clone () const |
int | columnCount () const |
virtual QVariant | data (int column, int role) const |
Qt::ItemFlags | flags () const |
QFont | font (int column) const |
QBrush | foreground (int column) const |
QIcon | icon (int column) const |
int | indexOfChild (QTreeWidgetItem *child) const |
void | insertChild (int index, QTreeWidgetItem *child) |
void | insertChildren (int index, const QList< QTreeWidgetItem * > &children) |
bool | isDisabled () const |
bool | isExpanded () const |
bool | isFirstColumnSpanned () const |
bool | isHidden () const |
bool | isSelected () const |
QTreeWidgetItem & | operator= (const QTreeWidgetItem &other) |
QTreeWidgetItem * | parent () const |
virtual void | read (QDataStream &in) |
void | removeChild (QTreeWidgetItem *child) |
void | setBackground (int column, const QBrush &brush) |
void | setBackgroundColor (int column, const QColor &color) |
void | setCheckState (int column, Qt::CheckState state) |
void | setChildIndicatorPolicy (QTreeWidgetItem::ChildIndicatorPolicy policy) |
void | setDisabled (bool disabled) |
void | setExpanded (bool expand) |
void | setFirstColumnSpanned (bool span) |
void | setFlags (QFlags< Qt::ItemFlag > flags) |
void | setFont (int column, const QFont &font) |
void | setForeground (int column, const QBrush &brush) |
void | setHidden (bool hide) |
void | setIcon (int column, const QIcon &icon) |
void | setSelected (bool select) |
void | setSizeHint (int column, const QSize &size) |
void | setStatusTip (int column, const QString &statusTip) |
void | setText (int column, const QString &text) |
void | setTextAlignment (int column, int alignment) |
void | setTextColor (int column, const QColor &color) |
void | setToolTip (int column, const QString &toolTip) |
void | setWhatsThis (int column, const QString &whatsThis) |
QSize | sizeHint (int column) const |
void | sortChildren (int column, Qt::SortOrder order) |
QString | statusTip (int column) const |
QTreeWidgetItem * | takeChild (int index) |
QList< QTreeWidgetItem * > | takeChildren () |
QString | text (int column) const |
int | textAlignment (int column) const |
QColor | textColor (int column) const |
QString | toolTip (int column) const |
QTreeWidget * | treeWidget () const |
int | type () const |
QString | whatsThis (int column) const |
virtual void | write (QDataStream &out) const |
Additional Inherited Members | |
Static Public Member Functions inherited from QObject | |
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Protected Member Functions inherited from QObject | |
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const char *signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const char *signal) |
int | receivers (const char *signal) const |
QObject * | sender () const |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *event) |
Protected Member Functions inherited from QTreeWidgetItem | |
void | emitDataChanged () |
Static Protected Member Functions inherited from QObject | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
Properties inherited from QObject | |
objectName | |
Custom QTreeWidgetItem with extra signal when item is edited and numeric sorting.
Definition at line 97 of file qgssinglebandpseudocolorrendererwidget.h.
|
inlineexplicit |
Constructs a tree widget item of the specified type and appends it to the items in the given parent.
Definition at line 102 of file qgssinglebandpseudocolorrendererwidget.h.
|
signal |
This signal is emitted when the contents of the column in the specified item has been edited by the user.
|
virtual |
Returns true if the text in the item is less than the text in the other item, otherwise returns false.
Compares on numeric value of text if possible, otherwise on text.
Reimplemented from QTreeWidgetItem.
Definition at line 47 of file qgssinglebandpseudocolorrendererwidget.cpp.
|
virtual |
Sets the value for the item's column and role to the given value.
Reimplemented from QTreeWidgetItem.
Definition at line 33 of file qgssinglebandpseudocolorrendererwidget.cpp.