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 433 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 1805 of file UPlot.cpp.

◆ ~UOrientableLabel()

UOrientableLabel::~UOrientableLabel ( )
virtual

Definition at line 1811 of file UPlot.cpp.

Member Function Documentation

◆ minimumSizeHint()

QSize UOrientableLabel::minimumSizeHint ( ) const

Definition at line 1824 of file UPlot.cpp.

◆ orientation()

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

Get orientation.

Definition at line 446 of file UPlot.h.

◆ paintEvent()

void UOrientableLabel::paintEvent ( QPaintEvent *  event)
protectedvirtual

Definition at line 1847 of file UPlot.cpp.

◆ setOrientation()

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

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

Definition at line 1832 of file UPlot.cpp.

◆ sizeHint()

QSize UOrientableLabel::sizeHint ( ) const

Definition at line 1815 of file UPlot.cpp.

Member Data Documentation

◆ _orientation

Qt::Orientation UOrientableLabel::_orientation
private

Definition at line 456 of file UPlot.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:38:59