ogtgui.xwidgets.*

@author: Peter Morgan <pete@daffodil.uk.com>

class ogtgui.xwidgets.ClearButton(parent, callback=None)[source]

Bases: PyQt4.QtGui.QToolButton

class ogtgui.xwidgets.GroupGridBox(parent=None)[source]

Bases: PyQt4.QtGui.QGroupBox

class ogtgui.xwidgets.GroupHBox(parent=None)[source]

Bases: PyQt4.QtGui.QGroupBox

addLayout(widget, stretch=0)[source]
addStretch(stretch)[source]
addWidget(widget, stretch=0)[source]
class ogtgui.xwidgets.GroupVBox(parent=None, bold=False)[source]

Bases: PyQt4.QtGui.QGroupBox

addLabel(txt)[source]
addLayout(widget, stretch=0)[source]
addSpacing(s)[source]
addStretch(stretch)[source]
addWidget(widget, stretch=0)[source]
setSpacing(x)[source]
class ogtgui.xwidgets.IconLabel(parent=None, ico=None)[source]

Bases: PyQt4.QtGui.QLabel

class ogtgui.xwidgets.StandardItem[source]

Bases: PyQt4.QtGui.QStandardItem

b()[source]
ds()[source]
i()[source]
lbl_checked(val, bg_color=None)[source]
s()[source]
set(txt, align=None, ico=None, icon=None, bold=False, font=None, bg=None)[source]
setIco(ico)[source]
setText(txt, align=None, ico=None, icon=None, bold=False)[source]
set_bg(color)[source]
set_bold(bold)[source]
set_fg(color)[source]
set_font_family(fam)[source]
set_font_size(size)[source]
class ogtgui.xwidgets.XTableWidgetItem[source]

Bases: PyQt4.QtGui.QTableWidgetItem

Extended QTableWidgetItem with convenience functions

set(text=None, bold=False, bg=None, fg=None, align=None, check=None)[source]
set_bg(bg_color)[source]
set_bold(state)[source]
set_fg(bg_color)[source]
ogtgui.xwidgets.hlayout(spacing=0, margin=0)[source]

Convenience function to create a QHBoxLayout

ogtgui.xwidgets.label(txt, align=1, bold=False, style=None)[source]

Convenience function to create a QLabel

ogtgui.xwidgets.vlayout(spacing=0, margin=0)[source]

Convenience function to create a QVBoxLayout