py::gui::widget::interface_progress Class Reference

Inheritance diagram for py::gui::widget::interface_progress:

Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def customEvent


Member Function Documentation

def py::gui::widget::interface_progress::__init__ (   self  ) 

00190                              :
00191                 def notify_section(name, value) :
00192                         QApplication.postEvent(self, gui.event.progress_event("section", name, value))
00193                 def notify_step(name, value) :
00194                         QApplication.postEvent(self, gui.event.progress_event("step", name, value))
00195                 qo.notifier.progress.__init__(self, notify_section, notify_step)
00196 
        def customEvent( self, event ) :

def py::gui::widget::interface_progress::customEvent (   self,
  event 
)

Reimplemented in py::gui::widget::progress_busy.

00197                                        :
00198                 if isinstance(event, gui.event.progress_event) and hasattr(self, "%s_p"%event.scope()) :
00199                         getattr(self, "%s_label"%event.scope()).setText(event.label())
00200                         getattr(self, "%s_p"%event.scope()).setValue(event.value())
00201 
00202 
class progress_section( interface_progress, Ui_progress_section, QWidget ) :


The documentation for this class was generated from the following file:
Generated on Tue Oct 9 20:40:30 2007 for Qomics by  doxygen 1.5.3