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::UOrientableLabel ( const QString &  text,
Qt::Orientation  orientation = Qt::Horizontal,
QWidget *  parent = 0 
)

Constructor.

Definition at line 1470 of file UPlot.cpp.

◆ ~UOrientableLabel()

UOrientableLabel::~UOrientableLabel ( )
virtual

Definition at line 1476 of file UPlot.cpp.

Member Function Documentation

◆ minimumSizeHint()

QSize UOrientableLabel::minimumSizeHint ( ) const

Definition at line 1489 of file UPlot.cpp.

◆ orientation()

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

Get orientation.

Definition at line 419 of file UPlot.h.

◆ paintEvent()

void UOrientableLabel::paintEvent ( QPaintEvent *  event)
protectedvirtual

Definition at line 1512 of file UPlot.cpp.

◆ setOrientation()

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

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

Definition at line 1497 of file UPlot.cpp.

◆ sizeHint()

QSize UOrientableLabel::sizeHint ( ) const

Definition at line 1480 of file UPlot.cpp.

Member Data Documentation

◆ _orientation

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 Mon Dec 12 2022 03:20:10