Inherits ui_actionview::Ui_actionViewForm.
Public Member Functions | |
def | __init__ |
Constructor of actionViewForm. | |
def | fillActions |
Fills dialog's QTableWidget with data. | |
def | editorButtonAction |
Opens all selected items from action table widget in extern editor. | |
def | openInEditor |
Opens selected item form action table widget in extern editor. |
Class containing main logic of action view dialog.
Class creates QTableWidgetItem and inserts them into QTableWidget and shows them to user.
def actionview::actionViewForm::__init__ | ( | self, | ||
mainWindow, | ||||
title, | ||||
actions | ||||
) |
Constructor of actionViewForm.
self | The object pointer. | |
mainWindow | class representing main f$ window f$ of the application window Window class | |
title | string containing the window title | |
actions | list of tuples: number - iteration number, type input / output from the peach point of view, data - data send during iteration, path - path to file the unmodified send data are stored. |
def actionview::actionViewForm::editorButtonAction | ( | self | ) |
Opens all selected items from action table widget in extern editor.
self | The object pointer. |
def actionview::actionViewForm::fillActions | ( | self, | ||
actions | ||||
) |
Fills dialog's QTableWidget with data.
self | The object pointer. Creates QTableWidgetItem puts actions list variables into it, formats a little and puts into QTableWidget | |
actions | list of tuples: number - iteration number, type input / output from the peach point of view, data - data send during iteration (modified for better visualisation), path - path to file the unmodified send data are stored. |
def actionview::actionViewForm::openInEditor | ( | self, | ||
widget | ||||
) |
Opens selected item form action table widget in extern editor.
self | The object pointer. | |
widget | Selected action table widget item. |