resizedialog

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

Reference

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

QWidget.RenderFlags(int) QWidget.RenderFlags()

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

accepted(self) [signal]

ResizeDialog.accessibleDescription(self) → object
ResizeDialog.accessibleName(self) → object
ResizeDialog.actionEvent(self, QActionEvent)
ResizeDialog.actions(self) → object
ResizeDialog.activateWindow(self)
ResizeDialog.addAction(self, QAction)
ResizeDialog.addActions(self, object)
ResizeDialog.adjustSize(self)
ResizeDialog.autoFillBackground(self) → bool
ResizeDialog.backgroundRole(self) → QPalette.ColorRole
ResizeDialog.baseSize(self) → QSize
ResizeDialog.blockSignals(self, bool) → bool
ResizeDialog.changeEvent(self, QEvent)
ResizeDialog.childAt(self, QPoint) → QWidget

childAt(self, int, int) -> QWidget

ResizeDialog.childEvent(self, QChildEvent)
ResizeDialog.children(self) → object
ResizeDialog.childrenRect(self) → QRect
ResizeDialog.childrenRegion(self) → QRegion
ResizeDialog.clearFocus(self)
ResizeDialog.clearMask(self)
ResizeDialog.close(self) → bool
ResizeDialog.closeEvent(self, QCloseEvent)
ResizeDialog.colorCount(self) → int
ResizeDialog.connect(QObject, QT_SIGNAL, QObject, QT_SLOT_QT_SIGNAL, Qt.ConnectionType = Qt.AutoConnection) → object

connect(QObject, QT_SIGNAL, Callable[..., None], Qt.ConnectionType = Qt.AutoConnection) -> object connect(self, QObject, QT_SIGNAL, QT_SLOT_QT_SIGNAL, Qt.ConnectionType = Qt.AutoConnection) -> object

ResizeDialog.connectNotify(self, QT_SIGNAL)
ResizeDialog.contentsMargins(self) → QMargins
ResizeDialog.contentsRect(self) → QRect
ResizeDialog.contextMenuEvent(self, QContextMenuEvent)
ResizeDialog.contextMenuPolicy(self) → Qt.ContextMenuPolicy
ResizeDialog.create(self, window: int = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)
ResizeDialog.cursor(self) → QCursor
ResizeDialog.customContextMenuRequested

customContextMenuRequested(self, QPoint) [signal]

ResizeDialog.customEvent(self, QEvent)
ResizeDialog.deleteLater(self)
ResizeDialog.depth(self) → int
ResizeDialog.destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)
ResizeDialog.destroyed

destroyed(self, QObject = None) [signal] destroyed(self) [signal]

ResizeDialog.devType(self) → int
ResizeDialog.disconnect(QObject, QT_SIGNAL, QObject, QT_SLOT_QT_SIGNAL) → object

disconnect(QObject, QT_SIGNAL, Callable[..., None]) -> object

ResizeDialog.disconnectNotify(self, QT_SIGNAL)
ResizeDialog.done(self, int)
ResizeDialog.dragEnterEvent(self, QDragEnterEvent)
ResizeDialog.dragLeaveEvent(self, QDragLeaveEvent)
ResizeDialog.dragMoveEvent(self, QDragMoveEvent)
ResizeDialog.dropEvent(self, QDropEvent)
ResizeDialog.dumpObjectInfo(self)
ResizeDialog.dumpObjectTree(self)
ResizeDialog.dynamicPropertyNames(self) → object
ResizeDialog.effectiveWinId(self) → int
ResizeDialog.emit(self, QT_SIGNAL, *)
ResizeDialog.enabledChange(self, bool)
ResizeDialog.ensurePolished(self)
ResizeDialog.enterEvent(self, QEvent)
ResizeDialog.event(self, QEvent) → bool
ResizeDialog.eventFilter(self, QObject, QEvent) → bool
ResizeDialog.exec(self) → int
ResizeDialog.exec_(self) → int
ResizeDialog.extension(self) → QWidget
ResizeDialog.find(int) → QWidget
ResizeDialog.findChild(self, type, name: object = '') → object

findChild(self, Tuple, name: object = ‘’) -> object

ResizeDialog.findChildren(self, type, name: object = '') → List

findChildren(self, Tuple, name: object = ‘’) -> List findChildren(self, type, QRegExp) -> List findChildren(self, Tuple, QRegExp) -> List

ResizeDialog.finished

finished(self, int) [signal]

ResizeDialog.focusInEvent(self, QFocusEvent)
ResizeDialog.focusNextChild(self) → bool
ResizeDialog.focusNextPrevChild(self, bool) → bool
ResizeDialog.focusOutEvent(self, QFocusEvent)
ResizeDialog.focusPolicy(self) → Qt.FocusPolicy
ResizeDialog.focusPreviousChild(self) → bool
ResizeDialog.focusProxy(self) → QWidget
ResizeDialog.focusWidget(self) → QWidget
ResizeDialog.font(self) → QFont
ResizeDialog.fontChange(self, QFont)
ResizeDialog.fontInfo(self) → QFontInfo
ResizeDialog.fontMetrics(self) → QFontMetrics
ResizeDialog.foregroundRole(self) → QPalette.ColorRole
ResizeDialog.frameGeometry(self) → QRect
ResizeDialog.frameSize(self) → QSize
ResizeDialog.geometry(self) → QRect
ResizeDialog.getContentsMargins(self) → Tuple[int, int, int, int]
ResizeDialog.grabGesture(self, Qt.GestureType, flags: Qt.GestureFlags = Qt.GestureFlags(0))
ResizeDialog.grabKeyboard(self)
ResizeDialog.grabMouse(self)

grabMouse(self, QCursor)

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

move(self, int, int)

ResizeDialog.moveEvent(self, QMoveEvent)
ResizeDialog.moveToThread(self, QThread)
ResizeDialog.nativeParentWidget(self) → QWidget
ResizeDialog.nextInFocusChain(self) → QWidget
ResizeDialog.normalGeometry(self) → QRect
ResizeDialog.numColors(self) → int
ResizeDialog.objectName(self) → object
ResizeDialog.open(self)
ResizeDialog.orientation(self) → Qt.Orientation
ResizeDialog.overrideWindowFlags(self, Qt.WindowFlags)
ResizeDialog.overrideWindowState(self, Qt.WindowStates)
ResizeDialog.paintEngine(self) → QPaintEngine
ResizeDialog.paintEvent(self, QPaintEvent)
ResizeDialog.paintingActive(self) → bool
ResizeDialog.palette(self) → QPalette
ResizeDialog.paletteChange(self, QPalette)
ResizeDialog.parent(self) → QObject
ResizeDialog.parentWidget(self) → QWidget
ResizeDialog.physicalDpiX(self) → int
ResizeDialog.physicalDpiY(self) → int
ResizeDialog.pos(self) → QPoint
ResizeDialog.previousInFocusChain(self) → QWidget
ResizeDialog.property(self, 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_(self)
ResizeDialog.receivers(self, QT_SIGNAL) → int
ResizeDialog.rect(self) → QRect
ResizeDialog.reject(self)
ResizeDialog.rejected

rejected(self) [signal]

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

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

ResizeDialog.repaint(self)

repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)

ResizeDialog.resetInputContext(self)
ResizeDialog.resize(self, QSize)

resize(self, int, int)

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

scroll(self, int, int, QRect)

ResizeDialog.sender(self) → QObject
ResizeDialog.senderSignalIndex(self) → int
ResizeDialog.setAcceptDrops(self, bool)
ResizeDialog.setAccessibleDescription(self, object)
ResizeDialog.setAccessibleName(self, object)
ResizeDialog.setAttribute(self, Qt.WidgetAttribute, on: bool = True)
ResizeDialog.setAutoFillBackground(self, bool)
ResizeDialog.setBackgroundRole(self, QPalette.ColorRole)
ResizeDialog.setBaseSize(self, int, int)

setBaseSize(self, QSize)

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

setContentsMargins(self, QMargins)

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

setFixedSize(self, int, int)

ResizeDialog.setFixedWidth(self, int)
ResizeDialog.setFocus(self)

setFocus(self, Qt.FocusReason)

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

setGeometry(self, int, int, int, int)

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

setMask(self, QRegion)

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

setMaximumSize(self, QSize)

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

setMinimumSize(self, QSize)

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

setParent(self, QWidget, Qt.WindowFlags)

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

setSizeIncrement(self, QSize)

ResizeDialog.setSizePolicy(self, QSizePolicy)

setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)

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

update(self, QRect) update(self, QRegion) update(self, int, int, int, int)

ResizeDialog.updateGeometry(self)
ResizeDialog.updateMicroFocus(self)
ResizeDialog.updatesEnabled(self) → bool
ResizeDialog.visibleRegion(self) → QRegion
ResizeDialog.whatsThis(self) → object
ResizeDialog.wheelEvent(self, QWheelEvent)
ResizeDialog.width(self) → int
ResizeDialog.widthMM(self) → int
ResizeDialog.winId(self) → int
ResizeDialog.window(self) → QWidget
ResizeDialog.windowActivationChange(self, bool)
ResizeDialog.windowFilePath(self) → object
ResizeDialog.windowFlags(self) → Qt.WindowFlags
ResizeDialog.windowIcon(self) → QIcon
ResizeDialog.windowIconText(self) → object
ResizeDialog.windowModality(self) → Qt.WindowModality
ResizeDialog.windowOpacity(self) → float
ResizeDialog.windowRole(self) → object
ResizeDialog.windowState(self) → Qt.WindowStates
ResizeDialog.windowTitle(self) → object
ResizeDialog.windowType(self) → Qt.WindowType
ResizeDialog.x(self) → int
ResizeDialog.x11Info(self) → QX11Info
ResizeDialog.x11PictureHandle(self) → int
ResizeDialog.y(self) → int