ogtgui.ags4_models.*

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

class ogtgui.ags4_models.AGS_COLORS[source]
abbrev = '#496FA3'
group = '#286225'
class ogtgui.ags4_models.AGS_TYPE[source]
abbrev = 'ABBR'
abbrev_item = 'ABBR_ITEM'
group = 'GROUP'
heading = 'HEAD'
note = 'NOTE'
class ogtgui.ags4_models.AbbrevItemsModel(parent=None)[source]

Bases: ogtgui.xobjects.XStandardItemModel

append_abbrv_items(head_code, recs)[source]
deadget_item_row(item_id)[source]
get_picklist(abbrev_code)[source]
get_row(item)[source]
has_abbrev(head_code)[source]
load_data(data)[source]
class ogtgui.ags4_models.AgsObject(parent=None)[source]

Bases: PyQt4.QtCore.QObject

deadget_abbrev(head_code)[source]
get_group(code)[source]
get_heading(head_code)[source]
get_notes(group_code)[source]
get_picklist(abbrev)[source]
get_words()[source]
has_abbrev(head_code)[source]

Check head_code exists

Parameters:head_code --
load()[source]
sigLoaded
class ogtgui.ags4_models.CA[source]

Columns no's for the AbbrevItemsModel

code = 0
description = 1
head_code = 2
class ogtgui.ags4_models.CG[source]
cls = 2
code = 0
description = 1
search = 3
x_id = 4
class ogtgui.ags4_models.CH[source]

Columns NO's for the ;class:~ogtgui.ags_models.HeadingsModel

class_ = 9
data_type = 3
description = 4
example = 5
group_code = 7
group_descr = 8
head_code = 0
sort = 6
status = 1
unit = 2
class ogtgui.ags4_models.CU[source]
description = 1
unit = 0
class ogtgui.ags4_models.ClassesModel(parent=None)[source]

Bases: ogtgui.xobjects.XStandardItemModel

load_classes(classes)[source]
make_root()[source]
sigLoaded
class ogtgui.ags4_models.GroupsModel(parent=None)[source]

Bases: ogtgui.xobjects.XStandardItemModel

get_group(code)[source]
get_words()[source]
load_data(groups)[source]
sigClasses
class ogtgui.ags4_models.HeadingsModel(parent=None)[source]

Bases: ogtgui.xobjects.XStandardItemModel

append_headings(grp)[source]
get_heading(code)[source]
get_words()[source]
class ogtgui.ags4_models.NotesModel[source]
add_words(rows)[source]
append_notes(group_code, recs)[source]
get_notes(group_code)[source]
get_words()[source]
init_words()[source]
class ogtgui.ags4_models.UnitsModel(parent=None)[source]

Bases: ogtgui.xobjects.XStandardItemModel

load_data(data)[source]
class ogtgui.ags4_models.deadAbbrevsModel(parent=None)[source]

Bases: ogtgui.xobjects.XStandardItemModel

get_abbrev(code)[source]
get_abbrev_row(code)[source]
get_words()[source]
load_data(data)[source]
ogtgui.ags4_models.type_ico(ags_type)[source]
ogtgui.ags4_models.type_icon(ags_type)[source]