#include <partition_widget.h>
Classes | |
| struct | LayoutItem |
Public Slots | |
| void | setActiveNode (int profile_key, int node_key) |
Signals | |
| void | activeNodeChanged (int profile_key, int node_key) |
Public Member Functions | |
| PartitionWidget (QWidget *parent=0) | |
| void | setDatabase (ProfileDatabase *db) |
| ~PartitionWidget () | |
Protected Member Functions | |
| bool | event (QEvent *event) |
| void | mouseDoubleClickEvent (QMouseEvent *event) |
| void | mousePressEvent (QMouseEvent *event) |
| void | paintEvent (QPaintEvent *event) |
| void | toolTipEvent (QHelpEvent *event) |
Private Types | |
| typedef std::vector< LayoutItem > | Layout |
Private Slots | |
| void | updateData () |
Private Member Functions | |
| QRectF | dataRect (const Layout &layout) const |
| QTransform | getTransform (const QRectF &win_rect, const QRectF &data_rect) |
| int | itemAtPoint (const QPointF &point) const |
| Layout | layoutProfile (const Profile &profile) |
| void | renderLayout (QPainter &painter, const QTransform &win_from_rect, const Layout &layout, const Profile &profile) |
Private Attributes | |
| DatabaseKey | active_key_ |
| Layout | current_layout_ |
| ProfileDatabase * | db_ |
| VariantAnimation * | view_animator_ |
| QTransform | win_from_data_ |
Definition at line 47 of file partition_widget.h.
typedef std::vector<LayoutItem> swri_profiler_tools::PartitionWidget::Layout [private] |
Definition at line 72 of file partition_widget.h.
| swri_profiler_tools::PartitionWidget::PartitionWidget | ( | QWidget * | parent = 0 | ) |
Definition at line 55 of file partition_widget.cpp.
Definition at line 66 of file partition_widget.cpp.
| void swri_profiler_tools::PartitionWidget::activeNodeChanged | ( | int | profile_key, |
| int | node_key | ||
| ) | [signal] |
| QRectF swri_profiler_tools::PartitionWidget::dataRect | ( | const Layout & | layout | ) | const [private] |
Definition at line 122 of file partition_widget.cpp.
| bool swri_profiler_tools::PartitionWidget::event | ( | QEvent * | event | ) | [protected] |
Definition at line 312 of file partition_widget.cpp.
| QTransform swri_profiler_tools::PartitionWidget::getTransform | ( | const QRectF & | win_rect, |
| const QRectF & | data_rect | ||
| ) | [private] |
Definition at line 287 of file partition_widget.cpp.
| int swri_profiler_tools::PartitionWidget::itemAtPoint | ( | const QPointF & | point | ) | const [private] |
Definition at line 301 of file partition_widget.cpp.
| PartitionWidget::Layout swri_profiler_tools::PartitionWidget::layoutProfile | ( | const Profile & | profile | ) | [private] |
Definition at line 182 of file partition_widget.cpp.
| void swri_profiler_tools::PartitionWidget::mouseDoubleClickEvent | ( | QMouseEvent * | event | ) | [protected] |
Definition at line 354 of file partition_widget.cpp.
| void swri_profiler_tools::PartitionWidget::mousePressEvent | ( | QMouseEvent * | event | ) | [protected] |
Definition at line 350 of file partition_widget.cpp.
| void swri_profiler_tools::PartitionWidget::paintEvent | ( | QPaintEvent * | event | ) | [protected] |
Definition at line 102 of file partition_widget.cpp.
| void swri_profiler_tools::PartitionWidget::renderLayout | ( | QPainter & | painter, |
| const QTransform & | win_from_rect, | ||
| const Layout & | layout, | ||
| const Profile & | profile | ||
| ) | [private] |
Definition at line 259 of file partition_widget.cpp.
| void swri_profiler_tools::PartitionWidget::setActiveNode | ( | int | profile_key, |
| int | node_key | ||
| ) | [slot] |
Definition at line 148 of file partition_widget.cpp.
Definition at line 70 of file partition_widget.cpp.
| void swri_profiler_tools::PartitionWidget::toolTipEvent | ( | QHelpEvent * | event | ) | [protected] |
Definition at line 322 of file partition_widget.cpp.
| void swri_profiler_tools::PartitionWidget::updateData | ( | ) | [private, slot] |
Definition at line 87 of file partition_widget.cpp.
Definition at line 75 of file partition_widget.h.
Definition at line 82 of file partition_widget.h.
Definition at line 74 of file partition_widget.h.
Definition at line 79 of file partition_widget.h.
QTransform swri_profiler_tools::PartitionWidget::win_from_data_ [private] |
Definition at line 80 of file partition_widget.h.