artview.components.Menu¶
-
class
artview.components.
Menu
(pathDir=None, filename=None, Vradar=None, Vgrid=None, Vfilelist=None, mode=['Radar'], name='Menu', parent=None)[source]¶ Bases:
artview.core.core.Component
Class to display the MainMenu.
-
__init__
(pathDir=None, filename=None, Vradar=None, Vgrid=None, Vfilelist=None, mode=['Radar'], name='Menu', parent=None)[source]¶ Initialize the class to create the interface.
Parameters: [Optional] :
pathDir : string
Input directory path to open. If None user current directory
filename : string, False or None
File to open as first. None will open file dialog. False will open no file.
Vradar :
Variable
instanceRadar signal variable. A value of None initializes an empty Variable.
Vgrid :
Variable
instanceGrid signal variable. A value of None initializes an empty Variable.
mode : list
List with strings “Radar” or “Grid”. Determine which type of files will be open
name : string
Menu name.
parent : PyQt instance
Parent instance to associate to menu. If None, then Qt owns, otherwise associated with parent PyQt instance.
Notes
This class creates the main application interface and creates a menubar for the program.
Methods
Attributes
-
Vfilelist
= None¶
-
Vgrid
= None¶
-
Vradar
= None¶
-