projectrecent::projectRecentDialog Class Reference

projectRecentDialog(QDialog, Ui_preferencesDialog) More...

Inherits ui_projectrecent::Ui_projectRecentDialog.

List of all members.

Public Member Functions

def __init__
 Constructor of projectRecentDialog It loads the list of recent project.
def clearAllRecent
 Clears all recent project.
def recentUpdate
 Updates project name, description and author.
def openRecentProject
 Opens selected recent project from recent project list.
def loadRecentProjects
 Puts items into recent project list widget.


Detailed Description

projectRecentDialog(QDialog, Ui_preferencesDialog)

Class containing main logic of recent project dialog.

Window has list of recent project and displays project name, description and author when moving through list.

Author:
Stepan Henek

Member Function Documentation

def projectrecent::projectRecentDialog::__init__ (   self,
  mainWindow 
)

Constructor of projectRecentDialog It loads the list of recent project.

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

def projectrecent::projectRecentDialog::clearAllRecent (   self  ) 

Clears all recent project.

Sets recent project list of the main window as empty and updates current widget list. Note that recent project list become actually empty after storing setting of main window settings::HotFuzzSettings::loadSettings settings::HotFuzzSettings::storeSettings

Parameters:
self The object pointer.

def projectrecent::projectRecentDialog::loadRecentProjects (   self  ) 

Puts items into recent project list widget.

Item are read from the list of recent project of the main window class.

Parameters:
self The object pointer.
See also:
window.storeSettings

window.loadSettings

def projectrecent::projectRecentDialog::openRecentProject (   self  ) 

Opens selected recent project from recent project list.

Parameters:
self The object pointer.

def projectrecent::projectRecentDialog::recentUpdate (   self,
  item,
  previous 
)

Updates project name, description and author.

Updates widgets representing project name, description and author according to activated item.

Parameters:
self The object pointer.
item Item of recent project list which was newly selected
previous Previously selected item. (unused)


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