open_iA 2024.7
Loading...
Searching...
No Matches
Public Slots | Public Member Functions | List of all members
iAQCropLabel Class Reference

Alternative for a QLabel which automatically cuts off text exceeding its width. More...

#include <iAQCropLabel.h>

Inheritance diagram for iAQCropLabel:
[legend]
Collaboration diagram for iAQCropLabel:
[legend]

Public Slots

void setText (QString const &text)
 

Public Member Functions

 iAQCropLabel ()
 
 iAQCropLabel (QString const &text, QString const &qssClass=QString())
 

Detailed Description

Alternative for a QLabel which automatically cuts off text exceeding its width.

This widget, in contrast to a QLabel, is resizable to widths smaller than the required with to display its full text. It does not impose any minimum width requirements on parent widgets, instead, any text text exceeding the width will just be invisible.

Constructor & Destructor Documentation

◆ iAQCropLabel() [1/2]

iAQCropLabel::iAQCropLabel ( )

◆ iAQCropLabel() [2/2]

iAQCropLabel::iAQCropLabel ( QString const & text,
QString const & qssClass = QString() )

Member Function Documentation

◆ setText

void iAQCropLabel::setText ( QString const & text)
slot

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