libyui-qt  2.43.5
 All Classes Functions Variables
YQBusyIndicator Class Reference
Inheritance diagram for YQBusyIndicator:
Collaboration diagram for YQBusyIndicator:

Public Member Functions

 YQBusyIndicator (YWidget *parent, const std::string &label, int timeout=1000)
 
virtual ~YQBusyIndicator ()
 
virtual void setLabel (const std::string &label)
 
virtual void setTimeout (int newTimeout)
 
int timeout () const
 
virtual void setAlive (bool newAlive)
 
virtual void setEnabled (bool enabled)
 
virtual int preferredWidth ()
 
virtual int preferredHeight ()
 
virtual void setSize (int newWidth, int newHeight)
 
virtual bool setKeyboardFocus ()
 

Protected Attributes

YQWidgetCaption_caption
 
BusyBar_bar
 
QTimer * _timer
 
int _timeout
 

Detailed Description

Definition at line 39 of file YQBusyIndicator.h.

Constructor & Destructor Documentation

YQBusyIndicator::YQBusyIndicator ( YWidget *  parent,
const std::string &  label,
int  timeout = 1000 
)

Constructor.

Definition at line 118 of file YQBusyIndicator.cc.

Here is the call graph for this function:

YQBusyIndicator::~YQBusyIndicator ( )
virtual

Destructor.

Definition at line 150 of file YQBusyIndicator.cc.

Member Function Documentation

int YQBusyIndicator::preferredHeight ( )
virtual

Preferred height of the widget.

Reimplemented from YWidget.

Definition at line 210 of file YQBusyIndicator.cc.

int YQBusyIndicator::preferredWidth ( )
virtual

Preferred width of the widget.

Reimplemented from YWidget.

Definition at line 201 of file YQBusyIndicator.cc.

void YQBusyIndicator::setAlive ( bool  newAlive)
virtual

Send a keep allive message.

Reimplemented from YBusyIndicator.

Definition at line 163 of file YQBusyIndicator.cc.

Here is the call graph for this function:

void YQBusyIndicator::setEnabled ( bool  enabled)
virtual

Set enabled/disabled state.

Reimplemented from YWidget.

Definition at line 193 of file YQBusyIndicator.cc.

bool YQBusyIndicator::setKeyboardFocus ( )
virtual

Accept the keyboard focus.

Definition at line 222 of file YQBusyIndicator.cc.

void YQBusyIndicator::setLabel ( const std::string &  label)
virtual

Set the label (the caption above the progress bar).

Reimplemented from YBusyIndicator.

Definition at line 156 of file YQBusyIndicator.cc.

Here is the call graph for this function:

void YQBusyIndicator::setSize ( int  newWidth,
int  newHeight 
)
virtual

Set the new size of the widget.

Reimplemented from YWidget.

Definition at line 216 of file YQBusyIndicator.cc.

void YQBusyIndicator::setTimeout ( int  newTimeout)
virtual

Set the timeout is ms after that the widget shows 'stalled' when no new tick is received.

Reimplemented from YBusyIndicator.

Definition at line 186 of file YQBusyIndicator.cc.

int YQBusyIndicator::timeout ( ) const
inline

Return the timeout is ms after that the widget shows 'stalled' when no new tick is received.

Reimplemented from YBusyIndicator.

Definition at line 76 of file YQBusyIndicator.h.


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