Classes | Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Types | Private Slots | Private Member Functions | Private Attributes | List of all members
swri_profiler_tools::PartitionWidget Class Reference

#include <partition_widget.h>

Inheritance diagram for swri_profiler_tools::PartitionWidget:
Inheritance graph
[legend]

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< LayoutItemLayout
 

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_
 
ProfileDatabasedb_
 
VariantAnimationview_animator_
 
QTransform win_from_data_
 

Detailed Description

Definition at line 47 of file partition_widget.h.

Member Typedef Documentation

Definition at line 72 of file partition_widget.h.

Constructor & Destructor Documentation

swri_profiler_tools::PartitionWidget::PartitionWidget ( QWidget *  parent = 0)

Definition at line 55 of file partition_widget.cpp.

swri_profiler_tools::PartitionWidget::~PartitionWidget ( )

Definition at line 66 of file partition_widget.cpp.

Member Function Documentation

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.

void swri_profiler_tools::PartitionWidget::setDatabase ( ProfileDatabase db)

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 ( )
privateslot

Definition at line 87 of file partition_widget.cpp.

Member Data Documentation

DatabaseKey swri_profiler_tools::PartitionWidget::active_key_
private

Definition at line 75 of file partition_widget.h.

Layout swri_profiler_tools::PartitionWidget::current_layout_
private

Definition at line 82 of file partition_widget.h.

ProfileDatabase* swri_profiler_tools::PartitionWidget::db_
private

Definition at line 74 of file partition_widget.h.

VariantAnimation* swri_profiler_tools::PartitionWidget::view_animator_
private

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.


The documentation for this class was generated from the following files:


swri_profiler_tools
Author(s):
autogenerated on Fri Nov 27 2020 03:44:18