Logo Search packages:      
Sourcecode: kmess version File versions  Download package

InlineEditLabel Class Reference

#include <inlineeditlabel.h>

List of all members.


Detailed Description

An inline editing label.

This is normally a label widget. By clicking on it, the label's contents can be changed, because the label turns into a line edit. The label supports rich text (and it is enabled by default), so emoticons, links etc can be used.

Author:
Valerio Pilo

Definition at line 40 of file inlineeditlabel.h.


Signals

void changed ()

Public Member Functions

bool eventFilter (QObject *obj, QEvent *event)
 InlineEditLabel (QWidget *parent=0)
void setFormattingMode (FormattingMode mode)
void setMaxLength (int length)
void setText (const QString &text, bool labelOnly=false)
const QString & text ()
virtual ~InlineEditLabel ()

Private Member Functions

void enableEditMode (bool editMode)

Private Attributes

int maxLength_
FormattingMode mode_
FormattedString text_

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

Generated by  Doxygen 1.6.0   Back to index