appliedchemlabwork_tayra.D3.SuperWindow#

class appliedchemlabwork_tayra.D3.SuperWindow(parent: QWidget | None = None, flags: WindowType = <WindowType.Window: 1>)[source]#

The main window of the GUI tools.

Parameters:
parentQWidget | None

The parent widget.

flagsWindowType | None

The flags.

Attributes:
file_sourceQLineEdit

The text box for the file path to the source image.

result_locationstr | None

The result output location.

pick_source_btnQPushButton

The file picking button to open the source image.

start_btnQPushButton

The button to start detection process.

imgQImage

The image on the window.

Methods

__init__(parent=None,flags=…)

Initializes the class.

createWindowContents()

Creates the window main contents.

pick_file()

Picks the file.

__init__(parent: QWidget | None = None, flags: WindowType = <WindowType.Window: 1>)[source]#

Initializes the window with the parts.

Parameters:
parentQWidget, optional

The parent widget.

flagsWindowType, optional

The WindowType of the window.

Notes

This method must be called after QApplication object was initilized.

Examples

in this example, the application was launched from QApplication. >>> from PyQt6.QtWidget import QApplication >>> from appliedchemlabwork_tayra.D3 import SuperWindow >>> import sys >>> app = QApplication(argv=sys.argv) >>> app QApplication >>> m_window = SuperWindow() >>> sys.exit(app.exec())

Methods

__init__(parent, flags)

Initializes the window with the parts.

acceptDrops(self)

accessibleDescription(self)

accessibleIdentifier(self)

accessibleName(self)

actionEvent(self, a0)

actions(self)

activateWindow(self)

addAction(...)

addActions(self, actions)

addDockWidget(addDockWidget)

addToolBar()

addToolBarBreak(self[, area])

adjustSize(self)

autoFillBackground(self)

backgroundRole(self)

baseSize(self)

blockSignals(self, b)

centralWidget(self)

changeEvent(self, a0)

childAt(-> QWidget|None  -> QWidget|None)

childEvent(self, a0)

children(self)

childrenRect(self)

childrenRegion(self)

clearFocus(self)

clearMask(self)

close(self)

closeEvent(self, a0)

colorCount(self)

connectNotify(self, signal)

contentsMargins(self)

contentsRect(self)

contextMenuEvent(self, event)

contextMenuPolicy(self)

corner(self, corner)

create(self[, window, initializeWindow, ...])

createPopupMenu(self)

createWindowContainer(window[, parent, flags])

createWindowContents()

Creates the window's main contents.

cursor(self)

customEvent(self, a0)

deleteLater(self)

depth(self)

destroy(self[, destroyWindow, destroySubWindows])

devType(self)

devicePixelRatio(self)

devicePixelRatioF(self)

devicePixelRatioFScale()

disconnect(-> bool disconnect)

disconnectNotify(self, signal)

dockOptions(self)

dockWidgetArea(self, dockwidget)

documentMode(self)

dragEnterEvent(self, a0)

dragLeaveEvent(self, a0)

dragMoveEvent(self, a0)

dropEvent(self, a0)

dumpObjectInfo(self)

dumpObjectTree(self)

dynamicPropertyNames(self)

effectiveWinId(self)

ensurePolished(self)

enterEvent(self, event)

event(self, event)

eventFilter(self, a0, a1)

find(a0)

findChild(-> QObjectT)

findChildren(...)

focusInEvent(self, a0)

focusNextChild(self)

focusNextPrevChild(self, next)

focusOutEvent(self, a0)

focusPolicy(self)

focusPreviousChild(self)

focusProxy(self)

focusWidget(self)

font(self)

fontInfo(self)

fontMetrics(self)

foregroundRole(self)

frameGeometry(self)

frameSize(self)

geometry(self)

grab(self[, rectangle])

grabGesture(self, type[, flags])

grabKeyboard(self)

grabMouse(grabMouse)

grabShortcut(self, key[, context])

graphicsEffect(self)

graphicsProxyWidget(self)

hasFocus(self)

hasHeightForWidth(self)

hasMouseTracking(self)

hasTabletTracking(self)

height(self)

heightForWidth(self, a0)

heightMM(self)

hide(self)

hideEvent(self, a0)

iconSize(self)

inherits(self, classname)

initPainter(self, painter)

inputMethodEvent(self, a0)

inputMethodHints(self)

inputMethodQuery(self, a0)

insertAction(self, before, action)

insertActions(self, before, actions)

insertToolBar(self, before, toolbar)

insertToolBarBreak(self, before)

installEventFilter(self, a0)

isActiveWindow(self)

isAncestorOf(self, child)

isAnimated(self)

isDockNestingEnabled(self)

isEnabled(self)

isEnabledTo(self, a0)

isFullScreen(self)

isHidden(self)

isLeftToRight(self)

isMaximized(self)

isMinimized(self)

isModal(self)

isQmlExposed(self)

isQuickItemType(self)

isRightToLeft(self)

isSeparator(self, pos)

isSignalConnected(self, signal)

isVisible(self)

isVisibleTo(self, a0)

isWidgetType(self)

isWindow(self)

isWindowModified(self)

isWindowType(self)

keyPressEvent(self, a0)

keyReleaseEvent(self, a0)

keyboardGrabber()

killTimer(self, id)

layout(self)

layoutDirection(self)

leaveEvent(self, a0)

locale(self)

logicalDpiX(self)

logicalDpiY(self)

lower(self)

mapFrom(-> QPoint)

mapFromGlobal(-> QPoint)

mapFromParent(-> QPoint)

mapTo(-> QPoint)

mapToGlobal(-> QPoint)

mapToParent(-> QPoint)

mask(self)

maximumHeight(self)

maximumSize(self)

maximumWidth(self)

menuBar(self)

menuWidget(self)

metaObject(self)

metric(self, a0)

minimumHeight(self)

minimumSize(self)

minimumSizeHint(self)

minimumWidth(self)

mouseDoubleClickEvent(self, a0)

mouseGrabber()

mouseMoveEvent(self, a0)

mousePressEvent(self, a0)

mouseReleaseEvent(self, a0)

move(move)

moveEvent(self, a0)

moveToThread(self, thread)

nativeEvent(self, eventType, message)

nativeParentWidget(self)

nextInFocusChain(self)

normalGeometry(self)

objectName(self)

overrideWindowFlags(self, type)

overrideWindowState(self, state)

paintEngine(self)

paintEvent(self, a0)

paintingActive(self)

palette(self)

parent(self)

parentWidget(self)

physicalDpiX(self)

physicalDpiY(self)

pick_file()

pos(self)

previousInFocusChain(self)

property(self, name)

pyqtConfigure(...)

Each keyword argument is either the name of a Qt property or a Qt signal.

raise_(self)

receivers(self, signal)

rect(self)

releaseKeyboard(self)

releaseMouse(self)

releaseShortcut(self, id)

removeAction(self, action)

removeDockWidget(self, dockwidget)

removeEventFilter(self, a0)

removeToolBar(self, toolbar)

removeToolBarBreak(self, before)

render(, sourceRegion, flags, sourceRegion, ...)

repaint(repaint repaint repaint)

resize(resize)

resizeDocks(self, docks, sizes, orientation)

resizeEvent(self, a0)

restoreDockWidget(self, dockwidget)

restoreGeometry(self, geometry)

restoreState(self, state[, version])

saveGeometry(self)

saveState(self[, version])

screen(self)

scroll(scroll)

sender(self)

senderSignalIndex(self)

setAcceptDrops(self, on)

setAccessibleDescription(self, description)

setAccessibleIdentifier(self, identifier)

setAccessibleName(self, name)

setAnimated(self, enabled)

setAttribute(self, attribute[, on])

setAutoFillBackground(self, enabled)

setBackgroundRole(self, a0)

setBaseSize(setBaseSize)

setCentralWidget(self, widget)

setContentsMargins(setContentsMargins)

setContextMenuPolicy(self, policy)

setCorner(self, corner, area)

setCursor(self, a0)

setDisabled(self, a0)

setDockNestingEnabled(self, enabled)

setDockOptions(self, options)

setDocumentMode(self, enabled)

setEnabled(self, a0)

setFixedHeight(self, h)

setFixedSize(setFixedSize)

setFixedWidth(self, w)

setFocus(setFocus)

setFocusPolicy(self, policy)

setFocusProxy(self, a0)

setFont(self, a0)

setForegroundRole(self, a0)

setGeometry(setGeometry)

setGraphicsEffect(self, effect)

setHidden(self, hidden)

setIconSize(self, iconSize)

setInputMethodHints(self, hints)

setLayout(self, a0)

setLayoutDirection(self, direction)

setLocale(self, locale)

setMask(setMask)

setMaximumHeight(self, maxh)

setMaximumSize(setMaximumSize)

setMaximumWidth(self, maxw)

setMenuBar(self, menubar)

setMenuWidget(self, menubar)

setMinimumHeight(self, minh)

setMinimumSize(setMinimumSize)

setMinimumWidth(self, minw)

setMouseTracking(self, enable)

setObjectName(self, name)

setPalette(self, a0)

setParent(setParent)

setProperty(self, name, value)

setScreen(self, a0)

setShortcutAutoRepeat(self, id[, enabled])

setShortcutEnabled(self, id[, enabled])

setSizeIncrement(setSizeIncrement)

setSizePolicy(setSizePolicy)

setStatusBar(self, statusbar)

setStatusTip(self, a0)

setStyle(self, a0)

setStyleSheet(self, styleSheet)

setTabOrder(a0, a1)

setTabPosition(self, areas, tabPosition)

setTabShape(self, tabShape)

setTabletTracking(self, enable)

setToolButtonStyle(self, toolButtonStyle)

setToolTip(self, a0)

setToolTipDuration(self, msec)

setUnifiedTitleAndToolBarOnMac(self, set)

setUpdatesEnabled(self, enable)

setVisible(self, visible)

setWhatsThis(self, a0)

setWindowFilePath(self, filePath)

setWindowFlag(self, a0[, on])

setWindowFlags(self, type)

setWindowIcon(self, icon)

setWindowIconText(self, a0)

setWindowModality(self, windowModality)

setWindowModified(self, a0)

setWindowOpacity(self, level)

setWindowRole(self, a0)

setWindowState(self, state)

setWindowTitle(self, a0)

sharedPainter(self)

show(self)

showEvent(self, a0)

showFullScreen(self)

showMaximized(self)

showMinimized(self)

showNormal(self)

signalsBlocked(self)

size(self)

sizeHint(self)

sizeIncrement(self)

sizePolicy(self)

splitDockWidget(self, after, dockwidget, ...)

stackUnder(self, a0)

startTimer(self, interval[, timerType])

statusBar(self)

statusTip(self)

style(self)

styleSheet(self)

tabPosition(self, area)

tabShape(self)

tabifiedDockWidgets(self, dockwidget)

tabifyDockWidget(self, first, second)

tabletEvent(self, a0)

takeCentralWidget(self)

testAttribute(self, attribute)

thread(self)

timerEvent(self, a0)

toolBarArea(self, toolbar)

toolBarBreak(self, toolbar)

toolButtonStyle(self)

toolTip(self)

toolTipDuration(self)

tr(sourceText[, disambiguation, n])

underMouse(self)

ungrabGesture(self, type)

unifiedTitleAndToolBarOnMac(self)

unsetCursor(self)

unsetLayoutDirection(self)

unsetLocale(self)

update(update update update)

updateGeometry(self)

updateMicroFocus(self[, query])

updatesEnabled(self)

visibleRegion(self)

whatsThis(self)

wheelEvent(self, a0)

width(self)

widthMM(self)

winId(self)

window(self)

windowFilePath(self)

windowFlags(self)

windowHandle(self)

windowIcon(self)

windowIconText(self)

windowModality(self)

windowOpacity(self)

windowRole(self)

windowState(self)

windowTitle(self)

windowType(self)

x(self)

y(self)

Attributes

customContextMenuRequested

pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

destroyed

pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

iconSizeChanged

pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

objectNameChanged

pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

staticMetaObject

tabifiedDockWidgetActivated

pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

toolButtonStyleChanged

pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

windowIconChanged

pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

windowIconTextChanged

pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

windowTitleChanged

pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

file_source

result_location

pick_source_btn

start_btn

img