2016-01-08 21:31:41 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
"""
|
|
|
|
***************************************************************************
|
|
|
|
QtWidgets.py
|
|
|
|
---------------------
|
|
|
|
Date : November 2015
|
|
|
|
Copyright : (C) 2015 by Matthias Kuhn
|
|
|
|
Email : matthias at opengis dot ch
|
|
|
|
***************************************************************************
|
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
|
|
* it under the terms of the GNU General Public License as published by *
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
|
|
* (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
***************************************************************************
|
|
|
|
"""
|
|
|
|
|
|
|
|
__author__ = 'Matthias Kuhn'
|
|
|
|
__date__ = 'November 2015'
|
|
|
|
__copyright__ = '(C) 2015, Matthias Kuhn'
|
|
|
|
# This will get replaced with a git SHA1 when you do a git archive
|
|
|
|
__revision__ = '$Format:%H$'
|
|
|
|
|
2015-11-08 15:26:30 +00:00
|
|
|
from PyQt4.QtGui import (
|
|
|
|
QAbstractButton,
|
|
|
|
QAbstractGraphicsShapeItem,
|
|
|
|
QAbstractItemDelegate,
|
|
|
|
QAbstractItemView,
|
|
|
|
QAbstractScrollArea,
|
|
|
|
QAbstractSlider,
|
|
|
|
QAbstractSpinBox,
|
|
|
|
QAction,
|
|
|
|
QActionGroup,
|
|
|
|
QApplication,
|
|
|
|
QBoxLayout,
|
|
|
|
QButtonGroup,
|
|
|
|
QCalendarWidget,
|
|
|
|
QCheckBox,
|
|
|
|
QColorDialog,
|
|
|
|
QColumnView,
|
|
|
|
QComboBox,
|
|
|
|
QCommandLinkButton,
|
|
|
|
QCommonStyle,
|
|
|
|
QCompleter,
|
|
|
|
QDataWidgetMapper,
|
|
|
|
QDateEdit,
|
|
|
|
QDateTimeEdit,
|
|
|
|
QDesktopWidget,
|
|
|
|
QDial,
|
|
|
|
QDialog,
|
|
|
|
QDialogButtonBox,
|
|
|
|
QDirModel,
|
|
|
|
QDockWidget,
|
|
|
|
QDoubleSpinBox,
|
|
|
|
QErrorMessage,
|
|
|
|
QFileDialog,
|
|
|
|
QFileIconProvider,
|
|
|
|
QFileSystemModel,
|
|
|
|
QFocusFrame,
|
|
|
|
QFontComboBox,
|
|
|
|
QFontDialog,
|
|
|
|
QFormLayout,
|
|
|
|
QFrame,
|
|
|
|
QGesture,
|
|
|
|
QGestureEvent,
|
|
|
|
QGestureRecognizer,
|
|
|
|
QGraphicsAnchor,
|
|
|
|
QGraphicsAnchorLayout,
|
|
|
|
QGraphicsBlurEffect,
|
|
|
|
QGraphicsColorizeEffect,
|
|
|
|
QGraphicsDropShadowEffect,
|
|
|
|
QGraphicsEffect,
|
|
|
|
QGraphicsEllipseItem,
|
|
|
|
QGraphicsGridLayout,
|
|
|
|
QGraphicsItem,
|
|
|
|
QGraphicsItemGroup,
|
|
|
|
QGraphicsLayout,
|
|
|
|
QGraphicsLayoutItem,
|
|
|
|
QGraphicsLineItem,
|
|
|
|
QGraphicsLinearLayout,
|
|
|
|
QGraphicsObject,
|
|
|
|
QGraphicsOpacityEffect,
|
|
|
|
QGraphicsPathItem,
|
|
|
|
QGraphicsPixmapItem,
|
|
|
|
QGraphicsPolygonItem,
|
|
|
|
QGraphicsProxyWidget,
|
|
|
|
QGraphicsRectItem,
|
|
|
|
QGraphicsRotation,
|
|
|
|
QGraphicsScale,
|
|
|
|
QGraphicsScene,
|
|
|
|
QGraphicsSceneContextMenuEvent,
|
|
|
|
QGraphicsSceneDragDropEvent,
|
|
|
|
QGraphicsSceneEvent,
|
|
|
|
QGraphicsSceneHelpEvent,
|
|
|
|
QGraphicsSceneHoverEvent,
|
|
|
|
QGraphicsSceneMouseEvent,
|
|
|
|
QGraphicsSceneMoveEvent,
|
|
|
|
QGraphicsSceneResizeEvent,
|
|
|
|
QGraphicsSceneWheelEvent,
|
|
|
|
QGraphicsSimpleTextItem,
|
|
|
|
QGraphicsTextItem,
|
|
|
|
QGraphicsTransform,
|
|
|
|
QGraphicsView,
|
|
|
|
QGraphicsWidget,
|
|
|
|
QGridLayout,
|
|
|
|
QGroupBox,
|
|
|
|
QHBoxLayout,
|
|
|
|
QHeaderView,
|
|
|
|
QInputDialog,
|
|
|
|
QItemDelegate,
|
|
|
|
QItemEditorCreatorBase,
|
|
|
|
QItemEditorFactory,
|
|
|
|
QKeyEventTransition,
|
|
|
|
QLCDNumber,
|
|
|
|
QLabel,
|
|
|
|
QLayout,
|
|
|
|
QLayoutItem,
|
|
|
|
QLineEdit,
|
|
|
|
QListView,
|
|
|
|
QListWidget,
|
|
|
|
QListWidgetItem,
|
|
|
|
QMainWindow,
|
|
|
|
QMdiArea,
|
|
|
|
QMdiSubWindow,
|
|
|
|
QMenu,
|
|
|
|
QMenuBar,
|
|
|
|
QMessageBox,
|
|
|
|
QMouseEventTransition,
|
|
|
|
QPanGesture,
|
|
|
|
QPinchGesture,
|
|
|
|
QPlainTextDocumentLayout,
|
|
|
|
QPlainTextEdit,
|
|
|
|
QProgressBar,
|
|
|
|
QProgressDialog,
|
|
|
|
QPushButton,
|
|
|
|
QRadioButton,
|
|
|
|
QRubberBand,
|
|
|
|
QScrollArea,
|
|
|
|
QScrollBar,
|
|
|
|
QShortcut,
|
|
|
|
QSizeGrip,
|
|
|
|
QSizePolicy,
|
|
|
|
QSlider,
|
|
|
|
QSpacerItem,
|
|
|
|
QSpinBox,
|
|
|
|
QSplashScreen,
|
|
|
|
QSplitter,
|
|
|
|
QSplitterHandle,
|
|
|
|
QStackedLayout,
|
|
|
|
QStackedWidget,
|
|
|
|
QStatusBar,
|
|
|
|
QStyle,
|
|
|
|
QStyleFactory,
|
|
|
|
QStyleHintReturn,
|
|
|
|
QStyleHintReturnMask,
|
|
|
|
QStyleHintReturnVariant,
|
|
|
|
QStyleOption,
|
|
|
|
QStyleOptionButton,
|
|
|
|
QStyleOptionComboBox,
|
|
|
|
QStyleOptionComplex,
|
|
|
|
QStyleOptionDockWidget,
|
|
|
|
QStyleOptionFocusRect,
|
|
|
|
QStyleOptionFrame,
|
|
|
|
QStyleOptionGraphicsItem,
|
|
|
|
QStyleOptionGroupBox,
|
|
|
|
QStyleOptionHeader,
|
|
|
|
QStyleOptionMenuItem,
|
|
|
|
QStyleOptionProgressBar,
|
|
|
|
QStyleOptionRubberBand,
|
|
|
|
QStyleOptionSizeGrip,
|
|
|
|
QStyleOptionSlider,
|
|
|
|
QStyleOptionSpinBox,
|
|
|
|
QStyleOptionTab,
|
|
|
|
QStyleOptionTabBarBase,
|
|
|
|
QStyleOptionTabWidgetFrame,
|
|
|
|
QStyleOptionTitleBar,
|
|
|
|
QStyleOptionToolBar,
|
|
|
|
QStyleOptionToolBox,
|
|
|
|
QStyleOptionToolButton,
|
|
|
|
QStyleOptionViewItem,
|
|
|
|
QStylePainter,
|
|
|
|
QStyledItemDelegate,
|
|
|
|
QSwipeGesture,
|
|
|
|
QSystemTrayIcon,
|
|
|
|
QTabBar,
|
|
|
|
QTabWidget,
|
|
|
|
QTableView,
|
|
|
|
QTableWidget,
|
|
|
|
QTableWidgetItem,
|
|
|
|
QTableWidgetSelectionRange,
|
|
|
|
QTapAndHoldGesture,
|
|
|
|
QTapGesture,
|
|
|
|
QTextBrowser,
|
|
|
|
QTextEdit,
|
|
|
|
QTimeEdit,
|
|
|
|
QToolBar,
|
|
|
|
QToolBox,
|
|
|
|
QToolButton,
|
|
|
|
QToolTip,
|
|
|
|
QTreeView,
|
|
|
|
QTreeWidget,
|
|
|
|
QTreeWidgetItem,
|
|
|
|
QTreeWidgetItemIterator,
|
|
|
|
QUndoCommand,
|
|
|
|
QUndoGroup,
|
|
|
|
QUndoStack,
|
|
|
|
QUndoView,
|
|
|
|
QVBoxLayout,
|
|
|
|
QWhatsThis,
|
|
|
|
QWidget,
|
|
|
|
QWidgetAction,
|
|
|
|
QWidgetItem,
|
|
|
|
QWizard,
|
|
|
|
QWizardPage,
|
|
|
|
qApp,
|
|
|
|
qDrawBorderPixmap,
|
|
|
|
qDrawPlainRect,
|
|
|
|
qDrawShadeLine,
|
|
|
|
qDrawShadePanel,
|
|
|
|
qDrawShadeRect,
|
|
|
|
qDrawWinButton,
|
|
|
|
qDrawWinPanel
|
|
|
|
)
|