Database Editor

The database editor is based on Qt’s QTableView.

Game Editor

It allows for 3 types of actions:

  • select a game by a double-click into the corresponding row

  • add/remove the displayed header items (limited to the 7-tag roster) by a right-clicking the column header

  • changing the sequence of games in the database by drag/drop or the menu items Move Games>Up/Down

class gamelisttableview.GameListTableModel(gameList, gameHeaderKeys, parent=None)[source]
__init__(gameList, gameHeaderKeys, parent=None)[source]
rowCount(self, parent: QModelIndex = QModelIndex()) int[source]
columnCount(self, parent: QModelIndex = QModelIndex()) int[source]
flags(self, QModelIndex) Qt.ItemFlag[source]
supportedDropActions(self) Qt.DropAction[source]
data(self, QModelIndex, role: int = Qt.DisplayRole) Any[source]
headerData(self, int, Qt.Orientation, role: int = Qt.DisplayRole) Any[source]
GameListTableModel.moveRows(self, QModelIndex, int, int, QModelIndex, int) -> bool[source]
GameListTableModel.removeRows(self, int, int, parent: QModelIndex = QModelIndex()) -> bool[source]
class gamelisttableview.GameListTableView(parent=None)[source]
__init__(parent=None)[source]
dropEvent(self, QDropEvent)[source]
resizeEvent(self, QResizeEvent)[source]