Package node_manager_fkie :: Module master_list_model :: Class MasterSyncButtonHelper
[frames] | no frames]

Class MasterSyncButtonHelper

source code

python_qt_binding.QtCore.QObject --+
                                   |
                                  MasterSyncButtonHelper

This is helper class to which contains a button and can emit signals. The MasterSyncItem can not emit signals, but is used in QStandardModel.

Instance Methods
 
__init__(self, master) source code
 
on_sync_clicked(self, checked) source code
 
master(self) source code
 
get_sync_state(self) source code
 
set_sync_state(self, value) source code
 
__eq__(self, item) source code
 
__gt__(self, item) source code
Class Variables
  clicked = Signal(bool, str)
  NOT_SYNC = 0
  SWITCHED = 1
  SYNC = 2
  ICON_PREFIX = 'irondevil'