#include <kptresourceview.h>
Signals | |
| void | contextMenuRequested (QTreeWidgetItem *, const QPoint &, int) |
Public Member Functions | |
| ResListView (QWidget *parent=0) | |
| int | headerHeight () const |
| virtual void | paintToPrinter (QPainter *p, int x, int y, int w, int h) |
| int | calculateY (int ymin, int ymax) const |
Protected Member Functions | |
| int | buildDrawables (QList< ResListView::DrawableItem * > &lst, int level, int ypos, QTreeWidgetItem *item, int ymin, int ymax) const |
| virtual void | drawAllContents (QPainter *p, int cx, int cy, int cw, int ch) |
Private Slots | |
| void | slotContextMenuRequested (const QPoint &p) |
Classes | |
| class | DrawableItem |
Definition at line 49 of file kptresourceview.h.
| KPlato::ResListView::ResListView | ( | QWidget * | parent = 0 |
) |
| int KPlato::ResListView::headerHeight | ( | ) | const |
Definition at line 58 of file kptresourceview.cc.
Referenced by KPlato::ResourceView::listOffsets(), paintToPrinter(), and KPlato::ResourceView::print().
| void KPlato::ResListView::paintToPrinter | ( | QPainter * | p, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h | |||
| ) | [virtual] |
Definition at line 62 of file kptresourceview.cc.
References drawAllContents(), and headerHeight().
Referenced by KPlato::ResourceView::print().
| int KPlato::ResListView::calculateY | ( | int | ymin, | |
| int | ymax | |||
| ) | const |
Definition at line 104 of file kptresourceview.cc.
References buildDrawables().
Referenced by KPlato::ResourceView::listOffsets().
| void KPlato::ResListView::contextMenuRequested | ( | QTreeWidgetItem * | , | |
| const QPoint & | , | |||
| int | ||||
| ) | [signal] |
Referenced by slotContextMenuRequested().
| int KPlato::ResListView::buildDrawables | ( | QList< ResListView::DrawableItem * > & | lst, | |
| int | level, | |||
| int | ypos, | |||
| QTreeWidgetItem * | item, | |||
| int | ymin, | |||
| int | ymax | |||
| ) | const [protected] |
Definition at line 130 of file kptresourceview.cc.
Referenced by calculateY(), and drawAllContents().
| void KPlato::ResListView::drawAllContents | ( | QPainter * | p, | |
| int | cx, | |||
| int | cy, | |||
| int | cw, | |||
| int | ch | |||
| ) | [protected, virtual] |
Definition at line 156 of file kptresourceview.cc.
References buildDrawables(), KPlato::ResListView::DrawableItem::i, KPlato::ResListView::DrawableItem::l, and KPlato::ResListView::DrawableItem::y.
Referenced by paintToPrinter().
| void KPlato::ResListView::slotContextMenuRequested | ( | const QPoint & | p | ) | [private, slot] |
Definition at line 290 of file kptresourceview.cc.
References contextMenuRequested().
Referenced by ResListView().
1.5.1-p1