Public Member Functions | Protected Member Functions | Private Attributes | List of all members
UOrientableLabel Class Reference

#include <UPlot.h>

Inheritance diagram for UOrientableLabel:
Inheritance graph
[legend]

Public Member Functions

QSize minimumSizeHint () const
 
Qt::Orientation orientation () const
 
void setOrientation (Qt::Orientation orientation)
 
QSize sizeHint () const
 
 UOrientableLabel (const QString &text, Qt::Orientation orientation=Qt::Horizontal, QWidget *parent=0)
 
virtual ~UOrientableLabel ()
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *event)
 

Private Attributes

Qt::Orientation _orientation
 

Detailed Description

Orientable QLabel. Inherit QLabel and let you to specify the orientation.

Definition at line 406 of file UPlot.h.

Constructor & Destructor Documentation

UOrientableLabel::UOrientableLabel ( const QString &  text,
Qt::Orientation  orientation = Qt::Horizontal,
QWidget *  parent = 0 
)

Constructor.

Definition at line 1470 of file UPlot.cpp.

UOrientableLabel::~UOrientableLabel ( )
virtual

Definition at line 1476 of file UPlot.cpp.

Member Function Documentation

QSize UOrientableLabel::minimumSizeHint ( ) const

Definition at line 1489 of file UPlot.cpp.

Qt::Orientation UOrientableLabel::orientation ( ) const
inline

Get orientation.

Definition at line 419 of file UPlot.h.

void UOrientableLabel::paintEvent ( QPaintEvent *  event)
protectedvirtual

Definition at line 1512 of file UPlot.cpp.

void UOrientableLabel::setOrientation ( Qt::Orientation  orientation)

Set orientation (Qt::Vertical or Qt::Horizontal).

Definition at line 1497 of file UPlot.cpp.

QSize UOrientableLabel::sizeHint ( ) const

Definition at line 1480 of file UPlot.cpp.

Member Data Documentation

Qt::Orientation UOrientableLabel::_orientation
private

Definition at line 429 of file UPlot.h.


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


find_object_2d
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 19:22:26