Table of Contents

Class: ProjectFormsBrowser ./Project/ProjectBrowser.py

A class used to display the forms part of the project.

Via the context menu that is displayed by a right click the user can select various actions on the selected file.

Signals

appendStdout(string)
emitted after something was received from a QProcess on stdout
appendStderr(string)
emitted after something was received from a QProcess on stderr
projectSourceAdded(string)
emitted after a compile finished successfully
Base Classes   
PBrowser
    Browser
Methods   
__init__
createPopupMenus
handleCompile
handleCompileAll
handleCompileUI
handleCompileUIDone
handleDelete
handlePopupMenu
handleProjectFormAdded
handleRemove
handleStderr
handleStdout
  __init__ 
__init__ (
        self,
        project,
        qtdir,
        parent=None,
        )

Constructor

Arguments

project
reference to the project object
qtdir
path of the Qt installation directory (string)
parent
parent widget of this browser (QWidget)
  createPopupMenus 
createPopupMenus ( self )

Private overloaded method to generate the popup menu.

  handleCompile 
handleCompile ( self )

Private method to compile a form to a python file.

  handleCompileAll 
handleCompileAll ( self )

Private method to compile all forms to python files.

  handleCompileUI 
handleCompileUI (
        self,
        fn,
        noDialog=0,
        progress=None,
        )

Privat method to compile a .ui file to a .py file.

Arguments

fn
filename of the .ui file to be compiled
noDialog
flag indicating silent operations
progress
reference to the progress dialog

Returns

reference to the compile process (QProcess)

  handleCompileUIDone 
handleCompileUIDone ( self )

Private slot to handle the processExit signal of the pyuic process.

  handleDelete 
handleDelete ( self )

Private method to delete a file from the project.

  handlePopupMenu 
handlePopupMenu ( self )

Private slot called by the pyMenu aboutToShow signal.

  handleProjectFormAdded 
handleProjectFormAdded ( self,  fn )

Private slot to handle the projectSourceAdded signal.

  handleRemove 
handleRemove ( self )

Private method to remove a file from the project.

  handleStderr 
handleStderr ( self )

Private slot to handle the readyReadStderr signal of the pyuic process.

  handleStdout 
handleStdout ( self )

Private slot to handle the readyReadStdout signal of the pyuic process.


Table of Contents

This document was automatically generated on Fri Mar 14 19:54:50 2003 by HappyDoc version 2.1