示例#1
0
 def init_tool_dialog(self):
     from qtvcp.widgets.dialog_widget import ToolDialog
     w = self.QTVCP_INSTANCE_
     w.toolDialog_ = ToolDialog()
     w.toolDialog_.hal_init(self.HAL_GCOMP_, self.HAL_NAME_, w.toolDialog_,
                            w, w.PATHS, self.PREFS_)
     w.toolDialog_.overlay_color = self._toolDialogColor
示例#2
0
 def init_tool_dialog(self):
     from qtvcp.widgets.dialog_widget import ToolDialog
     w = self.QTVCP_INSTANCE_
     w.toolDialog_ = ToolDialog(w)
     w.toolDialog_.setObjectName('toolDialog_')
     w.toolDialog_.hal_init(HAL_NAME='')
     w.toolDialog_.overlay_color = self._toolDialogColor
示例#3
0
 def init_tool_dialog(self):
     from qtvcp.widgets.dialog_widget import ToolDialog
     w = self.QTVCP_INSTANCE_
     w.toolDialog_ = ToolDialog(w)
     w.toolDialog_.setObjectName('toolDialog_')
     w.toolDialog_.hal_init(HAL_NAME='')
     w.toolDialog_.overlay_color = self._toolDialogColor
     w.toolDialog_.setProperty('useDesktopNotify', self._toolUseDesktopNotify)
     w.toolDialog_.setProperty('frameless', self._toolFrameless)
示例#4
0
 def init_tool_dialog(self):
     w = self.w
     w.toolDialog_ = ToolDialog()
     w.toolDialog_.setObjectName('toolDialog_')
     w.toolDialog_.hal_init(HAL_NAME='')
     w.toolDialog_.removeButton(w.toolDialog_._actionbutton)
     if self.w.USEROPTIONS_ is not None:
         if 'notify_on' in self.w.USEROPTIONS_:
             w.toolDialog_.setProperty('useDesktopNotify', True)
         if 'audio_on' in self.w.USEROPTIONS_:
             w.toolDialog_.play_sound = True
         if 'speak_on' in self.w.USEROPTIONS_:
             w.toolDialog_.speak = True
     w.toolDialog_.setProperty('frameless', False)