Exemplo n.º 1
0
 def __init__(self, creator):
     super(tlLogging, self).__init__()
     tlLogging._iface = creator.iface
     tlLogging._logDock = tlLogging._iface.mainWindow().findChild(
         QDockWidget, 'MessageLog')
     tlLogging.HEADER = Settings.getMeta('name', 'general')
     tlLogging._logStates = int(
         Settings.get("logStates", tlLogging._logStates))
Exemplo n.º 2
0
 def openFileInBrowser(file_name):
     if os.path.basename(file_name) == file_name:
         file_name = os.path.join(Settings.get("plugin_dir"), file_name)
     if os.path.exists(file_name):
         webbrowser.open(tlLogging.path2url(file_name))
Exemplo n.º 3
0
 def openFileInBrowser(file_name):
     if os.path.basename(file_name) == file_name:
         file_name = os.path.join(Settings.get("plugin_dir"),file_name)
     if os.path.exists(file_name):
         webbrowser.open(tlLogging.path2url(file_name))
Exemplo n.º 4
0
 def __init__(self,creator):
     super(tlLogging,self).__init__()
     tlLogging._iface = creator.iface
     tlLogging._logDock = tlLogging._iface.mainWindow().findChild(QDockWidget, 'MessageLog')
     tlLogging.HEADER = Settings.getMeta('name','general')
     tlLogging._logStates = int(Settings.get("logStates",tlLogging._logStates))