FPIBG Utility
TabFormGenConfig.TabGenConfig Class Reference
Inheritance diagram for TabFormGenConfig.TabGenConfig:
Collaboration diagram for TabFormGenConfig.TabGenConfig:

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
 

Detailed Description

 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. 

Constructor & Destructor Documentation

◆ __init__()

TabFormGenConfig.TabGenConfig.__init__ ( self,
* args,
** kwargs )

Member Function Documentation

◆ add_item()

TabFormGenConfig.TabGenConfig.add_item ( self,
QListWidget widget,
QLineEdit input,
list[str] list )

◆ browseFileComp()

TabFormGenConfig.TabGenConfig.browseFileComp ( self)
 Opens a dialog window for the user to select a file in the file system for the compute kernel. 

◆ browseFileFrag()

TabFormGenConfig.TabGenConfig.browseFileFrag ( self)
 Opens a dialog window for the user to select a file in the file system for the frag kernel. 

◆ browseFileVert()

TabFormGenConfig.TabGenConfig.browseFileVert ( self)
 Opens a dialog window for the user to select a file in the file system for the vertex kernel. 

◆ browseFolder()

TabFormGenConfig.TabGenConfig.browseFolder ( self)
 Opens a dialog window for the user to select a folder in the file system. 

◆ Create()

TabFormGenConfig.TabGenConfig.Create ( self,
FPIBGBase )
 Constructor for the TabGenConfig object, which sets up the form on the tab. 

◆ existsEmpty()

TabFormGenConfig.TabGenConfig.existsEmpty ( self)

◆ get_label_for_hbox()

TabFormGenConfig.TabGenConfig.get_label_for_hbox ( self,
hbox,
parent_layout )
Helper function to find the label associated with an input hbox within a layout.

◆ get_label_for_widget()

TabFormGenConfig.TabGenConfig.get_label_for_widget ( self,
widget,
parent_layout )
Helper function to find the label associated with an input widget within a layout.

◆ get_string_list()

TabFormGenConfig.TabGenConfig.get_string_list ( self,
QListWidget widget )

◆ log_action()

TabFormGenConfig.TabGenConfig.log_action ( self,
action,
result )
 Log an action that is taken and the result of that action. 

◆ populate()

TabFormGenConfig.TabGenConfig.populate ( self)

◆ remove_selected_item()

TabFormGenConfig.TabGenConfig.remove_selected_item ( self,
QListWidget widget,
list[str] list )

◆ sendFormData()

TabFormGenConfig.TabGenConfig.sendFormData ( self)
 Sends data from the form to the config file writer 

◆ update_list_widget()

TabFormGenConfig.TabGenConfig.update_list_widget ( self,
QListWidget widget,
list[str] list )

Member Data Documentation

◆ bobj

TabFormGenConfig.TabGenConfig.bobj = FPIBGBase

◆ browseButton

TabFormGenConfig.TabGenConfig.browseButton = QPushButton("Browse")

◆ browseFileComp

TabFormGenConfig.TabGenConfig.browseFileComp

◆ browseFileFrag

TabFormGenConfig.TabGenConfig.browseFileFrag

◆ browseFileVert

TabFormGenConfig.TabGenConfig.browseFileVert

◆ browseFolder

TabFormGenConfig.TabGenConfig.browseFolder

◆ cfg

TabFormGenConfig.TabGenConfig.cfg = self.bobj.cfg.config

◆ comp_browseButton

TabFormGenConfig.TabGenConfig.comp_browseButton = QPushButton("Browse")

◆ comp_kernel

TabFormGenConfig.TabGenConfig.comp_kernel = QLineEdit()

◆ compile_shaders_checkbox

TabFormGenConfig.TabGenConfig.compile_shaders_checkbox = QCheckBox()

◆ debug_level

TabFormGenConfig.TabGenConfig.debug_level = QSpinBox()

◆ dev_ext_button_add

TabFormGenConfig.TabGenConfig.dev_ext_button_add = QPushButton("Add")

◆ dev_ext_button_remove

TabFormGenConfig.TabGenConfig.dev_ext_button_remove = QPushButton("Remove Selected")

◆ dev_ext_input

TabFormGenConfig.TabGenConfig.dev_ext_input = QLabel("Device Extensions:")

◆ dev_ext_input_layout

TabFormGenConfig.TabGenConfig.dev_ext_input_layout = QHBoxLayout()

◆ dev_ext_line_edit

TabFormGenConfig.TabGenConfig.dev_ext_line_edit = QLineEdit()

◆ dev_ext_list

TabFormGenConfig.TabGenConfig.dev_ext_list = []

◆ dev_ext_list_widget

TabFormGenConfig.TabGenConfig.dev_ext_list_widget = QListWidget()

◆ doauto_checkbox

TabFormGenConfig.TabGenConfig.doauto_checkbox = QCheckBox()

◆ doautowait_checkbox

TabFormGenConfig.TabGenConfig.doautowait_checkbox = QCheckBox()

◆ dt

TabFormGenConfig.TabGenConfig.dt = QLineEdit()

◆ end_frame

TabFormGenConfig.TabGenConfig.end_frame = QLineEdit()

◆ folderLineEdit

TabFormGenConfig.TabGenConfig.folderLineEdit = QLineEdit()

◆ frag_browseButton

TabFormGenConfig.TabGenConfig.frag_browseButton = QPushButton("Browse")

◆ frag_kernel

TabFormGenConfig.TabGenConfig.frag_kernel = QLineEdit()

◆ frame_delay

TabFormGenConfig.TabGenConfig.frame_delay = QLineEdit()

◆ gpu_model

TabFormGenConfig.TabGenConfig.gpu_model = QLineEdit()

◆ ins_ext_button_add

TabFormGenConfig.TabGenConfig.ins_ext_button_add = QPushButton("Add")

◆ ins_ext_button_remove

TabFormGenConfig.TabGenConfig.ins_ext_button_remove = QPushButton("Remove Selected")

◆ ins_ext_input

TabFormGenConfig.TabGenConfig.ins_ext_input = QLabel("Instance Extensions:")

◆ ins_ext_input_layout

TabFormGenConfig.TabGenConfig.ins_ext_input_layout = QHBoxLayout()

◆ ins_ext_line_edit

TabFormGenConfig.TabGenConfig.ins_ext_line_edit = QLineEdit()

◆ ins_ext_list

TabFormGenConfig.TabGenConfig.ins_ext_list = []

◆ ins_ext_list_widget

TabFormGenConfig.TabGenConfig.ins_ext_list_widget = QListWidget()

◆ log

TabFormGenConfig.TabGenConfig.log = self.bobj.log.log

◆ no_compute_checkbox

TabFormGenConfig.TabGenConfig.no_compute_checkbox = QCheckBox()

◆ rep_ext_checkbox

TabFormGenConfig.TabGenConfig.rep_ext_checkbox = QCheckBox()

◆ rep_lim_checkbox

TabFormGenConfig.TabGenConfig.rep_lim_checkbox = QCheckBox()

◆ report_compute_frames

TabFormGenConfig.TabGenConfig.report_compute_frames = QLineEdit()

◆ report_graphics_frames

TabFormGenConfig.TabGenConfig.report_graphics_frames = QLineEdit()

◆ sendFormData

TabFormGenConfig.TabGenConfig.sendFormData

◆ stop_on_data_checkbox

TabFormGenConfig.TabGenConfig.stop_on_data_checkbox = QCheckBox()

◆ submitButton

TabFormGenConfig.TabGenConfig.submitButton = QPushButton("Submit")

SUBMIT BUTTON ##.

◆ val_lay_button_add

TabFormGenConfig.TabGenConfig.val_lay_button_add = QPushButton("Add")

◆ val_lay_button_remove

TabFormGenConfig.TabGenConfig.val_lay_button_remove = QPushButton("Remove Selected")

◆ val_lay_input

TabFormGenConfig.TabGenConfig.val_lay_input = QLabel("Validation Layers:")

◆ val_lay_input_layout

TabFormGenConfig.TabGenConfig.val_lay_input_layout = QHBoxLayout()

◆ val_lay_line_edit

TabFormGenConfig.TabGenConfig.val_lay_line_edit = QLineEdit()

◆ val_lay_list

TabFormGenConfig.TabGenConfig.val_lay_list = []

◆ val_lay_list_widget

TabFormGenConfig.TabGenConfig.val_lay_list_widget = QListWidget()

◆ val_layers_checkbox

TabFormGenConfig.TabGenConfig.val_layers_checkbox = QCheckBox()

◆ vert_browseButton

TabFormGenConfig.TabGenConfig.vert_browseButton = QPushButton("Browse")

◆ vert_kernel

TabFormGenConfig.TabGenConfig.vert_kernel = QLineEdit()

The documentation for this class was generated from the following file: