Classes | |
class | IndicatorButton |
Functions | |
def | onCompact () |
def | onMenu (action) |
def | onOrbit () |
def | onOrbitShow () |
def | onTooltip () |
def | retranslateUi () |
def | setCompact (action) |
def | setCurrent () |
def | translate (context, text) |
Variables | |
a0 = QtGui.QAction(gStyle) | |
a1 = QtGui.QAction(gStyle) | |
a10 = QtGui.QAction(gStyle) | |
a2 = QtGui.QAction(gStyle) | |
a3 = QtGui.QAction(gStyle) | |
a4 = QtGui.QAction(gStyle) | |
a5 = QtGui.QAction(gStyle) | |
a6 = QtGui.QAction(gStyle) | |
a7 = QtGui.QAction(gStyle) | |
a8 = QtGui.QAction(gStyle) | |
a9 = QtGui.QAction(gStyle) | |
aCompact = QtGui.QAction(menuSettings) | |
aTooltip = QtGui.QAction(menuSettings) | |
aTrackball = QtGui.QAction(gOrbit) | |
aTurntable = QtGui.QAction(gOrbit) | |
gOrbit = QtGui.QActionGroup(menuSettings) | |
gStyle = QtGui.QActionGroup(menu) | |
indicator = IndicatorButton(statusBar) | |
label = statusBar.children()[2] | |
menu = QtGui.QMenu(indicator) | |
menuOrbit = QtGui.QMenu(menu) | |
menuSettings = QtGui.QMenu(menu) | |
mw = Gui.getMainWindow() | |
p = App.ParamGet("User parameter:Tux/NavigationIndicator") | |
pView = App.ParamGet("User parameter:BaseApp/Preferences/View") | |
statusBar = mw.statusBar() | |
def NavigationIndicatorGui.onCompact | ( | ) |
def NavigationIndicatorGui.onMenu | ( | action | ) |
Set navigation style on selection.
def NavigationIndicatorGui.onOrbit | ( | ) |
Use turntable or trackball orbit style.
def NavigationIndicatorGui.onOrbitShow | ( | ) |
Set turntable or trackball orbit style.
Referenced by setCurrent().
def NavigationIndicatorGui.onTooltip | ( | ) |
Enable or disable verbose tooltips.
References setCurrent().
Referenced by NavigationIndicatorGui.IndicatorButton.changeEvent(), and setCurrent().
def NavigationIndicatorGui.retranslateUi | ( | ) |
Retranslate navigation indicator on language change
Referenced by NavigationIndicatorGui.IndicatorButton.changeEvent(), and setCurrent().
def NavigationIndicatorGui.setCompact | ( | action | ) |
Set compact mode.
Referenced by setCurrent().
def NavigationIndicatorGui.setCurrent | ( | ) |
Set navigation style on start and on interval.
References onCompact(), onOrbitShow(), onTooltip(), retranslateUi(), and setCompact().
Referenced by NavigationIndicatorGui.IndicatorButton.onChange(), onCompact(), and onTooltip().
def NavigationIndicatorGui.translate | ( | context, | |
text | |||
) |
NavigationIndicatorGui.a0 = QtGui.QAction(gStyle) |
NavigationIndicatorGui.a1 = QtGui.QAction(gStyle) |
NavigationIndicatorGui.a10 = QtGui.QAction(gStyle) |
NavigationIndicatorGui.a2 = QtGui.QAction(gStyle) |
NavigationIndicatorGui.a3 = QtGui.QAction(gStyle) |
NavigationIndicatorGui.a4 = QtGui.QAction(gStyle) |
NavigationIndicatorGui.a5 = QtGui.QAction(gStyle) |
NavigationIndicatorGui.a6 = QtGui.QAction(gStyle) |
NavigationIndicatorGui.a7 = QtGui.QAction(gStyle) |
NavigationIndicatorGui.a8 = QtGui.QAction(gStyle) |
NavigationIndicatorGui.a9 = QtGui.QAction(gStyle) |
NavigationIndicatorGui.aCompact = QtGui.QAction(menuSettings) |
NavigationIndicatorGui.aTooltip = QtGui.QAction(menuSettings) |
NavigationIndicatorGui.aTrackball = QtGui.QAction(gOrbit) |
NavigationIndicatorGui.aTurntable = QtGui.QAction(gOrbit) |
NavigationIndicatorGui.gOrbit = QtGui.QActionGroup(menuSettings) |
NavigationIndicatorGui.gStyle = QtGui.QActionGroup(menu) |
NavigationIndicatorGui.indicator = IndicatorButton(statusBar) |
NavigationIndicatorGui.label = statusBar.children()[2] |
NavigationIndicatorGui.menu = QtGui.QMenu(indicator) |
NavigationIndicatorGui.menuOrbit = QtGui.QMenu(menu) |
NavigationIndicatorGui.menuSettings = QtGui.QMenu(menu) |
NavigationIndicatorGui.mw = Gui.getMainWindow() |
NavigationIndicatorGui.p = App.ParamGet("User parameter:Tux/NavigationIndicator") |
NavigationIndicatorGui.pView = App.ParamGet("User parameter:BaseApp/Preferences/View") |
NavigationIndicatorGui.statusBar = mw.statusBar() |