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

Constructor.

Definition at line 1805 of file UPlot.cpp.

UOrientableLabel::~UOrientableLabel ( )
virtual

Definition at line 1811 of file UPlot.cpp.

Member Function Documentation

QSize UOrientableLabel::minimumSizeHint ( ) const

Definition at line 1824 of file UPlot.cpp.

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

Get orientation.

Definition at line 446 of file UPlot.h.

void UOrientableLabel::paintEvent ( QPaintEvent *  event)
protectedvirtual

Definition at line 1847 of file UPlot.cpp.

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

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

Definition at line 1832 of file UPlot.cpp.

QSize UOrientableLabel::sizeHint ( ) const

Definition at line 1815 of file UPlot.cpp.

Member Data Documentation

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 Dec 14 2020 03:37:08