resizedialog

The resizedialog module provides a dialog box providing essential GUI for entering parameters needed to resize an image: plotpy.widgets.resizedialog.ResizeDialog.

Reference

class plotpy.widgets.resizedialog.ResizeDialog(parent, new_size, old_size, text='', keep_original_size=False)[source]
layout() → QLayout
class RenderFlags(QWidget.RenderFlags)

QWidget.RenderFlags(int) QWidget.RenderFlags()

ResizeDialog.accept()
ResizeDialog.acceptDrops() → bool
ResizeDialog.accepted

QDialog.accepted [signal]

ResizeDialog.accessibleDescription() → str
ResizeDialog.accessibleName() → str
ResizeDialog.actions() → list-of-QAction
ResizeDialog.activateWindow()
ResizeDialog.addAction(QAction)
ResizeDialog.addActions(list-of-QAction)
ResizeDialog.adjustSize()
ResizeDialog.autoFillBackground() → bool
ResizeDialog.backgroundRole() → QPalette.ColorRole
ResizeDialog.baseSize() → QSize
ResizeDialog.blockSignals(bool) → bool
ResizeDialog.childAt(QPoint) → QWidget

QWidget.childAt(int, int) -> QWidget

ResizeDialog.children() → list-of-QObject
ResizeDialog.childrenRect() → QRect
ResizeDialog.childrenRegion() → QRegion
ResizeDialog.clearFocus()
ResizeDialog.clearMask()
ResizeDialog.close() → bool
ResizeDialog.closeEvent(QCloseEvent)
ResizeDialog.colorCount() → int
ResizeDialog.connect(QObject, SIGNAL(), QObject, SLOT(), Qt.ConnectionType=Qt.AutoConnection) → bool

QObject.connect(QObject, SIGNAL(), callable, Qt.ConnectionType=Qt.AutoConnection) -> bool QObject.connect(QObject, SIGNAL(), SLOT(), Qt.ConnectionType=Qt.AutoConnection) -> bool

ResizeDialog.contentsMargins() → QMargins
ResizeDialog.contentsRect() → QRect
ResizeDialog.contextMenuEvent(QContextMenuEvent)
ResizeDialog.contextMenuPolicy() → Qt.ContextMenuPolicy
ResizeDialog.cursor() → QCursor
ResizeDialog.customContextMenuRequested

QWidget.customContextMenuRequested[QPoint] [signal]

ResizeDialog.deleteLater()
ResizeDialog.depth() → int
ResizeDialog.destroyed

QObject.destroyed[QObject] [signal] QObject.destroyed [signal]

ResizeDialog.devType() → int
ResizeDialog.disconnect(QObject, SIGNAL(), QObject, SLOT()) → bool

QObject.disconnect(QObject, SIGNAL(), callable) -> bool

ResizeDialog.done(int)
ResizeDialog.dumpObjectInfo()
ResizeDialog.dumpObjectTree()
ResizeDialog.dynamicPropertyNames() → list-of-QByteArray
ResizeDialog.effectiveWinId() → sip.voidptr
ResizeDialog.emit(SIGNAL(), ...)
ResizeDialog.ensurePolished()
ResizeDialog.eventFilter(QObject, QEvent) → bool
ResizeDialog.exec() → int
ResizeDialog.exec_() → int
ResizeDialog.extension() → QWidget
ResizeDialog.find(sip.voidptr) → QWidget
ResizeDialog.findChild(type, str name='') → QObject

QObject.findChild(tuple, str name=’‘) -> QObject

ResizeDialog.findChildren(type, str name='') → list-of-QObject

QObject.findChildren(tuple, str name=’‘) -> list-of-QObject QObject.findChildren(type, QRegExp) -> list-of-QObject QObject.findChildren(tuple, QRegExp) -> list-of-QObject

ResizeDialog.finished

QDialog.finished[int] [signal]

ResizeDialog.focusPolicy() → Qt.FocusPolicy
ResizeDialog.focusProxy() → QWidget
ResizeDialog.focusWidget() → QWidget
ResizeDialog.font() → QFont
ResizeDialog.fontInfo() → QFontInfo
ResizeDialog.fontMetrics() → QFontMetrics
ResizeDialog.foregroundRole() → QPalette.ColorRole
ResizeDialog.frameGeometry() → QRect
ResizeDialog.frameSize() → QSize
ResizeDialog.geometry() → QRect
ResizeDialog.getContentsMargins() -> (int, int, int, int)
ResizeDialog.grabGesture(Qt.GestureType, Qt.GestureFlags flags=Qt.GestureFlags(0))
ResizeDialog.grabKeyboard()
ResizeDialog.grabMouse()

QWidget.grabMouse(QCursor)

ResizeDialog.grabShortcut(QKeySequence, Qt.ShortcutContext context=Qt.WindowShortcut) → int
ResizeDialog.graphicsEffect() → QGraphicsEffect
ResizeDialog.graphicsProxyWidget() → QGraphicsProxyWidget
ResizeDialog.hasFocus() → bool
ResizeDialog.hasMouseTracking() → bool
ResizeDialog.height() → int
ResizeDialog.heightForWidth(int) → int
ResizeDialog.heightMM() → int
ResizeDialog.hide()
ResizeDialog.inherits(str) → bool
ResizeDialog.inputContext() → QInputContext
ResizeDialog.inputMethodHints() → Qt.InputMethodHints
ResizeDialog.inputMethodQuery(Qt.InputMethodQuery) → object
ResizeDialog.insertAction(QAction, QAction)
ResizeDialog.insertActions(QAction, list-of-QAction)
ResizeDialog.installEventFilter(QObject)
ResizeDialog.isActiveWindow() → bool
ResizeDialog.isAncestorOf(QWidget) → bool
ResizeDialog.isEnabled() → bool
ResizeDialog.isEnabledTo(QWidget) → bool
ResizeDialog.isEnabledToTLW() → bool
ResizeDialog.isFullScreen() → bool
ResizeDialog.isHidden() → bool
ResizeDialog.isLeftToRight() → bool
ResizeDialog.isMaximized() → bool
ResizeDialog.isMinimized() → bool
ResizeDialog.isModal() → bool
ResizeDialog.isRightToLeft() → bool
ResizeDialog.isSizeGripEnabled() → bool
ResizeDialog.isTopLevel() → bool
ResizeDialog.isVisible() → bool
ResizeDialog.isVisibleTo(QWidget) → bool
ResizeDialog.isWidgetType() → bool
ResizeDialog.isWindow() → bool
ResizeDialog.isWindowModified() → bool
ResizeDialog.keyPressEvent(QKeyEvent)
ResizeDialog.keyboardGrabber() → QWidget
ResizeDialog.killTimer(int)
ResizeDialog.layoutDirection() → Qt.LayoutDirection
ResizeDialog.locale() → QLocale
ResizeDialog.logicalDpiX() → int
ResizeDialog.logicalDpiY() → int
ResizeDialog.lower()
ResizeDialog.mapFrom(QWidget, QPoint) → QPoint
ResizeDialog.mapFromGlobal(QPoint) → QPoint
ResizeDialog.mapFromParent(QPoint) → QPoint
ResizeDialog.mapTo(QWidget, QPoint) → QPoint
ResizeDialog.mapToGlobal(QPoint) → QPoint
ResizeDialog.mapToParent(QPoint) → QPoint
ResizeDialog.mask() → QRegion
ResizeDialog.maximumHeight() → int
ResizeDialog.maximumSize() → QSize
ResizeDialog.maximumWidth() → int
ResizeDialog.metaObject() → QMetaObject
ResizeDialog.minimumHeight() → int
ResizeDialog.minimumSize() → QSize
ResizeDialog.minimumSizeHint() → QSize
ResizeDialog.minimumWidth() → int
ResizeDialog.mouseGrabber() → QWidget
ResizeDialog.move(QPoint)

QWidget.move(int, int)

ResizeDialog.moveToThread(QThread)
ResizeDialog.nativeParentWidget() → QWidget
ResizeDialog.nextInFocusChain() → QWidget
ResizeDialog.normalGeometry() → QRect
ResizeDialog.numColors() → int
ResizeDialog.objectName() → str
ResizeDialog.open()
ResizeDialog.orientation() → Qt.Orientation
ResizeDialog.overrideWindowFlags(Qt.WindowFlags)
ResizeDialog.overrideWindowState(Qt.WindowStates)
ResizeDialog.paintEngine() → QPaintEngine
ResizeDialog.paintingActive() → bool
ResizeDialog.palette() → QPalette
ResizeDialog.parent() → QObject
ResizeDialog.parentWidget() → QWidget
ResizeDialog.physicalDpiX() → int
ResizeDialog.physicalDpiY() → int
ResizeDialog.pos() → QPoint
ResizeDialog.previousInFocusChain() → QWidget
ResizeDialog.property(str) → object
ResizeDialog.pyqtConfigure(...)

Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.

ResizeDialog.raise_()
ResizeDialog.rect() → QRect
ResizeDialog.reject()
ResizeDialog.rejected

QDialog.rejected [signal]

ResizeDialog.releaseKeyboard()
ResizeDialog.releaseMouse()
ResizeDialog.releaseShortcut(int)
ResizeDialog.removeAction(QAction)
ResizeDialog.removeEventFilter(QObject)
ResizeDialog.render(QPaintDevice, QPoint targetOffset=QPoint(), QRegion sourceRegion=QRegion(), QWidget.RenderFlags flags=QWidget.DrawWindowBackground|QWidget.DrawChildren)

QWidget.render(QPainter, QPoint targetOffset=QPoint(), QRegion sourceRegion=QRegion(), QWidget.RenderFlags flags=QWidget.DrawWindowBackground|QWidget.DrawChildren)

ResizeDialog.repaint()

QWidget.repaint(int, int, int, int) QWidget.repaint(QRect) QWidget.repaint(QRegion)

ResizeDialog.resize(QSize)

QWidget.resize(int, int)

ResizeDialog.resizeEvent(QResizeEvent)
ResizeDialog.restoreGeometry(QByteArray) → bool
ResizeDialog.result() → int
ResizeDialog.saveGeometry() → QByteArray
ResizeDialog.scroll(int, int)

QWidget.scroll(int, int, QRect)

ResizeDialog.setAcceptDrops(bool)
ResizeDialog.setAccessibleDescription(str)
ResizeDialog.setAccessibleName(str)
ResizeDialog.setAttribute(Qt.WidgetAttribute, bool on=True)
ResizeDialog.setAutoFillBackground(bool)
ResizeDialog.setBackgroundRole(QPalette.ColorRole)
ResizeDialog.setBaseSize(int, int)

QWidget.setBaseSize(QSize)

ResizeDialog.setContentsMargins(int, int, int, int)

QWidget.setContentsMargins(QMargins)

ResizeDialog.setContextMenuPolicy(Qt.ContextMenuPolicy)
ResizeDialog.setCursor(QCursor)
ResizeDialog.setDisabled(bool)
ResizeDialog.setEnabled(bool)
ResizeDialog.setExtension(QWidget)
ResizeDialog.setFixedHeight(int)
ResizeDialog.setFixedSize(QSize)

QWidget.setFixedSize(int, int)

ResizeDialog.setFixedWidth(int)
ResizeDialog.setFocus()

QWidget.setFocus(Qt.FocusReason)

ResizeDialog.setFocusPolicy(Qt.FocusPolicy)
ResizeDialog.setFocusProxy(QWidget)
ResizeDialog.setFont(QFont)
ResizeDialog.setForegroundRole(QPalette.ColorRole)
ResizeDialog.setGeometry(QRect)

QWidget.setGeometry(int, int, int, int)

ResizeDialog.setGraphicsEffect(QGraphicsEffect)
ResizeDialog.setHidden(bool)
ResizeDialog.setInputContext(QInputContext)
ResizeDialog.setInputMethodHints(Qt.InputMethodHints)
ResizeDialog.setLayout(QLayout)
ResizeDialog.setLayoutDirection(Qt.LayoutDirection)
ResizeDialog.setLocale(QLocale)
ResizeDialog.setMask(QBitmap)

QWidget.setMask(QRegion)

ResizeDialog.setMaximumHeight(int)
ResizeDialog.setMaximumSize(int, int)

QWidget.setMaximumSize(QSize)

ResizeDialog.setMaximumWidth(int)
ResizeDialog.setMinimumHeight(int)
ResizeDialog.setMinimumSize(int, int)

QWidget.setMinimumSize(QSize)

ResizeDialog.setMinimumWidth(int)
ResizeDialog.setModal(bool)
ResizeDialog.setMouseTracking(bool)
ResizeDialog.setObjectName(str)
ResizeDialog.setOrientation(Qt.Orientation)
ResizeDialog.setPalette(QPalette)
ResizeDialog.setParent(QWidget)

QWidget.setParent(QWidget, Qt.WindowFlags)

ResizeDialog.setProperty(str, object) → bool
ResizeDialog.setResult(int)
ResizeDialog.setShortcutAutoRepeat(int, bool enabled=True)
ResizeDialog.setShortcutEnabled(int, bool enabled=True)
ResizeDialog.setShown(bool)
ResizeDialog.setSizeGripEnabled(bool)
ResizeDialog.setSizeIncrement(int, int)

QWidget.setSizeIncrement(QSize)

ResizeDialog.setSizePolicy(QSizePolicy)

QWidget.setSizePolicy(QSizePolicy.Policy, QSizePolicy.Policy)

ResizeDialog.setStatusTip(str)
ResizeDialog.setStyle(QStyle)
ResizeDialog.setStyleSheet(str)
ResizeDialog.setTabOrder(QWidget, QWidget)
ResizeDialog.setToolTip(str)
ResizeDialog.setUpdatesEnabled(bool)
ResizeDialog.setVisible(bool)
ResizeDialog.setWhatsThis(str)
ResizeDialog.setWindowFilePath(str)
ResizeDialog.setWindowFlags(Qt.WindowFlags)
ResizeDialog.setWindowIcon(QIcon)
ResizeDialog.setWindowIconText(str)
ResizeDialog.setWindowModality(Qt.WindowModality)
ResizeDialog.setWindowModified(bool)
ResizeDialog.setWindowOpacity(float)
ResizeDialog.setWindowRole(str)
ResizeDialog.setWindowState(Qt.WindowStates)
ResizeDialog.setWindowTitle(str)
ResizeDialog.show()
ResizeDialog.showEvent(QShowEvent)
ResizeDialog.showExtension(bool)
ResizeDialog.showFullScreen()
ResizeDialog.showMaximized()
ResizeDialog.showMinimized()
ResizeDialog.showNormal()
ResizeDialog.signalsBlocked() → bool
ResizeDialog.size() → QSize
ResizeDialog.sizeHint() → QSize
ResizeDialog.sizeIncrement() → QSize
ResizeDialog.sizePolicy() → QSizePolicy
ResizeDialog.stackUnder(QWidget)
ResizeDialog.startTimer(int) → int
ResizeDialog.statusTip() → str
ResizeDialog.style() → QStyle
ResizeDialog.styleSheet() → str
ResizeDialog.testAttribute(Qt.WidgetAttribute) → bool
ResizeDialog.thread() → QThread
ResizeDialog.toolTip() → str
ResizeDialog.topLevelWidget() → QWidget
ResizeDialog.tr(str, str disambiguation=None, int n=-1) → str
ResizeDialog.trUtf8(str, str disambiguation=None, int n=-1) → str
ResizeDialog.underMouse() → bool
ResizeDialog.ungrabGesture(Qt.GestureType)
ResizeDialog.unsetCursor()
ResizeDialog.unsetLayoutDirection()
ResizeDialog.unsetLocale()
ResizeDialog.update()

QWidget.update(QRect) QWidget.update(QRegion) QWidget.update(int, int, int, int)

ResizeDialog.updateGeometry()
ResizeDialog.updatesEnabled() → bool
ResizeDialog.visibleRegion() → QRegion
ResizeDialog.whatsThis() → str
ResizeDialog.width() → int
ResizeDialog.widthMM() → int
ResizeDialog.winId() → sip.voidptr
ResizeDialog.window() → QWidget
ResizeDialog.windowFilePath() → str
ResizeDialog.windowFlags() → Qt.WindowFlags
ResizeDialog.windowIcon() → QIcon
ResizeDialog.windowIconText() → str
ResizeDialog.windowModality() → Qt.WindowModality
ResizeDialog.windowOpacity() → float
ResizeDialog.windowRole() → str
ResizeDialog.windowState() → Qt.WindowStates
ResizeDialog.windowTitle() → str
ResizeDialog.windowType() → Qt.WindowType
ResizeDialog.x() → int
ResizeDialog.y() → int