class Constraint_Editor(QDialog2):
Method | __init__ |
Prepares the constraint editor, but doesn't fully initialize it yet. |
Method | changed.setter |
Sets the "changed" state. This updates the window title. |
Method | get_constraints |
Gets the list of constraints. |
Method | on_table_cell_edited |
Gets called after a table cell has been edited. |
Method | on_table_row_added |
Gets called after a row has been added to the table. |
Method | on_table_row_deleted |
Gets called after a row has been deleted from the table. |
Method | reload |
Reloads the constraint editor. |
Method | showEvent |
Gets called when the dialog is opened. |
Method | update_table |
Populates the table. |
Constant | HTML |
Undocumented |
Class Variable | Constraint_Options |
Undocumented |
Class Variable | Constraint_Types |
Undocumented |
Instance Variable | changed |
Returns the "changed" state. |
Instance Variable | gui |
Undocumented |
Instance Variable | table |
Undocumented |
Instance Variable | text_browser |
Undocumented |
Property | rows |
Gets the list of rows (constraint groups). |
Property | rows_count |
Gets the number of rows (constraint groups). |
Instance Variable | _changed |
Undocumented |
Instance Variable | _constraint_collection |
Undocumented |
Inherited from QDialog2
:
Method | show |
Shows this dialog. |
Instance Variable | user_accepted |
Undocumented |
Inherited from QLayouted
(via QDialog2
):
Method | addButtons |
Adds buttons. |
Method | addLayout |
Adds layout. |
Method | addSpacing |
Adds spacing. |
Method | addWidget |
Adds widget. |
Method | install_layout |
Installs this layout in the parent. |
Instance Variable | _layout |
Undocumented |
Parameters | |
gui:GUI | GUI |
Parameters | |
value:str | Cell value |
row:int | Row index |
column:int | Column index |
Parameters | |
row:int | Row index |
Parameters | |
event:QShowEvent | QShowEvent |