UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Signals | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
hds::ScaleWidget Class Reference

#include <scale_widget.hpp>

Inheritance diagram for hds::ScaleWidget:

Signals

void scale_geom_updated (bool change_rect)
 

Public Member Functions

 ScaleWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~ScaleWidget ()
 
virtual void redraw ()
 
void resize (const QSize &)
 
void resizeToScale ()
 
QzqAreagetZqArea ()
 
ZqScalegetScale ()
 
virtual void updateGeometry (const ZqScale::Placement &placement, bool change_rect=false)
 
bool getInitScaleSize (QSize &init_size) const
 
const QRect & getPrevRect () const
 

Protected Member Functions

void paintEvent (QPaintEvent *event)
 

Protected Attributes

QzqAreamp_zqarea
 
ZqLayoutmp_zqlayout
 
QGridLayout * mp_grid_layout
 
ZqScalemp_scale
 
ZqbNatGroup m_ng
 
QRect m_prev_rect
 

Detailed Description

Widget with scale.

Constructor & Destructor Documentation

hds::ScaleWidget::ScaleWidget ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

Default constructor with parent widget and widget flags provided.

virtual hds::ScaleWidget::~ScaleWidget ( )
virtual

Destructor.

Member Function Documentation

ZqScale* hds::ScaleWidget::getScale ( )
inline

Get pointer to the scale.

QzqArea* hds::ScaleWidget::getZqArea ( )
inline

Get zqools area pointer.

void hds::ScaleWidget::paintEvent ( QPaintEvent *  event)
protected

Zqools area pointer for scale visualization.

virtual void hds::ScaleWidget::redraw ( )
virtual

Redraw the scale.

Member Data Documentation

QGridLayout* hds::ScaleWidget::mp_grid_layout
protected

Zqools scale object.

ZqScale* hds::ScaleWidget::mp_scale
protected

Natural group for the axis.

QzqArea* hds::ScaleWidget::mp_zqarea
protected

Layout for Zqools objects.

ZqLayout* hds::ScaleWidget::mp_zqlayout
protected

Grid layout of the widget.


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