wwWidgets Home * All Classes * Main Classes * Grouped Classes * Modules * Functions

QwwButtonLineEdit Class Reference

A QLineEdit with an integrated customizable button. More...

 #include <QwwButtonLineEdit>

Inherits QLineEdit .

Properties

Public Functions

Public Slots

Signals

Protected Functions


Detailed Description

A
QLineEdit with an integrated customizable button.

The control is a line edit that contains a tool button can hold an icon and can be set either on the right or the left side of the line edit and can occupy space inside or outside the line edit.

QwwButtonLineEdit
QwwButtonLineEdit
It can be used to associate an easy to access action with the line edit, i.e. that will modify contents of the box in a definable way.

Using QWidget::addAction() one can associate more than one action with the button.

Property Documentation

autoRaise : bool

This property holds whether auto-raising is enabled or not.

The default is disabled (i.e. false).

This property is currently ignored on Mac OS X when using
QMacStyle.

buttonPosition : Position

This property holds the position of the button relative to the line edit.

buttonVisible : bool

This property holds whether the button is visible.

See also buttonIsVisible() , setButtonVisible .

icon : QIcon

This property holds the icon shown on the button

regExp : QString


Member Function Documentation

QwwButtonLineEdit::RightOutside 1 Button is positioned on the right side of the line edit. QwwButtonLineEdit::RightInside 2 Button is positioned inside the line edit on the right. QwwButtonLineEdit::LeftOutside 3 Button is positioned on the left side of the line edit. QwwButtonLineEdit::LeftInside 4 Button is positioned inside the line edit on the left.

bool QwwButtonLineEdit::autoRaise

This property holds whether auto-raising is enabled or not.

The default is disabled (i.e. false).

This property is currently ignored on Mac OS X when using
QMacStyle.

QToolButton * QwwButtonLineEdit::button () const [ protected ]

Returns a pointer to the button.

QwwButtonLineEdit::buttonClicked () [ signal ]

This signal is emitted when the button is clicked.

bool QwwButtonLineEdit::buttonIsVisible () const

Returns information whether the button is visible.

QwwButtonLineEdit::Position QwwButtonLineEdit::buttonPosition

This property holds the position of the button relative to the line edit.

QwwButtonLineEdit::buttonVisible

This property holds whether the button is visible.

See also buttonIsVisible() , setButtonVisible .

QIcon QwwButtonLineEdit::icon

This property holds the icon shown on the button

QString QwwButtonLineEdit::regExp

void QwwButtonLineEdit::setRegExp (const QRegExp &) [ slot ]

void QwwButtonLineEdit::setRegExp (const QString &) [ slot ]

Sets v as a regular expression validator.


Copyright (C) 2007-2008 Witold WysotaTrademarks
wwWidgets 0.9