krita/ui
KisTreeViewPopup Class Reference
This class is a workaround some limitation of QComboBox which doesn't allow to embed a QTreeView (see http://trolltech.com/developer/task-tracker/index_html?method=entry&id=87744 and http://trolltech.com/developer/task-tracker/index_html?method=entry&id=109685). More...
#include <kis_tree_view_popup.h>

Public Slots | |
| void | setCurrentIndex (const QModelIndex &) |
Signals | |
| void | currentItemChanged (const QModelIndex &) |
Public Member Functions | |
| KisTreeViewPopup (QWidget *parent) | |
| void | setCurrentFilterId (const QString &id) |
| void | setModel (QAbstractItemModel *model) |
Protected Member Functions | |
| virtual void | resizeEvent (QResizeEvent *event) |
Detailed Description
This class is a workaround some limitation of QComboBox which doesn't allow to embed a QTreeView (see http://trolltech.com/developer/task-tracker/index_html?method=entry&id=87744 and http://trolltech.com/developer/task-tracker/index_html?method=entry&id=109685).
Once (if) those bugs are fixed, this class should be removed and should not be part of Krita's official API.
Definition at line 36 of file kis_tree_view_popup.h.
Constructor & Destructor Documentation
| KisTreeViewPopup::KisTreeViewPopup | ( | QWidget * | parent | ) |
Definition at line 32 of file kis_tree_view_popup.cc.
Member Function Documentation
| void KisTreeViewPopup::currentItemChanged | ( | const QModelIndex & | ) | [signal] |
| void KisTreeViewPopup::resizeEvent | ( | QResizeEvent * | event | ) | [protected, virtual] |
Definition at line 48 of file kis_tree_view_popup.cc.
| void KisTreeViewPopup::setCurrentFilterId | ( | const QString & | id | ) |
| void KisTreeViewPopup::setCurrentIndex | ( | const QModelIndex & | idx | ) | [slot] |
Definition at line 53 of file kis_tree_view_popup.cc.
| void KisTreeViewPopup::setModel | ( | QAbstractItemModel * | model | ) |
Definition at line 43 of file kis_tree_view_popup.cc.
The documentation for this class was generated from the following files:
