#include <KoDocumentSectionView.h>
Graphe de collaboration de KoDocumentSectionView:
Types publics | |
enum | DisplayMode { ThumbnailMode, DetailedMode, MinimalMode } |
how items should be displayed Plus de détails... | |
Signaux | |
void | contextMenuRequested (const QPoint &globalPos, const QModelIndex &index) |
Fonctions membres publiques | |
KoDocumentSectionView (QWidget *parent=0) | |
virtual | ~KoDocumentSectionView () |
void | setDisplayMode (DisplayMode mode) |
DisplayMode | displayMode () const |
void | addPropertyActions (QMenu *menu, const QModelIndex &index) |
Connecteurs protégés | |
virtual void | currentChanged (const QModelIndex ¤t, const QModelIndex &previous) |
virtual void | dataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
Fonctions membres protégées | |
virtual bool | viewportEvent (QEvent *event) |
virtual void | contextMenuEvent (QContextMenuEvent *event) |
virtual void | showContextMenu (const QPoint &globalPos, const QModelIndex &index) |
Types privés | |
typedef QTreeView | super |
typedef KoDocumentSectionModel | Model |
Connecteurs privés | |
void | slotActionToggled (bool on, const QPersistentModelIndex &index, int property) |
Fonctions membres privées | |
QStyleOptionViewItem | optionForIndex (const QModelIndex &index) const |
Attributs privés | |
Private *const | d |
Classes | |
class | Private |
class | PropertyAction |
Définition à la ligne 29 du fichier KoDocumentSectionView.h.
typedef QTreeView KoDocumentSectionView::super [private] |
Définition à la ligne 31 du fichier KoDocumentSectionView.h.
typedef KoDocumentSectionModel KoDocumentSectionView::Model [private] |
Définition à la ligne 74 du fichier KoDocumentSectionView.h.
how items should be displayed
Définition à la ligne 42 du fichier KoDocumentSectionView.h.
KoDocumentSectionView::KoDocumentSectionView | ( | QWidget * | parent = 0 |
) |
Définition à la ligne 41 du fichier KoDocumentSectionView.cpp.
Références d, et KoDocumentSectionView::Private::delegate.
KoDocumentSectionView::~KoDocumentSectionView | ( | ) | [virtual] |
void KoDocumentSectionView::contextMenuRequested | ( | const QPoint & | globalPos, | |
const QModelIndex & | index | |||
) | [signal] |
Référencé par showContextMenu().
void KoDocumentSectionView::setDisplayMode | ( | DisplayMode | mode | ) |
Définition à la ligne 58 du fichier KoDocumentSectionView.cpp.
Références d, et KoDocumentSectionView::Private::mode.
KoDocumentSectionView::DisplayMode KoDocumentSectionView::displayMode | ( | ) | const |
Définition à la ligne 67 du fichier KoDocumentSectionView.cpp.
Références d, et KoDocumentSectionView::Private::mode.
Référencé par KoDocumentSectionDelegate::decorationRect(), KoDocumentSectionDelegate::iconsRect(), KoDocumentSectionDelegate::sizeHint(), KoDocumentSectionDelegate::textRect(), et KoDocumentSectionDelegate::thumbnailRect().
Voici le graphe d'appel pour cette fonction :
void KoDocumentSectionView::addPropertyActions | ( | QMenu * | menu, | |
const QModelIndex & | index | |||
) |
Définition à la ligne 72 du fichier KoDocumentSectionView.cpp.
Références main::a, KoDocumentSectionModel::PropertiesRole, et slotActionToggled().
bool KoDocumentSectionView::viewportEvent | ( | QEvent * | event | ) | [protected, virtual] |
Définition à la ligne 85 du fichier KoDocumentSectionView.cpp.
Références d, KoDocumentSectionView::Private::delegate, KoDocumentSectionDelegate::editorEvent(), KoDocumentSectionView::Private::hovered, optionForIndex(), et gensymbolfontmap::pos.
Voici le graphe d'appel pour cette fonction :
void KoDocumentSectionView::contextMenuEvent | ( | QContextMenuEvent * | event | ) | [protected, virtual] |
Définition à la ligne 143 du fichier KoDocumentSectionView.cpp.
Références showContextMenu().
Voici le graphe d'appel pour cette fonction :
void KoDocumentSectionView::showContextMenu | ( | const QPoint & | globalPos, | |
const QModelIndex & | index | |||
) | [protected, virtual] |
Définition à la ligne 152 du fichier KoDocumentSectionView.cpp.
Références contextMenuRequested().
Référencé par contextMenuEvent().
Voici le graphe d'appel pour cette fonction :
void KoDocumentSectionView::currentChanged | ( | const QModelIndex & | current, | |
const QModelIndex & | previous | |||
) | [protected, virtual, slot] |
Définition à la ligne 157 du fichier KoDocumentSectionView.cpp.
Références KoDocumentSectionModel::ActiveRole.
void KoDocumentSectionView::dataChanged | ( | const QModelIndex & | topLeft, | |
const QModelIndex & | bottomRight | |||
) | [protected, virtual, slot] |
Définition à la ligne 164 du fichier KoDocumentSectionView.cpp.
Références KoDocumentSectionModel::ActiveRole.
void KoDocumentSectionView::slotActionToggled | ( | bool | on, | |
const QPersistentModelIndex & | index, | |||
int | property | |||
) | [private, slot] |
Définition à la ligne 176 du fichier KoDocumentSectionView.cpp.
Références KoDocumentSectionModel::PropertiesRole.
Référencé par addPropertyActions().
QStyleOptionViewItem KoDocumentSectionView::optionForIndex | ( | const QModelIndex & | index | ) | const [private] |
Définition à la ligne 183 du fichier KoDocumentSectionView.cpp.
Référencé par viewportEvent().
Voici le graphe d'appel pour cette fonction :
Private* const KoDocumentSectionView::d [private] |
Définition à la ligne 76 du fichier KoDocumentSectionView.h.
Référencé par displayMode(), KoDocumentSectionView(), setDisplayMode(), viewportEvent(), et ~KoDocumentSectionView().