siriushla.as_ap_configdb

Subpackages

Code Documentation

siriushla.as_ap_configdb.client_configdb module

Window to manage configurations.

class siriushla.as_ap_configdb.client_configdb.ConfigurationManager(model, parent=None)[source]

Bases: _SiriusWindow

.

CONFIG_TYPE_COL = None
NAME_COL = None
class siriushla.as_ap_configdb.client_configdb.JsonTreeModel(config_type, name, connection, parent=None)[source]

Bases: QAbstractItemModel

Model for a tree that represent a JSON document.

columnCount(parent)[source]

Return index column count.

data(index, role)[source]

Return data at index.

flags(index)[source]

Read-only.

headerData(section, orientation, role)[source]

Return data stored in root item.

index(row, column, parent)[source]

Provide and index.

parent(index)[source]

Return parent of given index.

rowCount(parent)[source]

Return index row count.

setupModelData(config_list)[source]

Set model data.

class siriushla.as_ap_configdb.client_configdb.TreeItem(data, parentItem)[source]

Bases: object

An item of a tree.

appendChild(item)[source]

Append a child item.

child(row)[source]

Return child at given row.

childCount()[source]

Return number of children.

columnCount()[source]

Return number of columns of data.

data(column)[source]

Return data at given column.

parentItem()[source]

Return parent item.

row()[source]

Report the item’s location within its parent’s list of items.

siriushla.as_ap_configdb.configdialogs module

Define a window to save configurations.

class siriushla.as_ap_configdb.configdialogs.LoadConfigDialog(config_type, parent=None)[source]

Bases: _BaseConfigManipulation

Load configurations.

class siriushla.as_ap_configdb.configdialogs.RenameConfigDialog(config_type, parent=None)[source]

Bases: SaveConfigDialog

Rename configurations.

configname

int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

Type:

pyqtSignal(*types, name

Type:

str = …, revision

class siriushla.as_ap_configdb.configdialogs.SaveConfigDialog(config_type, parent=None)[source]

Bases: _BaseConfigManipulation

Save configurations.

property config_name
configname

int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

Type:

pyqtSignal(*types, name

Type:

str = …, revision

siriushla.as_ap_configdb.configwidgets module

Load Configuration Widget.

class siriushla.as_ap_configdb.configwidgets.ConfigDBInfoHeader(client, parent=None, config_type=None)[source]

Bases: QFrame

setupui()[source]
class siriushla.as_ap_configdb.configwidgets.ConfigDBSearchEngine(table, parent=None)[source]

Bases: QLineEdit

CONFIG_TYPE_COL = 0
NAME_COL = 1
filteredidcs

int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

Type:

pyqtSignal(*types, name

Type:

str = …, revision

class siriushla.as_ap_configdb.configwidgets.ConfigTableWidget(client, parent=None, config_type=None)[source]

Bases: QTableView

Widget that loads a configuration.

CONFIG_TYPE_COL = 0
NAME_COL = 1
configChanged

int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

Type:

pyqtSignal(*types, name

Type:

str = …, revision

property config_name

Return selected configuration name.

property config_type

selected_configConfiguration type name.

connectionError

int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

Type:

pyqtSignal(*types, name

Type:

str = …, revision

resizeEvent(event)[source]

Reimplement resize event.

Module contents