Package timedrive :: Package utils :: Module gui_utils
[frames] | no frames]

Module gui_utils

Functions
 
translate(self, prop)
reimplement method from uic to change it to use gettext
 
checkRemoteSettings(self, host)
check if the hostname/ip is ok, show messagebox if error
 
loadUi(self, uiFile)
loads the ui file
Variables
  __package__ = 'timedrive.utils'

Imports: QtGui, uic, utils, validate


Function Details

translate(self, prop)

 

reimplement method from uic to change it to use gettext

Parameters:
  • prop ()

checkRemoteSettings(self, host)

 

check if the hostname/ip is ok, show messagebox if error

Parameters:
  • host (String) - eather a hostname or ip

loadUi(self, uiFile)

 

loads the ui file

Parameters:
  • uiFile (String) - the ui file create with the designer