projectnew::projectNewDialog Class Reference

projectNewDialog(QDialog, Ui_projectNewDialog) More...

Inherits ui_projectnew::Ui_projectNewDialog.

List of all members.

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.


Detailed Description

projectNewDialog(QDialog, Ui_projectNewDialog)

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.

Author:
Stepan Henek

Member Function Documentation

def projectnew::projectNewDialog::__init__ (   self,
  mainWindow 
)

Constructor of projectNewDialog It loads available recoding and fuzzing templates, sets default project and author name.

Parameters:
self The object pointer
mainWindow class representing main window of the application
See also:
Window class

def projectnew::projectNewDialog::checkEmptyName (   self,
  name 
)

Check whether string name is empty.

Parameters:
name when name is empty disable create button
self The object pointer.

def projectnew::projectNewDialog::createNewProject (   self  ) 

Creates New Project Queries for a new project path using QFileDialog and creates new project using.

See also:
Window.projectCreate function, with the selected templates files, sets its Name, description and Author. And finally loads the project into main window.
Parameters:
self The object pointer.

def projectnew::projectNewDialog::loadFuzzingTemplates (   self  ) 

Function which loads all fuzzing templates from templates/fuzzing/*.xml into fuzzing template list.

Parameters:
self The object pointer.

def projectnew::projectNewDialog::loadRecordingTemplates (   self  ) 

Function which loads all recording templates from templates/recording/*.xml into recording template list.

Parameters:
self The object pointer.


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

Generated on Sun Sep 5 12:41:36 2010 for HotFuzz by  doxygen 1.5.8