Class implementing a BrowserNode that represents a file.
Methods
|
|
__init__
fileName
isDesignerFile
isLinguistFile
isProjectFile
isPythonFile
setOpen
|
|
__init__
|
__init__ (
self,
parent,
finfo,
after,
special=0,
dtext=None,
bold=0,
)
Constructor
Arguments
- parent
- parent Browser or BrowserNode
- finfo
- the string for the file (string or QString)
- after
- sibling this node is positioned after
- special
- flag indicating special treatment (boolean)
- dtext
- display text if special is set (string or QString)
- bold
- flag indicating a highlighted display (boolean)
|
|
fileName
|
fileName ( self )
Public method returning the filename.
Returns
filename (string)
|
|
isDesignerFile
|
isDesignerFile ( self )
Public method to check, if this file is a Qt-Designer file.
Returns
flag indicating a Qt-Designer file (boolean)
|
|
isLinguistFile
|
isLinguistFile ( self )
Public method to check, if this file is a Qt-Linguist.
Returns
flag indicating a Qt-Linguist file (boolean)
|
|
isProjectFile
|
isProjectFile ( self )
Public method to check, if this file is an eric3 project file.
Returns
flag indicating an eric3 project file (boolean)
|
|
isPythonFile
|
isPythonFile ( self )
Public method to check, if this file is a Python script.
Returns
flag indicating a Python file (boolean)
|
|
setOpen
|
setOpen ( self, o )
Public slot to set/reset the open state.
Arguments
|