Songbook-Client  0.7
This application is a manager of customguitar songbooks
 All Classes Files Functions Variables Enumerations Enumerator Pages
Public Member Functions | Protected Member Functions | Properties
CLabel Class Reference

CLabel is a custom QLabel with a fixed width and elide mode. More...

#include <label.hh>

List of all members.

Public Member Functions

 CLabel (QWidget *parent=0)
 Constructor.
 ~CLabel ()
 Destructor.
Qt::TextElideMode elideMode () const
void setElideMode (Qt::TextElideMode mode)

Protected Member Functions

void paintEvent (QPaintEvent *event)

Properties

Qt::TextElideMode elideMode

Detailed Description

CLabel is a custom QLabel with a fixed width and elide mode.


Member Function Documentation

Qt::TextElideMode CLabel::elideMode ( ) const

Getter on the elide mode used by the label. Default is elide on the right.

Returns:
the elide mode.
void CLabel::setElideMode ( Qt::TextElideMode  mode)

Setter on the elide mode used by the label.

Parameters:
modethe elide mode.

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