wwWidgets Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions

QwwListNavigator Class Reference
[wwWidgets module]

The QwwListNavigator class provides a widget letting the user navigate through items in a list. More...

 #include <QwwListNavigator>

Public Types

Properties

Public Functions

Public Slots

Signals

Protected Functions


Detailed Description

The QwwListNavigator class provides a widget letting the user navigate through items in a list.

QwwListNavigator


Member Type Documentation

enum QwwListNavigator::Button
flags QwwListNavigator::Buttons

ConstantValueDescription
QwwListNavigator::NoButtons0No buttons are visible
QwwListNavigator::FirstButton1Button for moving onto the first record in the set
QwwListNavigator::PrevButton2Button for moving onto previous record in the set
QwwListNavigator::Slider4Slider for moving between records
QwwListNavigator::NextButton8Button for moving onto next record in the set
QwwListNavigator::LastButton16Button for moving onto the last record in the set

The Buttons type is a typedef for QFlags<Button>. It stores an OR combination of Button values.


Property Documentation

autoRaise : bool

This property holds this property holds whether buttons of the navigator are auto raised.

Access functions:

buttons : Buttons

This property holds this property holds visible buttons of the navigator.

Access functions:

orientation : Qt::Orientation

This property holds this property holds the orientation of the slider.

The orientation must be Qt::Vertical (the default) or Qt::Horizontal.

Access functions:

toolButtonStyle : Qt::ToolButtonStyle

This property holds this property holds the style of buttons in the navigator.

Access functions:


Member Function Documentation

QwwListNavigator::QwwListNavigator ( QWidget * parent = 0 )

Constructs a horizontal list navigator with a given parent.

void QwwListNavigator::first ()   [signal]

The signal is emited when the navigator is set on the first record in the set.

See also toFirst().

void QwwListNavigator::last ()   [signal]

The signal is emited when the navigator is set on the last record in the set.

See also toLast().

void QwwListNavigator::next ()   [signal]

The signal is emited when the navigator is set on the next record in the set.

See also toNext().

void QwwListNavigator::previous ()   [signal]

The signal is emited when the navigator is set on the previous record in the set.

See also toPrevious().

void QwwListNavigator::setListWidget ( QwwListWidget * lw )

Associates a QwwListWidget instance with the navigator.

The method observes the list widget lw allowing to navigate through its items using the navigator.

void QwwListNavigator::sliderChange ( SliderChange change )   [protected]

This method performs a change of slider value specified by change.

void QwwListNavigator::toFirst ()   [slot]

Moves navigator to the first record.

Does nothing if the navigator is already at the first record.

See also first().

void QwwListNavigator::toLast ()   [slot]

Moves navigator to the last record.

Does nothing if the navigator is already at the last record.

See also last().

void QwwListNavigator::toNext ()   [slot]

Moves navigator to the next record.

Does nothing if the navigator is already at the last record.

See also next().

void QwwListNavigator::toPrevious ()   [slot]

Moves navigator to the previous record.

Does nothing if the navigator is already at the first record.

See also previous().


Copyright © 2007-2009 Witold Wysota Trademarks
wwWidgets 0.9.6