Subgroup: Directory
Class: QgsDirectoryItem¶
-
class
qgis.core.
QgsDirectoryItem
(parent: QgsDataItem, name: str, path: str)¶ Bases:
qgis._core.QgsDataCollectionItem
QgsDirectoryItem(parent: QgsDataItem, name: str, dirPath: str, path: str) Constructor.
Parameters: - parent –
- name – directory name
- dirPath – path to directory in file system
- path – item path in the tree, it may be dirPath or dirPath with some prefix, e.g. favorites: *
A directory: contains subdirectories and layers
Methods
actions
childEvent
childrenCreated
connectNotify
createChildren
customEvent
deferredDelete
dirPath
directoryChanged
disconnectNotify
equal
hiddenPath
Check if the given path is hidden from the browser model icon
init
isSignalConnected
paramWidget
populate
receivers
refresh
sender
senderSignalIndex
setState
timerEvent
updateIcon
Signals
Attributes
Date
Group
Name
Owner
Permissions
Size
Type
-
class
Column
¶ Bases:
int
-
Date
= 2¶
-
Group
= 5¶
-
Name
= 0¶
-
Owner
= 4¶
-
Permissions
= 3¶
-
Size
= 1¶
-
Type
= 6¶
-
actions
(self, parent: QWidget) → List[QAction]¶
-
childEvent
()¶
-
childrenCreated
(self)¶
-
connectNotify
()¶
-
createChildren
(self) → object¶
-
customEvent
()¶
-
deferredDelete
()¶
-
dirPath
(self) → str¶
-
directoryChanged
(self)¶
-
disconnectNotify
()¶
-
equal
(self, other: QgsDataItem) → bool¶
Check if the given path is hidden from the browser model
-
icon
(self) → QIcon¶
-
init
(self)¶
-
isSignalConnected
()¶
-
paramWidget
(self) → QWidget¶
-
populate
()¶
-
receivers
()¶
-
refresh
()¶
-
sender
()¶
-
senderSignalIndex
()¶
-
setState
(self, state: QgsDataItem.State)¶
-
timerEvent
()¶
-
updateIcon
()¶