Inherits ui_projectnew::Ui_projectNewDialog.
Public Member Functions | |
def | __init__ |
Constructor of projectNewDialog It loads available recoding and fuzzing templates, sets default project and author name. | |
def | createNewProject |
Creates New Project Queries for a new project path using QFileDialog and creates new project using. | |
def | checkEmptyName |
Check whether string name is empty. | |
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. |
Class containing main logic of new project dialog.
Window has 2 lists (representing recording and fuzzing pre-made templates), user chooses among these templates. User also sets project name, description and author here.
def projectnew::projectNewDialog::__init__ | ( | self, | ||
mainWindow | ||||
) |
Constructor of projectNewDialog It loads available recoding and fuzzing templates, sets default project and author name.
self | The object pointer | |
mainWindow | class representing main window of the application |
def projectnew::projectNewDialog::checkEmptyName | ( | self, | ||
name | ||||
) |
Check whether string name is empty.
name | when name is empty disable create button | |
self | The object pointer. |
def projectnew::projectNewDialog::createNewProject | ( | self | ) |
def projectnew::projectNewDialog::loadFuzzingTemplates | ( | self | ) |
Function which loads all fuzzing templates from templates/fuzzing/*.xml into fuzzing template list.
self | The object pointer. |
def projectnew::projectNewDialog::loadRecordingTemplates | ( | self | ) |
Function which loads all recording templates from templates/recording/*.xml into recording template list.
self | The object pointer. |