utils.gui.pyqt.main_window.MainWindow.MainWindow
- class utils.gui.pyqt.main_window.MainWindow.MainWindow(parent=None)
Bases:
QMainWindow
,Ui_MainWindow
Main window of the application, it contains all the UI elements
Methods
acceptDrops
accessibleDescription
accessibleName
actionEvent
actions
activateWindow
addAction
addActions
addDockWidget
addToolBar
addToolBarBreak
adjustSize
autoFillBackground
backgroundRole
baseSize
blockSignals
centralWidget
changeEvent
Check if the input file is valid by checking:
Check if the output folder is valid by cheking if it exists.
childAt
childEvent
children
childrenRect
childrenRegion
clearFocus
clearMask
Clear the graphs
clear_slot
close
closeEvent
colorCount
connectNotify
contentsMargins
contentsRect
contextMenuEvent
contextMenuPolicy
corner
create
createPopupMenu
createWindowContainer
cursor
customEvent
deleteLater
depth
destroy
devType
devicePixelRatio
devicePixelRatioF
devicePixelRatioFScale
disconnect
disconnectNotify
dockOptions
dockWidgetArea
documentMode
dragEnterEvent
dragLeaveEvent
dragMoveEvent
dropEvent
dumpObjectInfo
dumpObjectTree
dynamicPropertyNames
effectiveWinId
ensurePolished
enterEvent
event
eventFilter
Export the advanced data to a file
find
findChild
findChildren
Finish the analyse
focusInEvent
focusNextChild
focusNextPrevChild
focusOutEvent
focusPolicy
focusPreviousChild
focusProxy
focusWidget
font
fontInfo
fontMetrics
foregroundRole
frameGeometry
frameSize
geometry
getContentsMargins
grab
grabGesture
grabKeyboard
grabMouse
grabShortcut
Update the number of graphs
graphicsEffect
graphicsProxyWidget
hasFocus
hasHeightForWidth
hasMouseTracking
hasTabletTracking
height
heightForWidth
heightMM
hide
hideEvent
iconSize
inherits
initPainter
inputMethodEvent
inputMethodHints
inputMethodQuery
insertAction
insertActions
insertToolBar
insertToolBarBreak
installEventFilter
isActiveWindow
isAncestorOf
isAnimated
isDockNestingEnabled
isEnabled
isEnabledTo
isFullScreen
isHidden
isLeftToRight
isMaximized
isMinimized
isModal
isRightToLeft
isSeparator
isSignalConnected
isVisible
isVisibleTo
isWidgetType
isWindow
isWindowModified
isWindowType
keyPressEvent
keyReleaseEvent
keyboardGrabber
killTimer
layer_changed
layout
layoutDirection
leaveEvent
locale
logicalDpiX
logicalDpiY
lower
mapFrom
mapFromGlobal
mapFromParent
mapTo
mapToGlobal
mapToParent
mask
maximumHeight
maximumSize
maximumWidth
menuBar
menuWidget
metaObject
metric
minimumHeight
minimumSize
minimumSizeHint
minimumWidth
mouseDoubleClickEvent
mouseGrabber
mouseMoveEvent
mousePressEvent
mouseReleaseEvent
move
moveEvent
moveToThread
nativeEvent
nativeParentWidget
nextInFocusChain
normalGeometry
objectName
overrideWindowFlags
overrideWindowState
paintEngine
paintEvent
paintingActive
palette
parent
parentWidget
physicalDpiX
physicalDpiY
pos
previousInFocusChain
Start the analyse, create the thread and connect the signals.
Start the analyse, create the thread and connect the signals.
Start the analyse, create the thread and connect the signals.
property
pyqtConfigure
Each keyword argument is either the name of a Qt property or a Qt signal.
raise_
receivers
rect
Start the analyse, create the thread and connect the signals.
releaseKeyboard
releaseMouse
releaseShortcut
removeAction
removeDockWidget
removeEventFilter
removeToolBar
removeToolBarBreak
render
Render the graphs
repaint
resize
resizeDocks
resizeEvent
restoreDockWidget
restoreGeometry
restoreState
retranslateUi
saveGeometry
saveState
Save the model to a file
screen
scroll
Open a file dialog to select the input file, if the folder_path is empty, it fills it with the files folder.
Open a file dialog to select the output folder
sender
senderSignalIndex
setAcceptDrops
setAccessibleDescription
setAccessibleName
setAnimated
setAttribute
setAutoFillBackground
setBackgroundRole
setBaseSize
setCentralWidget
setContentsMargins
setContextMenuPolicy
setCorner
setCursor
setDisabled
setDockNestingEnabled
setDockOptions
setDocumentMode
setEnabled
setFixedHeight
setFixedSize
setFixedWidth
setFocus
setFocusPolicy
setFocusProxy
setFont
setForegroundRole
setGeometry
setGraphicsEffect
setHidden
setIconSize
setInputMethodHints
setLayout
setLayoutDirection
setLocale
setMask
setMaximumHeight
setMaximumSize
setMaximumWidth
setMenuBar
setMenuWidget
setMinimumHeight
setMinimumSize
setMinimumWidth
setMouseTracking
setObjectName
setPalette
setParent
setProperty
setShortcutAutoRepeat
setShortcutEnabled
setSizeIncrement
setSizePolicy
setStatusBar
setStatusTip
setStyle
setStyleSheet
setTabOrder
setTabPosition
setTabShape
setTabletTracking
setToolButtonStyle
setToolTip
setToolTipDuration
setUnifiedTitleAndToolBarOnMac
setUpdatesEnabled
setVisible
setWhatsThis
setWindowFilePath
setWindowFlag
setWindowFlags
setWindowIcon
setWindowIconText
setWindowModality
setWindowModified
setWindowOpacity
setWindowRole
setWindowState
setWindowTitle
Persists the calculated raw data and show the values
Persists the calculated discrete data
Persists the pre-processed obj
Persists the calculated raw data
Set the status of the analyse
setupUi
sharedPainter
show
showEvent
showFullScreen
showMaximized
showMinimized
showNormal
Show the about window
Show the settings window
signalsBlocked
size
sizeHint
sizeIncrement
sizePolicy
splitDockWidget
stackUnder
startTimer
Start the analyse, create the thread and connect the signals.
statusBar
statusTip
style
styleSheet
tabPosition
tabShape
tabifiedDockWidgets
tabifyDockWidget
tabletEvent
takeCentralWidget
testAttribute
thread
timerEvent
Show or hide the graphs
toolBarArea
toolBarBreak
toolButtonStyle
toolTip
toolTipDuration
tr
underMouse
ungrabGesture
unifiedTitleAndToolBarOnMac
unsetCursor
unsetLayoutDirection
unsetLocale
update
updateGeometry
updateMicroFocus
Update the progress bar
updatesEnabled
visibleRegion
whatsThis
wheelEvent
width
widthMM
winId
window
windowFilePath
windowFlags
windowHandle
windowIcon
windowIconText
windowModality
windowOpacity
windowRole
windowState
windowTitle
windowType
x
y
Attributes
AllowNestedDocks
AllowTabbedDocks
AnimatedDocks
DrawChildren
DrawWindowBackground
ForceTabbedDocks
GroupedDragging
IgnoreMask
PdmDepth
PdmDevicePixelRatio
PdmDevicePixelRatioScaled
PdmDpiX
PdmDpiY
PdmHeight
PdmHeightMM
PdmNumColors
PdmPhysicalDpiX
PdmPhysicalDpiY
PdmWidth
PdmWidthMM
VerticalTabs
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
- check_input_file()
- Check if the input file is valid by checking:
if it exists
if its extension is .obj
- check_output_folder()
Check if the output folder is valid by cheking if it exists.
- clear_graphs()
Clear the graphs
- export_advanced_data()
Export the advanced data to a file
- finish_analyse()
Finish the analyse
- graph_type_changed()
Update the number of graphs
- process_advanced_data(discrete_data: dict, refresh: bool = False)
Start the analyse, create the thread and connect the signals.
- process_discrete_data(obj: ScannedObject)
Start the analyse, create the thread and connect the signals.
- process_raw_data(obj: ScannedObject)
Start the analyse, create the thread and connect the signals.
- refresh_advanced_data()
Start the analyse, create the thread and connect the signals.
- renderDiscreteGraphs(obj: ScannedObject, raw_data: dict, discrete_data: dict)
- renderGraphs(obj: ScannedObject, raw_data: dict, discrete_data: dict)
Render the graphs
- Parameters:
obj – The scanned object
raw_data – The raw data
discrete_data – The discrete data
- save_model()
Save the model to a file
- select_file()
Open a file dialog to select the input file, if the folder_path is empty, it fills it with the files folder.
- select_folder()
Open a file dialog to select the output folder
- set_advanced_data(advanced_data: dict)
Persists the calculated raw data and show the values
- set_discrete_data(discrete_data: dict)
Persists the calculated discrete data
- set_obj(obj: ScannedObject)
Persists the pre-processed obj
- set_raw_data(raw_data: dict)
Persists the calculated raw data
- set_status(status: str)
Set the status of the analyse
- show_about()
Show the about window
- show_settings()
Show the settings window
- start_preprocess()
Start the analyse, create the thread and connect the signals.
- toggle_graphs()
Show or hide the graphs
- update_progress_bar(value)
Update the progress bar