FPIBG Utility
|
Public Member Functions | |
__init__ (self, *args, **kwargs) | |
Create (self, FPIBGBase) | |
populate (self) | |
update_list_widget (self, QListWidget widget, list[str] list) | |
add_item (self, QListWidget widget, QLineEdit input, list[str] list) | |
remove_selected_item (self, QListWidget widget, list[str] list) | |
get_string_list (self, QListWidget widget) | |
browseFolder (self) | |
browseFileFrag (self) | |
browseFileVert (self) | |
browseFileComp (self) | |
existsEmpty (self) | |
get_label_for_hbox (self, hbox, parent_layout) | |
get_label_for_widget (self, widget, parent_layout) | |
sendFormData (self) | |
log_action (self, action, result) | |
Public Attributes | |
bobj = FPIBGBase | |
cfg = self.bobj.cfg.config | |
log = self.bobj.log.log | |
folderLineEdit = QLineEdit() | |
browseButton = QPushButton("Browse") | |
browseFolder | |
doauto_checkbox = QCheckBox() | |
doautowait_checkbox = QCheckBox() | |
stop_on_data_checkbox = QCheckBox() | |
no_compute_checkbox = QCheckBox() | |
debug_level = QSpinBox() | |
report_compute_frames = QLineEdit() | |
report_graphics_frames = QLineEdit() | |
gpu_model = QLineEdit() | |
frame_delay = QLineEdit() | |
end_frame = QLineEdit() | |
dt = QLineEdit() | |
compile_shaders_checkbox = QCheckBox() | |
frag_kernel = QLineEdit() | |
frag_browseButton = QPushButton("Browse") | |
browseFileFrag | |
vert_kernel = QLineEdit() | |
vert_browseButton = QPushButton("Browse") | |
browseFileVert | |
comp_kernel = QLineEdit() | |
comp_browseButton = QPushButton("Browse") | |
browseFileComp | |
rep_ext_checkbox = QCheckBox() | |
rep_lim_checkbox = QCheckBox() | |
val_layers_checkbox = QCheckBox() | |
list | dev_ext_list = [] |
dev_ext_input_layout = QHBoxLayout() | |
dev_ext_input = QLabel("Device Extensions:") | |
dev_ext_line_edit = QLineEdit() | |
dev_ext_button_add = QPushButton("Add") | |
dev_ext_list_widget = QListWidget() | |
dev_ext_button_remove = QPushButton("Remove Selected") | |
list | ins_ext_list = [] |
ins_ext_input_layout = QHBoxLayout() | |
ins_ext_input = QLabel("Instance Extensions:") | |
ins_ext_line_edit = QLineEdit() | |
ins_ext_button_add = QPushButton("Add") | |
ins_ext_list_widget = QListWidget() | |
ins_ext_button_remove = QPushButton("Remove Selected") | |
list | val_lay_list = [] |
val_lay_input_layout = QHBoxLayout() | |
val_lay_input = QLabel("Validation Layers:") | |
val_lay_line_edit = QLineEdit() | |
val_lay_button_add = QPushButton("Add") | |
val_lay_list_widget = QListWidget() | |
val_lay_button_remove = QPushButton("Remove Selected") | |
submitButton = QPushButton("Submit") | |
SUBMIT BUTTON ##. | |
sendFormData | |
Object for the General Configuration Tab. This contains a form which allows the user to enter the specifications they would like to use for the simulation.
TabFormGenConfig.TabGenConfig.__init__ | ( | self, | |
* | args, | ||
** | kwargs ) |
TabFormGenConfig.TabGenConfig.add_item | ( | self, | |
QListWidget | widget, | ||
QLineEdit | input, | ||
list[str] | list ) |
TabFormGenConfig.TabGenConfig.browseFileComp | ( | self | ) |
Opens a dialog window for the user to select a file in the file system for the compute kernel.
TabFormGenConfig.TabGenConfig.browseFileFrag | ( | self | ) |
Opens a dialog window for the user to select a file in the file system for the frag kernel.
TabFormGenConfig.TabGenConfig.browseFileVert | ( | self | ) |
Opens a dialog window for the user to select a file in the file system for the vertex kernel.
TabFormGenConfig.TabGenConfig.browseFolder | ( | self | ) |
Opens a dialog window for the user to select a folder in the file system.
TabFormGenConfig.TabGenConfig.Create | ( | self, | |
FPIBGBase ) |
Constructor for the TabGenConfig object, which sets up the form on the tab.
TabFormGenConfig.TabGenConfig.existsEmpty | ( | self | ) |
TabFormGenConfig.TabGenConfig.get_label_for_hbox | ( | self, | |
hbox, | |||
parent_layout ) |
Helper function to find the label associated with an input hbox within a layout.
TabFormGenConfig.TabGenConfig.get_label_for_widget | ( | self, | |
widget, | |||
parent_layout ) |
Helper function to find the label associated with an input widget within a layout.
TabFormGenConfig.TabGenConfig.get_string_list | ( | self, | |
QListWidget | widget ) |
TabFormGenConfig.TabGenConfig.log_action | ( | self, | |
action, | |||
result ) |
Log an action that is taken and the result of that action.
TabFormGenConfig.TabGenConfig.populate | ( | self | ) |
TabFormGenConfig.TabGenConfig.remove_selected_item | ( | self, | |
QListWidget | widget, | ||
list[str] | list ) |
TabFormGenConfig.TabGenConfig.sendFormData | ( | self | ) |
Sends data from the form to the config file writer
TabFormGenConfig.TabGenConfig.update_list_widget | ( | self, | |
QListWidget | widget, | ||
list[str] | list ) |
TabFormGenConfig.TabGenConfig.bobj = FPIBGBase |
TabFormGenConfig.TabGenConfig.browseButton = QPushButton("Browse") |
TabFormGenConfig.TabGenConfig.browseFileComp |
TabFormGenConfig.TabGenConfig.browseFileFrag |
TabFormGenConfig.TabGenConfig.browseFileVert |
TabFormGenConfig.TabGenConfig.browseFolder |
TabFormGenConfig.TabGenConfig.cfg = self.bobj.cfg.config |
TabFormGenConfig.TabGenConfig.comp_browseButton = QPushButton("Browse") |
TabFormGenConfig.TabGenConfig.comp_kernel = QLineEdit() |
TabFormGenConfig.TabGenConfig.compile_shaders_checkbox = QCheckBox() |
TabFormGenConfig.TabGenConfig.debug_level = QSpinBox() |
TabFormGenConfig.TabGenConfig.dev_ext_button_add = QPushButton("Add") |
TabFormGenConfig.TabGenConfig.dev_ext_button_remove = QPushButton("Remove Selected") |
TabFormGenConfig.TabGenConfig.dev_ext_input = QLabel("Device Extensions:") |
TabFormGenConfig.TabGenConfig.dev_ext_input_layout = QHBoxLayout() |
TabFormGenConfig.TabGenConfig.dev_ext_line_edit = QLineEdit() |
TabFormGenConfig.TabGenConfig.dev_ext_list = [] |
TabFormGenConfig.TabGenConfig.dev_ext_list_widget = QListWidget() |
TabFormGenConfig.TabGenConfig.doauto_checkbox = QCheckBox() |
TabFormGenConfig.TabGenConfig.doautowait_checkbox = QCheckBox() |
TabFormGenConfig.TabGenConfig.dt = QLineEdit() |
TabFormGenConfig.TabGenConfig.end_frame = QLineEdit() |
TabFormGenConfig.TabGenConfig.folderLineEdit = QLineEdit() |
TabFormGenConfig.TabGenConfig.frag_browseButton = QPushButton("Browse") |
TabFormGenConfig.TabGenConfig.frag_kernel = QLineEdit() |
TabFormGenConfig.TabGenConfig.frame_delay = QLineEdit() |
TabFormGenConfig.TabGenConfig.gpu_model = QLineEdit() |
TabFormGenConfig.TabGenConfig.ins_ext_button_add = QPushButton("Add") |
TabFormGenConfig.TabGenConfig.ins_ext_button_remove = QPushButton("Remove Selected") |
TabFormGenConfig.TabGenConfig.ins_ext_input = QLabel("Instance Extensions:") |
TabFormGenConfig.TabGenConfig.ins_ext_input_layout = QHBoxLayout() |
TabFormGenConfig.TabGenConfig.ins_ext_line_edit = QLineEdit() |
TabFormGenConfig.TabGenConfig.ins_ext_list = [] |
TabFormGenConfig.TabGenConfig.ins_ext_list_widget = QListWidget() |
TabFormGenConfig.TabGenConfig.log = self.bobj.log.log |
TabFormGenConfig.TabGenConfig.no_compute_checkbox = QCheckBox() |
TabFormGenConfig.TabGenConfig.rep_ext_checkbox = QCheckBox() |
TabFormGenConfig.TabGenConfig.rep_lim_checkbox = QCheckBox() |
TabFormGenConfig.TabGenConfig.report_compute_frames = QLineEdit() |
TabFormGenConfig.TabGenConfig.report_graphics_frames = QLineEdit() |
TabFormGenConfig.TabGenConfig.sendFormData |
TabFormGenConfig.TabGenConfig.stop_on_data_checkbox = QCheckBox() |
TabFormGenConfig.TabGenConfig.submitButton = QPushButton("Submit") |
SUBMIT BUTTON ##.
TabFormGenConfig.TabGenConfig.val_lay_button_add = QPushButton("Add") |
TabFormGenConfig.TabGenConfig.val_lay_button_remove = QPushButton("Remove Selected") |
TabFormGenConfig.TabGenConfig.val_lay_input = QLabel("Validation Layers:") |
TabFormGenConfig.TabGenConfig.val_lay_input_layout = QHBoxLayout() |
TabFormGenConfig.TabGenConfig.val_lay_line_edit = QLineEdit() |
TabFormGenConfig.TabGenConfig.val_lay_list = [] |
TabFormGenConfig.TabGenConfig.val_lay_list_widget = QListWidget() |
TabFormGenConfig.TabGenConfig.val_layers_checkbox = QCheckBox() |
TabFormGenConfig.TabGenConfig.vert_browseButton = QPushButton("Browse") |
TabFormGenConfig.TabGenConfig.vert_kernel = QLineEdit() |