Exemplo n.º 1
0
 def __init__(self, parent, size):
     ProgressDialog.__init__(self,
                             _('Downloading icons...'),
                             _('Downloading icons, please wait...'),
                             max=size,
                             parent=parent,
                             icon='download_metadata.png')
     self.ds.connect(self.bar.setValue, type=Qt.QueuedConnection)
     self.acc.connect(self.accept, type=Qt.QueuedConnection)
     self.rej.connect(self.reject, type=Qt.QueuedConnection)
Exemplo n.º 2
0
 def __init__(self, parent, size):
     ProgressDialog.__init__(self, _('Downloading icons...'), _(
         'Downloading icons, please wait...'), max=size, parent=parent, icon='download_metadata.png')
     self.ds.connect(self.bar.setValue, type=Qt.QueuedConnection)
     self.acc.connect(self.accept, type=Qt.QueuedConnection)
     self.rej.connect(self.reject, type=Qt.QueuedConnection)
Exemplo n.º 3
0
 def __init__(self, *args, **kwargs):
     PD.__init__(self, *args, **kwargs)
     self.on_progress_update.connect(self.progressed,
                                     type=Qt.QueuedConnection)
     self.finished_moving.connect(self.accept, type=Qt.QueuedConnection)
Exemplo n.º 4
0
 def __init__(self, *args, **kwargs):
     PD.__init__(self, *args, **kwargs)
     self.on_progress_update.connect(self.progressed, type=Qt.QueuedConnection)
     self.finished_moving.connect(self.accept, type=Qt.QueuedConnection)