gsdview.mdi

Specialized MainWindow classes and mixins.

Classes

ItemModelMainWindow([parent, flags])
ItemSubWindow(item[, parent, flags])
MdiMainWindow([parent, flags]) Base class for MDI applications.
QtWindowListMenu(parent, **kwargs) The QtWindowListMenu class is a menu that provides navigation
class gsdview.mdi.ItemModelMainWindow(parent=None, flags=<PyQt4.QtCore.WindowFlags object at 0x4585c90>, **kwargs)[source]

Bases: gsdview.mdi.MdiMainWindow

currentItem()[source]
currentToplevelItem()[source]
datamodel = None

main application datamodel (QStandardItemModel)

onItemsClosed(modelindex, start, end)[source]

Closes sub-windows associated to the closed model items.

C++ signature:void onItemsClosed(const QModelIndex&, int, int)
setActiveIndexFromWin(window)[source]

Set the active sub-window.

C++ signature:void setActiveIndexFromWin(QMdiSubWindow*)
setActiveWinFromIndex(index)[source]

Set the active sub-window from index.

C++ signature:void setActiveWinFromIndex(const QModelIndex&)
treeview = None

tree view for the main application data model

class gsdview.mdi.ItemSubWindow(item, parent=None, flags=<PyQt4.QtCore.WindowFlags object at 0x4585c20>, **kwargs)[source]

Bases: PyQt4.QtGui.QMdiSubWindow

item = None

datamodel item associated to the MDI sub-window

class gsdview.mdi.MdiMainWindow(parent=None, flags=<PyQt4.QtCore.WindowFlags object at 0x4585d70>, **kwargs)[source]

Bases: PyQt4.QtGui.QMainWindow

Base class for MDI applications.

Signals :
mdiarea = None

MDI area instance (QMdiArea)

subWindowClosed

SIGNAL: it is emitted when an MDI subwindow is closed

C++ signature:void subWindowClosed()
windowmenu = None

sub-windows menu

Get GSDView at SourceForge.net. Fast, secure and Free Open Source software downloads

Previous topic

gsdview.layermanager

Next topic

gsdview.mousemanager

This Page