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 436 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 1837 of file UPlot.cpp.

◆ ~UOrientableLabel()

UOrientableLabel::~UOrientableLabel ( )
virtual

Definition at line 1843 of file UPlot.cpp.

Member Function Documentation

◆ minimumSizeHint()

QSize UOrientableLabel::minimumSizeHint ( ) const

Definition at line 1856 of file UPlot.cpp.

◆ orientation()

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

Get orientation.

Definition at line 449 of file UPlot.h.

◆ paintEvent()

void UOrientableLabel::paintEvent ( QPaintEvent *  event)
protectedvirtual

Definition at line 1879 of file UPlot.cpp.

◆ setOrientation()

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

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

Definition at line 1864 of file UPlot.cpp.

◆ sizeHint()

QSize UOrientableLabel::sizeHint ( ) const

Definition at line 1847 of file UPlot.cpp.

Member Data Documentation

◆ _orientation

Qt::Orientation UOrientableLabel::_orientation
private

Definition at line 459 of file UPlot.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:26