Added tooltips to the checkboxes

This commit is contained in:
Jose Luis Cercos Pita 2015-10-16 11:53:07 +02:00
parent bfebdaeb16
commit 02e908ae18

View File

@ -127,12 +127,29 @@ class TaskPanel:
"Variable draft",
None,
QtGui.QApplication.UnicodeUTF8))
self.widget(QtGui.QCheckBox, "VariableDraft").setTooltip(
QtGui.QApplication.translate(
"ship_gz",
"The ship will be moved to the equilibrium draft for each" + \
" roll angle. It will significantly increase the required" + \
" computing time",
None,
QtGui.QApplication.UnicodeUTF8))
self.widget(QtGui.QCheckBox, "VariableTrim").setText(
QtGui.QApplication.translate(
"ship_gz",
"Variable trim",
None,
QtGui.QApplication.UnicodeUTF8))
self.widget(QtGui.QCheckBox, "VariableTrim").setTooltip(
QtGui.QApplication.translate(
"ship_gz",
"The ship will be rotated to the equilibrium trim angle for" + \
" each roll angle. It will significantly increase the" + \
" required computing time",
None,
QtGui.QApplication.UnicodeUTF8))
def createTask():