![]() |
Home · All Classes · All Functions · Overviews |
The QMaemo5EditBar widget provides a Maemo 5 specific edit toolbar showing a label and an arbitrary number of buttons. More...
#include <QMaemo5EditBar>
Inherits QWidget.
This class was introduced in Qt 4.6.
QMaemo5EditBar ( QWidget * parent = 0 ) | |
QMaemo5EditBar ( const QString & text, QWidget * parent = 0 ) | |
~QMaemo5EditBar () | |
void | addButton ( QAbstractButton * button ) |
QList<QAbstractButton *> | buttons () const |
void | removeButton ( QAbstractButton * button ) |
QString | text () const |
void | setText ( const QString & text ) |
virtual void | paintEvent ( QPaintEvent * pe ) |
The QMaemo5EditBar widget provides a Maemo 5 specific edit toolbar showing a label and an arbitrary number of buttons.
The Maemo 5 edit bar class is a Maemo 5 specific class that is used to implement the Hildon edit-toolbar functionality in full screen widgets.
This widget needs to be shown at the top edge of a full screen widget. Clicking the "back" button on the edit bar will call close() on the edit bar's window().
Please see the Maemo 5 Widget, UI-Style and Master-Layout guides for hints on when, where and how to best use this button.
This property holds the text shown on the edit bar.
If the edit bar has no text, the text() function will return an empty string.
There is no default text.
Access functions:
QString | text () const |
void | setText ( const QString & text ) |
Constructs an empty edit bar with the given parent.
Constructs an edit bar with the given parent widget and editable text.
Destroys the edit bar.
Adds the given button to the edit bar.
See also removeButton() and buttons().
Returns a list of all the buttons that have been added to the edit bar.
See also addButton() and removeButton().
Reimplemented from QWidget::paintEvent().
Removes button from the edit bar without deleting it.
See also addButton() and buttons().
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt 4.6.2 |