Inherits ui_intro::Ui_introDialog.
Public Member Functions | |
| def | __init__ |
| Constructor of introDialog. | |
| def | clearAllRecent |
| Clears all recent project. | |
| def | recentUpdate |
| Updates recent project project name, description and author. | |
| def | browseOpen |
| Triggers Project browse dialog, which looks for main project XML file (project.xml) and tries to load it's info into Open project tab. | |
| def | processIntroAction |
| Processes Click on open/create button and trigger suitable action according to active tab. | |
| def | createNewProject |
| Creates New Project and closes intro dialog on success. | |
| def | openProject |
| Opens selected project on project open tab and closes intro dialog. | |
| def | openRecentProject |
| Opens selected project on project recent tab and closes intro dialog. | |
| def | checkEmptyName |
| Check whether string name is empty. | |
| def | loadRecentProjects |
| Puts items into recent project list widget. | |
| def | loadRecordingTemplates |
| Function which loads all recording templates from templates/recording/*.xml into recording template list. | |
| def | loadFuzzingTemplates |
| Function which loads all fuzzing templates from templates/fuzzing/*.xml into fuzzing template list. | |
| def | switchTab |
| Changes the open/create button caption whenever user switch to another tab. | |
| def | closeEvent |
| An overwritten PyQt function which is performed, when intro dialog is closed. | |
Public Attributes | |
| success | |
| Indicates whether loading of project was successful. | |
Class representing introduction dialog Dialog has 3 tabs new project, recent project, open project. This dialog can result in loading project into main window or quitting application.
| def intro::introDialog::__init__ | ( | self, | ||
| mainWindow | ||||
| ) |
Constructor of introDialog.
It loads recent project, list, fuzzing template list and recording template list and sets default author name. It consists of three independent parts: Recent project, New project and Open project
| def intro::introDialog::browseOpen | ( | self | ) |
| def intro::introDialog::checkEmptyName | ( | self, | ||
| name | ||||
| ) |
Check whether string name is empty.
| self | The object pointer. | |
| name | when name is empty disable create button |
| def intro::introDialog::clearAllRecent | ( | self | ) |
| def intro::introDialog::closeEvent | ( | self, | ||
| event | ||||
| ) |
| def intro::introDialog::createNewProject | ( | self | ) |
Creates New Project and closes intro dialog on success.
Queries for a new project path using QFileDialog and creates new project using window::Window::projectCreate function, with selected templates files, sets its Name, description and Author. Loads the project into main window and closes intro dialog.
| self | The object pointer. |
| def intro::introDialog::loadFuzzingTemplates | ( | self | ) |
Function which loads all fuzzing templates from templates/fuzzing/*.xml into fuzzing template list.
| self | The object pointer. |
| def intro::introDialog::loadRecentProjects | ( | self | ) |
| def intro::introDialog::loadRecordingTemplates | ( | self | ) |
Function which loads all recording templates from templates/recording/*.xml into recording template list.
| self | The object pointer. |
| def intro::introDialog::openProject | ( | self | ) |
| def intro::introDialog::openRecentProject | ( | self | ) |
| def intro::introDialog::processIntroAction | ( | self | ) |
Processes Click on open/create button and trigger suitable action according to active tab.
| self | The object pointer. |
| def intro::introDialog::recentUpdate | ( | self, | ||
| item, | ||||
| previous | ||||
| ) |
| def intro::introDialog::switchTab | ( | self, | ||
| index | ||||
| ) |
Changes the open/create button caption whenever user switch to another tab.
| self | The object pointer. | |
| index | of newly opened tab |
Indicates whether loading of project was successful.
1.5.8