Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B-ASIC - Better ASIC Toolbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computer Engineering
B-ASIC - Better ASIC Toolbox
Commits
127a5687
Commit
127a5687
authored
4 months ago
by
Simon Bjurek
Browse files
Options
Downloads
Patches
Plain Diff
recompiled with pyside6, will hopefully work with pyqt6 also
parent
8a38ddc0
No related branches found
No related tags found
1 merge request
!461
Finalize earliest deadline scheduler
Pipeline
#155300
passed
4 months ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
b_asic/scheduler_gui/compile.py
+7
-1
7 additions, 1 deletion
b_asic/scheduler_gui/compile.py
b_asic/scheduler_gui/ui_main_window.py
+538
-310
538 additions, 310 deletions
b_asic/scheduler_gui/ui_main_window.py
with
545 additions
and
311 deletions
b_asic/scheduler_gui/compile.py
+
7
−
1
View file @
127a5687
...
@@ -160,7 +160,13 @@ def compile_ui(*filenames: str) -> None:
...
@@ -160,7 +160,13 @@ def compile_ui(*filenames: str) -> None:
directory
=
directory
if
directory
else
"
.
"
directory
=
directory
if
directory
else
"
.
"
outfile
=
f
"
{
directory
}
/ui_
{
file
}
.py
"
outfile
=
f
"
{
directory
}
/ui_
{
file
}
.py
"
if
uic
.
PYSIDE6
or
uic
.
PYQT6
:
if
uic
.
PYQT6
:
from
qtpy.uic
import
compileUi
with
open
(
outfile
,
"
w
"
)
as
ofile
:
compileUi
(
filename
,
ofile
)
elif
uic
.
PYSIDE6
:
uic_
=
shutil
.
which
(
"
pyside6-uic
"
)
uic_
=
shutil
.
which
(
"
pyside6-uic
"
)
arguments
=
f
"
-g python -o
{
outfile
}
{
filename
}
"
arguments
=
f
"
-g python -o
{
outfile
}
{
filename
}
"
...
...
This diff is collapsed.
Click to expand it.
b_asic/scheduler_gui/ui_main_window.py
+
538
−
310
View file @
127a5687
# Form implementation generated from reading ui file '.\b_asic\scheduler_gui\main_window.ui'
################################################################################
#
## Form generated from reading UI file 'main_window.ui'
# Created by: PyQt6 UI code generator 6.8.0
##
#
## Created by: Qt User Interface Compiler version 6.8.2
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
##
# run again. Do not edit this file unless you know what you are doing.
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
from
qtpy.QtCore
import
(
from
qtpy
import
QtCore
,
QtGui
,
QtWidgets
QCoreApplication
,
QMetaObject
,
QRect
,
QSize
,
Qt
,
)
from
qtpy.QtGui
import
(
QAction
,
QBrush
,
QColor
,
QFont
,
QIcon
,
QPainter
,
)
from
qtpy.QtWidgets
import
(
QAbstractItemView
,
QGraphicsView
,
QHBoxLayout
,
QMenu
,
QMenuBar
,
QSizePolicy
,
QSplitter
,
QStatusBar
,
QTableWidget
,
QTableWidgetItem
,
QToolBar
,
QWidget
,
)
class
Ui_MainWindow
:
class
Ui_MainWindow
:
def
setupUi
(
self
,
MainWindow
):
def
setupUi
(
self
,
MainWindow
):
MainWindow
.
setObjectName
(
"
MainWindow
"
)
if
not
MainWindow
.
objectName
():
MainWindow
.
setObjectName
(
"
MainWindow
"
)
MainWindow
.
resize
(
800
,
600
)
MainWindow
.
resize
(
800
,
600
)
sizePolicy
=
QtWidgets
.
QSizePolicy
(
sizePolicy
=
QSizePolicy
(
QtWidgets
.
QSizePolicy
.
Policy
.
Preferred
,
QSizePolicy
.
Policy
.
Preferred
,
QSizePolicy
.
Policy
.
Preferred
QtWidgets
.
QSizePolicy
.
Policy
.
Preferred
,
)
)
sizePolicy
.
setHorizontalStretch
(
0
)
sizePolicy
.
setHorizontalStretch
(
0
)
sizePolicy
.
setVerticalStretch
(
0
)
sizePolicy
.
setVerticalStretch
(
0
)
sizePolicy
.
setHeightForWidth
(
MainWindow
.
sizePolicy
().
hasHeightForWidth
())
sizePolicy
.
setHeightForWidth
(
MainWindow
.
sizePolicy
().
hasHeightForWidth
())
MainWindow
.
setSizePolicy
(
sizePolicy
)
MainWindow
.
setSizePolicy
(
sizePolicy
)
icon
=
QtGui
.
QIcon
()
icon
=
QIcon
()
icon
.
addPixmap
(
icon
.
addFile
(
QtGui
.
QPixmap
(
"
:/icons/basic/small_logo.png
"
),
"
:/icons/basic/small_logo.png
"
,
QSize
(),
QIcon
.
Mode
.
Normal
,
QIcon
.
State
.
Off
QtGui
.
QIcon
.
Mode
.
Normal
,
QtGui
.
QIcon
.
State
.
Off
,
)
)
MainWindow
.
setWindowIcon
(
icon
)
MainWindow
.
setWindowIcon
(
icon
)
self
.
centralwidget
=
QtWidgets
.
QWidget
(
parent
=
MainWindow
)
self
.
menu_load_from_file
=
QAction
(
MainWindow
)
sizePolicy
=
QtWidgets
.
QSizePolicy
(
QtWidgets
.
QSizePolicy
.
Policy
.
Preferred
,
QtWidgets
.
QSizePolicy
.
Policy
.
Preferred
,
)
sizePolicy
.
setHorizontalStretch
(
0
)
sizePolicy
.
setVerticalStretch
(
0
)
sizePolicy
.
setHeightForWidth
(
self
.
centralwidget
.
sizePolicy
().
hasHeightForWidth
()
)
self
.
centralwidget
.
setSizePolicy
(
sizePolicy
)
self
.
centralwidget
.
setObjectName
(
"
centralwidget
"
)
self
.
horizontalLayout
=
QtWidgets
.
QHBoxLayout
(
self
.
centralwidget
)
self
.
horizontalLayout
.
setContentsMargins
(
0
,
0
,
0
,
0
)
self
.
horizontalLayout
.
setSpacing
(
0
)
self
.
horizontalLayout
.
setObjectName
(
"
horizontalLayout
"
)
self
.
splitter
=
QtWidgets
.
QSplitter
(
parent
=
self
.
centralwidget
)
self
.
splitter
.
setOrientation
(
QtCore
.
Qt
.
Orientation
.
Horizontal
)
self
.
splitter
.
setHandleWidth
(
0
)
self
.
splitter
.
setObjectName
(
"
splitter
"
)
self
.
view
=
QtWidgets
.
QGraphicsView
(
parent
=
self
.
splitter
)
self
.
view
.
setAlignment
(
QtCore
.
Qt
.
AlignmentFlag
.
AlignLeading
|
QtCore
.
Qt
.
AlignmentFlag
.
AlignLeft
|
QtCore
.
Qt
.
AlignmentFlag
.
AlignTop
)
self
.
view
.
setRenderHints
(
QtGui
.
QPainter
.
RenderHint
.
Antialiasing
|
QtGui
.
QPainter
.
RenderHint
.
TextAntialiasing
)
self
.
view
.
setViewportUpdateMode
(
QtWidgets
.
QGraphicsView
.
ViewportUpdateMode
.
FullViewportUpdate
)
self
.
view
.
setObjectName
(
"
view
"
)
self
.
info_table
=
QtWidgets
.
QTableWidget
(
parent
=
self
.
splitter
)
self
.
info_table
.
setStyleSheet
(
"
alternate-background-color: #fadefb;background-color: #ebebeb;
"
)
self
.
info_table
.
setEditTriggers
(
QtWidgets
.
QAbstractItemView
.
EditTrigger
.
NoEditTriggers
)
self
.
info_table
.
setAlternatingRowColors
(
True
)
self
.
info_table
.
setSelectionBehavior
(
QtWidgets
.
QAbstractItemView
.
SelectionBehavior
.
SelectRows
)
self
.
info_table
.
setRowCount
(
2
)
self
.
info_table
.
setColumnCount
(
2
)
self
.
info_table
.
setObjectName
(
"
info_table
"
)
item
=
QtWidgets
.
QTableWidgetItem
()
self
.
info_table
.
setVerticalHeaderItem
(
0
,
item
)
item
=
QtWidgets
.
QTableWidgetItem
()
self
.
info_table
.
setVerticalHeaderItem
(
1
,
item
)
item
=
QtWidgets
.
QTableWidgetItem
()
item
.
setTextAlignment
(
QtCore
.
Qt
.
AlignmentFlag
.
AlignLeading
|
QtCore
.
Qt
.
AlignmentFlag
.
AlignVCenter
)
font
=
QtGui
.
QFont
()
font
.
setBold
(
False
)
font
.
setWeight
(
50
)
item
.
setFont
(
font
)
self
.
info_table
.
setHorizontalHeaderItem
(
0
,
item
)
item
=
QtWidgets
.
QTableWidgetItem
()
item
.
setTextAlignment
(
QtCore
.
Qt
.
AlignmentFlag
.
AlignLeading
|
QtCore
.
Qt
.
AlignmentFlag
.
AlignVCenter
)
self
.
info_table
.
setHorizontalHeaderItem
(
1
,
item
)
item
=
QtWidgets
.
QTableWidgetItem
()
font
=
QtGui
.
QFont
()
font
.
setBold
(
False
)
font
.
setWeight
(
50
)
font
.
setKerning
(
True
)
item
.
setFont
(
font
)
brush
=
QtGui
.
QBrush
(
QtGui
.
QColor
(
160
,
160
,
164
))
brush
.
setStyle
(
QtCore
.
Qt
.
BrushStyle
.
SolidPattern
)
item
.
setBackground
(
brush
)
brush
=
QtGui
.
QBrush
(
QtGui
.
QColor
(
255
,
255
,
255
))
brush
.
setStyle
(
QtCore
.
Qt
.
BrushStyle
.
SolidPattern
)
item
.
setForeground
(
brush
)
item
.
setFlags
(
QtCore
.
Qt
.
ItemFlag
.
ItemIsSelectable
|
QtCore
.
Qt
.
ItemFlag
.
ItemIsEditable
|
QtCore
.
Qt
.
ItemFlag
.
ItemIsDragEnabled
|
QtCore
.
Qt
.
ItemFlag
.
ItemIsDropEnabled
|
QtCore
.
Qt
.
ItemFlag
.
ItemIsUserCheckable
)
self
.
info_table
.
setItem
(
0
,
0
,
item
)
item
=
QtWidgets
.
QTableWidgetItem
()
font
=
QtGui
.
QFont
()
font
.
setBold
(
False
)
font
.
setWeight
(
50
)
item
.
setFont
(
font
)
brush
=
QtGui
.
QBrush
(
QtGui
.
QColor
(
160
,
160
,
164
))
brush
.
setStyle
(
QtCore
.
Qt
.
BrushStyle
.
SolidPattern
)
item
.
setBackground
(
brush
)
brush
=
QtGui
.
QBrush
(
QtGui
.
QColor
(
255
,
255
,
255
))
brush
.
setStyle
(
QtCore
.
Qt
.
BrushStyle
.
SolidPattern
)
item
.
setForeground
(
brush
)
item
.
setFlags
(
QtCore
.
Qt
.
ItemFlag
.
ItemIsSelectable
|
QtCore
.
Qt
.
ItemFlag
.
ItemIsEditable
|
QtCore
.
Qt
.
ItemFlag
.
ItemIsDragEnabled
|
QtCore
.
Qt
.
ItemFlag
.
ItemIsDropEnabled
|
QtCore
.
Qt
.
ItemFlag
.
ItemIsUserCheckable
)
self
.
info_table
.
setItem
(
1
,
0
,
item
)
self
.
info_table
.
horizontalHeader
().
setHighlightSections
(
False
)
self
.
info_table
.
horizontalHeader
().
setStretchLastSection
(
True
)
self
.
info_table
.
verticalHeader
().
setVisible
(
False
)
self
.
info_table
.
verticalHeader
().
setDefaultSectionSize
(
24
)
self
.
horizontalLayout
.
addWidget
(
self
.
splitter
)
MainWindow
.
setCentralWidget
(
self
.
centralwidget
)
self
.
menubar
=
QtWidgets
.
QMenuBar
(
parent
=
MainWindow
)
self
.
menubar
.
setGeometry
(
QtCore
.
QRect
(
0
,
0
,
800
,
20
))
self
.
menubar
.
setObjectName
(
"
menubar
"
)
self
.
menuFile
=
QtWidgets
.
QMenu
(
parent
=
self
.
menubar
)
self
.
menuFile
.
setObjectName
(
"
menuFile
"
)
self
.
menu_Recent_Schedule
=
QtWidgets
.
QMenu
(
parent
=
self
.
menuFile
)
self
.
menu_Recent_Schedule
.
setObjectName
(
"
menu_Recent_Schedule
"
)
self
.
menuView
=
QtWidgets
.
QMenu
(
parent
=
self
.
menubar
)
self
.
menuView
.
setObjectName
(
"
menuView
"
)
self
.
menu_view_execution_times
=
QtWidgets
.
QMenu
(
parent
=
self
.
menuView
)
self
.
menu_view_execution_times
.
setEnabled
(
False
)
self
.
menu_view_execution_times
.
setObjectName
(
"
menu_view_execution_times
"
)
self
.
menu_Edit
=
QtWidgets
.
QMenu
(
parent
=
self
.
menubar
)
self
.
menu_Edit
.
setObjectName
(
"
menu_Edit
"
)
self
.
menuWindow
=
QtWidgets
.
QMenu
(
parent
=
self
.
menubar
)
self
.
menuWindow
.
setObjectName
(
"
menuWindow
"
)
self
.
menuHelp
=
QtWidgets
.
QMenu
(
parent
=
self
.
menubar
)
self
.
menuHelp
.
setObjectName
(
"
menuHelp
"
)
MainWindow
.
setMenuBar
(
self
.
menubar
)
self
.
statusbar
=
QtWidgets
.
QStatusBar
(
parent
=
MainWindow
)
self
.
statusbar
.
setObjectName
(
"
statusbar
"
)
MainWindow
.
setStatusBar
(
self
.
statusbar
)
self
.
toolBar
=
QtWidgets
.
QToolBar
(
parent
=
MainWindow
)
self
.
toolBar
.
setObjectName
(
"
toolBar
"
)
MainWindow
.
addToolBar
(
QtCore
.
Qt
.
ToolBarArea
.
TopToolBarArea
,
self
.
toolBar
)
self
.
menu_load_from_file
=
QtGui
.
QAction
(
parent
=
MainWindow
)
icon
=
QtGui
.
QIcon
.
fromTheme
(
"
document-open-folder
"
)
self
.
menu_load_from_file
.
setIcon
(
icon
)
self
.
menu_load_from_file
.
setStatusTip
(
""
)
self
.
menu_load_from_file
.
setObjectName
(
"
menu_load_from_file
"
)
self
.
menu_load_from_file
.
setObjectName
(
"
menu_load_from_file
"
)
self
.
menu_save
=
QtGui
.
QAction
(
parent
=
MainWindow
)
icon1
=
QIcon
()
self
.
menu_save
.
setEnabled
(
False
)
iconThemeName
=
"
document-open-folder
"
icon
=
QtGui
.
QIcon
.
fromTheme
(
"
document-save
"
)
if
QIcon
.
hasThemeIcon
(
iconThemeName
):
self
.
menu_save
.
setIcon
(
icon
)
icon1
=
QIcon
.
fromTheme
(
iconThemeName
)
else
:
icon1
.
addFile
(
"
../../../.designer/backup
"
,
QSize
(),
QIcon
.
Mode
.
Normal
,
QIcon
.
State
.
Off
,
)
self
.
menu_load_from_file
.
setIcon
(
icon1
)
self
.
menu_save
=
QAction
(
MainWindow
)
self
.
menu_save
.
setObjectName
(
"
menu_save
"
)
self
.
menu_save
.
setObjectName
(
"
menu_save
"
)
self
.
menu_node_info
=
QtGui
.
QAction
(
parent
=
MainWindow
)
self
.
menu_save
.
setEnabled
(
False
)
icon2
=
QIcon
()
iconThemeName
=
"
document-save
"
if
QIcon
.
hasThemeIcon
(
iconThemeName
):
icon2
=
QIcon
.
fromTheme
(
iconThemeName
)
else
:
icon2
.
addFile
(
"
../../../.designer/backup
"
,
QSize
(),
QIcon
.
Mode
.
Normal
,
QIcon
.
State
.
Off
,
)
self
.
menu_save
.
setIcon
(
icon2
)
self
.
menu_node_info
=
QAction
(
MainWindow
)
self
.
menu_node_info
.
setObjectName
(
"
menu_node_info
"
)
self
.
menu_node_info
.
setCheckable
(
True
)
self
.
menu_node_info
.
setCheckable
(
True
)
self
.
menu_node_info
.
setChecked
(
True
)
self
.
menu_node_info
.
setChecked
(
True
)
icon1
=
QtGui
.
QIcon
()
icon3
=
QIcon
()
icon1
.
addPixmap
(
icon3
.
addFile
(
QtGui
.
QPixmap
(
"
:/icons/misc/right_panel.svg
"
),
"
:/icons/misc/right_panel.svg
"
,
QSize
(),
QIcon
.
Mode
.
Normal
,
QIcon
.
State
.
Off
QtGui
.
QIcon
.
Mode
.
Normal
,
)
QtGui
.
QIcon
.
State
.
Off
,
icon3
.
addFile
(
)
"
:/icons/misc/right_filled_panel.svg
"
,
icon1
.
addPixmap
(
QSize
(),
QtGui
.
QPixmap
(
"
:/icons/misc/right_filled_panel.svg
"
),
QIcon
.
Mode
.
Normal
,
QtGui
.
QIcon
.
Mode
.
Normal
,
QIcon
.
State
.
On
,
QtGui
.
QIcon
.
State
.
On
,
)
)
self
.
menu_node_info
.
setIcon
(
icon3
)
self
.
menu_node_info
.
setIcon
(
icon1
)
self
.
menu_node_info
.
setIconVisibleInMenu
(
False
)
self
.
menu_node_info
.
setIconVisibleInMenu
(
False
)
self
.
menu_node_info
.
setObjectName
(
"
menu_node_info
"
)
self
.
menu_quit
=
QAction
(
MainWindow
)
self
.
menu_quit
=
QtGui
.
QAction
(
parent
=
MainWindow
)
icon
=
QtGui
.
QIcon
.
fromTheme
(
"
application-exit
"
)
self
.
menu_quit
.
setIcon
(
icon
)
self
.
menu_quit
.
setObjectName
(
"
menu_quit
"
)
self
.
menu_quit
.
setObjectName
(
"
menu_quit
"
)
self
.
menu_save_as
=
QtGui
.
QAction
(
parent
=
MainWindow
)
icon4
=
QIcon
()
self
.
menu_save_as
.
setEnabled
(
False
)
iconThemeName
=
"
application-exit
"
icon
=
QtGui
.
QIcon
.
fromTheme
(
"
document-save-as
"
)
if
QIcon
.
hasThemeIcon
(
iconThemeName
):
self
.
menu_save_as
.
setIcon
(
icon
)
icon4
=
QIcon
.
fromTheme
(
iconThemeName
)
else
:
icon4
.
addFile
(
"
../../../.designer/backup
"
,
QSize
(),
QIcon
.
Mode
.
Normal
,
QIcon
.
State
.
Off
,
)
self
.
menu_quit
.
setIcon
(
icon4
)
self
.
menu_save_as
=
QAction
(
MainWindow
)
self
.
menu_save_as
.
setObjectName
(
"
menu_save_as
"
)
self
.
menu_save_as
.
setObjectName
(
"
menu_save_as
"
)
self
.
menu_exit_dialog
=
QtGui
.
QAction
(
parent
=
MainWindow
)
self
.
menu_save_as
.
setEnabled
(
False
)
icon5
=
QIcon
()
iconThemeName
=
"
document-save-as
"
if
QIcon
.
hasThemeIcon
(
iconThemeName
):
icon5
=
QIcon
.
fromTheme
(
iconThemeName
)
else
:
icon5
.
addFile
(
"
../../../.designer/backup
"
,
QSize
(),
QIcon
.
Mode
.
Normal
,
QIcon
.
State
.
Off
,
)
self
.
menu_save_as
.
setIcon
(
icon5
)
self
.
menu_exit_dialog
=
QAction
(
MainWindow
)
self
.
menu_exit_dialog
.
setObjectName
(
"
menu_exit_dialog
"
)
self
.
menu_exit_dialog
.
setCheckable
(
True
)
self
.
menu_exit_dialog
.
setCheckable
(
True
)
self
.
menu_exit_dialog
.
setChecked
(
True
)
self
.
menu_exit_dialog
.
setChecked
(
True
)
icon
=
QtGui
.
QIcon
.
fromTheme
(
"
view-close
"
)
icon6
=
QIcon
()
self
.
menu_exit_dialog
.
setIcon
(
icon
)
iconThemeName
=
"
view-close
"
self
.
menu_exit_dialog
.
setObjectName
(
"
menu_exit_dialog
"
)
if
QIcon
.
hasThemeIcon
(
iconThemeName
):
self
.
menu_close_schedule
=
QtGui
.
QAction
(
parent
=
MainWindow
)
icon6
=
QIcon
.
fromTheme
(
iconThemeName
)
self
.
menu_close_schedule
.
setEnabled
(
False
)
else
:
icon
=
QtGui
.
QIcon
.
fromTheme
(
"
view-close
"
)
icon6
.
addFile
(
self
.
menu_close_schedule
.
setIcon
(
icon
)
"
../../../.designer/backup
"
,
QSize
(),
QIcon
.
Mode
.
Normal
,
QIcon
.
State
.
Off
,
)
self
.
menu_exit_dialog
.
setIcon
(
icon6
)
self
.
menu_close_schedule
=
QAction
(
MainWindow
)
self
.
menu_close_schedule
.
setObjectName
(
"
menu_close_schedule
"
)
self
.
menu_close_schedule
.
setObjectName
(
"
menu_close_schedule
"
)
self
.
actionAbout
=
QtGui
.
QAction
(
parent
=
MainWindow
)
self
.
menu_close_schedule
.
setEnabled
(
False
)
self
.
menu_close_schedule
.
setIcon
(
icon6
)
self
.
actionAbout
=
QAction
(
MainWindow
)
self
.
actionAbout
.
setObjectName
(
"
actionAbout
"
)
self
.
actionAbout
.
setObjectName
(
"
actionAbout
"
)
self
.
actionDocumentation
=
QtGui
.
QAction
(
parent
=
MainWindow
)
self
.
actionDocumentation
=
QAction
(
MainWindow
)
self
.
actionDocumentation
.
setObjectName
(
"
actionDocumentation
"
)
self
.
actionDocumentation
.
setObjectName
(
"
actionDocumentation
"
)
self
.
actionReorder
=
QtGui
.
QAction
(
parent
=
MainWindow
)
self
.
actionReorder
=
QAction
(
MainWindow
)
self
.
actionReorder
.
setObjectName
(
"
actionReorder
"
)
self
.
actionReorder
.
setObjectName
(
"
actionReorder
"
)
self
.
actionPlot_schedule
=
QtGui
.
QAction
(
parent
=
MainWindow
)
self
.
actionPlot_schedule
=
QAction
(
MainWindow
)
self
.
actionPlot_schedule
.
setObjectName
(
"
actionPlot_schedule
"
)
self
.
actionPlot_schedule
.
setObjectName
(
"
actionPlot_schedule
"
)
self
.
action_view_variables
=
QtGui
.
QAction
(
parent
=
MainWindow
)
self
.
action_view_variables
=
QAction
(
MainWindow
)
self
.
action_view_variables
.
setEnabled
(
False
)
self
.
action_view_variables
.
setObjectName
(
"
action_view_variables
"
)
self
.
action_view_variables
.
setObjectName
(
"
action_view_variables
"
)
self
.
action_view_
port_acc
esse
s
=
QtGui
.
QAction
(
parent
=
MainWindow
)
self
.
action_view_
variabl
es
.
se
tEnabled
(
False
)
self
.
action_view_port_accesses
.
setEnabled
(
False
)
self
.
action_view_port_accesses
=
QAction
(
MainWindow
)
self
.
action_view_port_accesses
.
setObjectName
(
"
action_view_port_accesses
"
)
self
.
action_view_port_accesses
.
setObjectName
(
"
action_view_port_accesses
"
)
self
.
action
Undo
=
QtGui
.
QAction
(
parent
=
MainWindow
)
self
.
action
_view_port_accesses
.
setEnabled
(
False
)
self
.
actionUndo
.
setEnabled
(
False
)
self
.
actionUndo
=
QAction
(
MainWindow
)
self
.
actionUndo
.
setObjectName
(
"
actionUndo
"
)
self
.
actionUndo
.
setObjectName
(
"
actionUndo
"
)
self
.
action
Redo
=
QtGui
.
QAction
(
parent
=
MainWindow
)
self
.
action
Undo
.
setEnabled
(
False
)
self
.
actionRedo
.
setEnabled
(
False
)
self
.
actionRedo
=
QAction
(
MainWindow
)
self
.
actionRedo
.
setObjectName
(
"
actionRedo
"
)
self
.
actionRedo
.
setObjectName
(
"
actionRedo
"
)
self
.
actionIncrease_time_resolution
=
QtGui
.
QAction
(
parent
=
MainWindow
)
self
.
actionRedo
.
setEnabled
(
False
)
self
.
actionIncrease_time_resolution
=
QAction
(
MainWindow
)
self
.
actionIncrease_time_resolution
.
setObjectName
(
self
.
actionIncrease_time_resolution
.
setObjectName
(
"
actionIncrease_time_resolution
"
"
actionIncrease_time_resolution
"
)
)
self
.
actionDecrease_time_resolution
=
QtGui
.
QAction
(
parent
=
MainWindow
)
self
.
actionDecrease_time_resolution
=
QAction
(
MainWindow
)
self
.
actionDecrease_time_resolution
.
setObjectName
(
self
.
actionDecrease_time_resolution
.
setObjectName
(
"
actionDecrease_time_resolution
"
"
actionDecrease_time_resolution
"
)
)
self
.
actionZoom_to_fit
=
QtGui
.
QAction
(
parent
=
MainWindow
)
self
.
actionZoom_to_fit
=
QAction
(
MainWindow
)
self
.
actionZoom_to_fit
.
setObjectName
(
"
actionZoom_to_fit
"
)
self
.
actionZoom_to_fit
.
setObjectName
(
"
actionZoom_to_fit
"
)
self
.
actionStatus_bar
=
QtGui
.
QAction
(
parent
=
MainWindow
)
self
.
actionStatus_bar
=
QAction
(
MainWindow
)
self
.
actionStatus_bar
.
setObjectName
(
"
actionStatus_bar
"
)
self
.
actionStatus_bar
.
setCheckable
(
True
)
self
.
actionStatus_bar
.
setCheckable
(
True
)
self
.
actionStatus_bar
.
setChecked
(
True
)
self
.
actionStatus_bar
.
setChecked
(
True
)
self
.
action
Status_bar
.
setObjectName
(
"
actionStatus_bar
"
)
self
.
action
Toolbar
=
QAction
(
MainWindow
)
self
.
actionToolbar
=
QtGui
.
QAction
(
parent
=
MainWindow
)
self
.
actionToolbar
.
setObjectName
(
"
actionToolbar
"
)
self
.
actionToolbar
.
setCheckable
(
True
)
self
.
actionToolbar
.
setCheckable
(
True
)
self
.
actionToolbar
.
setChecked
(
True
)
self
.
actionToolbar
.
setChecked
(
True
)
self
.
action
Toolbar
.
setObjectName
(
"
actionToolbar
"
)
self
.
action
_show_port_numbers
=
QAction
(
MainWindow
)
self
.
action_show_port_numbers
=
QtGui
.
QAction
(
parent
=
MainWindow
)
self
.
action_show_port_numbers
.
setObjectName
(
"
action_show_port_numbers
"
)
self
.
action_show_port_numbers
.
setCheckable
(
True
)
self
.
action_show_port_numbers
.
setCheckable
(
True
)
self
.
action_show_port_numbers
.
setChecked
(
False
)
self
.
action_show_port_numbers
.
setChecked
(
False
)
self
.
action_show_port_numbers
.
setIconVisibleInMenu
(
False
)
self
.
action_show_port_numbers
.
setIconVisibleInMenu
(
False
)
self
.
action_show_port_numbers
.
setObjectName
(
"
action_show_port_numbers
"
)
self
.
action_incorrect_execution_time
=
QAction
(
MainWindow
)
self
.
action_incorrect_execution_time
=
QtGui
.
QAction
(
parent
=
MainWindow
)
self
.
action_incorrect_execution_time
.
setCheckable
(
True
)
self
.
action_incorrect_execution_time
.
setChecked
(
True
)
self
.
action_incorrect_execution_time
.
setIconVisibleInMenu
(
False
)
self
.
action_incorrect_execution_time
.
setObjectName
(
self
.
action_incorrect_execution_time
.
setObjectName
(
"
action_incorrect_execution_time
"
"
action_incorrect_execution_time
"
)
)
self
.
menu_open
=
QtGui
.
QAction
(
parent
=
MainWindow
)
self
.
action_incorrect_execution_time
.
setCheckable
(
True
)
icon
=
QtGui
.
QIcon
.
fromTheme
(
"
personal
"
)
self
.
action_incorrect_execution_time
.
setChecked
(
True
)
self
.
menu_open
.
setIcon
(
icon
)
self
.
action_incorrect_execution_time
.
setIconVisibleInMenu
(
False
)
self
.
menu_open
=
QAction
(
MainWindow
)
self
.
menu_open
.
setObjectName
(
"
menu_open
"
)
self
.
menu_open
.
setObjectName
(
"
menu_open
"
)
self
.
actionToggle_full_screen
=
QtGui
.
QAction
(
parent
=
MainWindow
)
icon7
=
QIcon
(
QIcon
.
fromTheme
(
"
personal
"
))
self
.
actionToggle_full_screen
.
setCheckable
(
True
)
self
.
menu_open
.
setIcon
(
icon7
)
self
.
actionToggle_full_screen
=
QAction
(
MainWindow
)
self
.
actionToggle_full_screen
.
setObjectName
(
"
actionToggle_full_screen
"
)
self
.
actionToggle_full_screen
.
setObjectName
(
"
actionToggle_full_screen
"
)
self
.
actionPreferences
=
QtGui
.
QAction
(
parent
=
MainWindow
)
self
.
actionToggle_full_screen
.
setCheckable
(
True
)
icon
=
QtGui
.
QIcon
.
fromTheme
(
"
preferences-desktop-personal
"
)
self
.
actionPreferences
=
QAction
(
MainWindow
)
self
.
actionPreferences
.
setIcon
(
icon
)
self
.
actionPreferences
.
setObjectName
(
"
actionPreferences
"
)
self
.
actionPreferences
.
setObjectName
(
"
actionPreferences
"
)
icon8
=
QIcon
(
QIcon
.
fromTheme
(
"
preferences-desktop-personal
"
))
self
.
actionPreferences
.
setIcon
(
icon8
)
self
.
centralwidget
=
QWidget
(
MainWindow
)
self
.
centralwidget
.
setObjectName
(
"
centralwidget
"
)
sizePolicy
.
setHeightForWidth
(
self
.
centralwidget
.
sizePolicy
().
hasHeightForWidth
()
)
self
.
centralwidget
.
setSizePolicy
(
sizePolicy
)
self
.
horizontalLayout
=
QHBoxLayout
(
self
.
centralwidget
)
self
.
horizontalLayout
.
setSpacing
(
0
)
self
.
horizontalLayout
.
setObjectName
(
"
horizontalLayout
"
)
self
.
horizontalLayout
.
setContentsMargins
(
0
,
0
,
0
,
0
)
self
.
splitter
=
QSplitter
(
self
.
centralwidget
)
self
.
splitter
.
setObjectName
(
"
splitter
"
)
self
.
splitter
.
setOrientation
(
Qt
.
Horizontal
)
self
.
splitter
.
setHandleWidth
(
0
)
self
.
view
=
QGraphicsView
(
self
.
splitter
)
self
.
view
.
setObjectName
(
"
view
"
)
self
.
view
.
setAlignment
(
Qt
.
AlignLeading
|
Qt
.
AlignLeft
|
Qt
.
AlignTop
)
self
.
view
.
setRenderHints
(
QPainter
.
Antialiasing
|
QPainter
.
TextAntialiasing
)
self
.
view
.
setViewportUpdateMode
(
QGraphicsView
.
FullViewportUpdate
)
self
.
splitter
.
addWidget
(
self
.
view
)
self
.
info_table
=
QTableWidget
(
self
.
splitter
)
if
self
.
info_table
.
columnCount
()
<
2
:
self
.
info_table
.
setColumnCount
(
2
)
font
=
QFont
()
font
.
setBold
(
False
)
__qtablewidgetitem
=
QTableWidgetItem
()
__qtablewidgetitem
.
setTextAlignment
(
Qt
.
AlignLeading
|
Qt
.
AlignVCenter
)
__qtablewidgetitem
.
setFont
(
font
)
self
.
info_table
.
setHorizontalHeaderItem
(
0
,
__qtablewidgetitem
)
__qtablewidgetitem1
=
QTableWidgetItem
()
__qtablewidgetitem1
.
setTextAlignment
(
Qt
.
AlignLeading
|
Qt
.
AlignVCenter
)
self
.
info_table
.
setHorizontalHeaderItem
(
1
,
__qtablewidgetitem1
)
if
self
.
info_table
.
rowCount
()
<
2
:
self
.
info_table
.
setRowCount
(
2
)
__qtablewidgetitem2
=
QTableWidgetItem
()
self
.
info_table
.
setVerticalHeaderItem
(
0
,
__qtablewidgetitem2
)
__qtablewidgetitem3
=
QTableWidgetItem
()
self
.
info_table
.
setVerticalHeaderItem
(
1
,
__qtablewidgetitem3
)
brush
=
QBrush
(
QColor
(
255
,
255
,
255
,
255
))
brush
.
setStyle
(
Qt
.
SolidPattern
)
brush1
=
QBrush
(
QColor
(
160
,
160
,
164
,
255
))
brush1
.
setStyle
(
Qt
.
SolidPattern
)
font1
=
QFont
()
font1
.
setBold
(
False
)
font1
.
setKerning
(
True
)
__qtablewidgetitem4
=
QTableWidgetItem
()
__qtablewidgetitem4
.
setFont
(
font1
)
__qtablewidgetitem4
.
setBackground
(
brush1
)
__qtablewidgetitem4
.
setForeground
(
brush
)
__qtablewidgetitem4
.
setFlags
(
Qt
.
ItemIsSelectable
|
Qt
.
ItemIsEditable
|
Qt
.
ItemIsDragEnabled
|
Qt
.
ItemIsDropEnabled
|
Qt
.
ItemIsUserCheckable
)
self
.
info_table
.
setItem
(
0
,
0
,
__qtablewidgetitem4
)
__qtablewidgetitem5
=
QTableWidgetItem
()
__qtablewidgetitem5
.
setFont
(
font
)
__qtablewidgetitem5
.
setBackground
(
brush1
)
__qtablewidgetitem5
.
setForeground
(
brush
)
__qtablewidgetitem5
.
setFlags
(
Qt
.
ItemIsSelectable
|
Qt
.
ItemIsEditable
|
Qt
.
ItemIsDragEnabled
|
Qt
.
ItemIsDropEnabled
|
Qt
.
ItemIsUserCheckable
)
self
.
info_table
.
setItem
(
1
,
0
,
__qtablewidgetitem5
)
self
.
info_table
.
setObjectName
(
"
info_table
"
)
self
.
info_table
.
setStyleSheet
(
"
alternate-background-color: #fadefb;background-color: #ebebeb;
"
)
self
.
info_table
.
setEditTriggers
(
QAbstractItemView
.
NoEditTriggers
)
self
.
info_table
.
setAlternatingRowColors
(
True
)
self
.
info_table
.
setSelectionBehavior
(
QAbstractItemView
.
SelectRows
)
self
.
info_table
.
setRowCount
(
2
)
self
.
info_table
.
setColumnCount
(
2
)
self
.
splitter
.
addWidget
(
self
.
info_table
)
self
.
info_table
.
horizontalHeader
().
setHighlightSections
(
False
)
self
.
info_table
.
horizontalHeader
().
setStretchLastSection
(
True
)
self
.
info_table
.
verticalHeader
().
setVisible
(
False
)
self
.
info_table
.
verticalHeader
().
setDefaultSectionSize
(
24
)
self
.
horizontalLayout
.
addWidget
(
self
.
splitter
)
MainWindow
.
setCentralWidget
(
self
.
centralwidget
)
self
.
menubar
=
QMenuBar
(
MainWindow
)
self
.
menubar
.
setObjectName
(
"
menubar
"
)
self
.
menubar
.
setGeometry
(
QRect
(
0
,
0
,
800
,
20
))
self
.
menuFile
=
QMenu
(
self
.
menubar
)
self
.
menuFile
.
setObjectName
(
"
menuFile
"
)
self
.
menu_Recent_Schedule
=
QMenu
(
self
.
menuFile
)
self
.
menu_Recent_Schedule
.
setObjectName
(
"
menu_Recent_Schedule
"
)
self
.
menuView
=
QMenu
(
self
.
menubar
)
self
.
menuView
.
setObjectName
(
"
menuView
"
)
self
.
menu_view_execution_times
=
QMenu
(
self
.
menuView
)
self
.
menu_view_execution_times
.
setObjectName
(
"
menu_view_execution_times
"
)
self
.
menu_view_execution_times
.
setEnabled
(
False
)
self
.
menu_Edit
=
QMenu
(
self
.
menubar
)
self
.
menu_Edit
.
setObjectName
(
"
menu_Edit
"
)
self
.
menuWindow
=
QMenu
(
self
.
menubar
)
self
.
menuWindow
.
setObjectName
(
"
menuWindow
"
)
self
.
menuHelp
=
QMenu
(
self
.
menubar
)
self
.
menuHelp
.
setObjectName
(
"
menuHelp
"
)
MainWindow
.
setMenuBar
(
self
.
menubar
)
self
.
statusbar
=
QStatusBar
(
MainWindow
)
self
.
statusbar
.
setObjectName
(
"
statusbar
"
)
MainWindow
.
setStatusBar
(
self
.
statusbar
)
self
.
toolBar
=
QToolBar
(
MainWindow
)
self
.
toolBar
.
setObjectName
(
"
toolBar
"
)
MainWindow
.
addToolBar
(
Qt
.
ToolBarArea
.
TopToolBarArea
,
self
.
toolBar
)
self
.
menubar
.
addAction
(
self
.
menuFile
.
menuAction
())
self
.
menubar
.
addAction
(
self
.
menu_Edit
.
menuAction
())
self
.
menubar
.
addAction
(
self
.
menuView
.
menuAction
())
self
.
menubar
.
addAction
(
self
.
menuWindow
.
menuAction
())
self
.
menubar
.
addAction
(
self
.
menuHelp
.
menuAction
())
self
.
menuFile
.
addAction
(
self
.
menu_open
)
self
.
menuFile
.
addAction
(
self
.
menu_open
)
self
.
menuFile
.
addAction
(
self
.
menu_Recent_Schedule
.
menuAction
())
self
.
menuFile
.
addAction
(
self
.
menu_Recent_Schedule
.
menuAction
())
self
.
menuFile
.
addAction
(
self
.
menu_load_from_file
)
self
.
menuFile
.
addAction
(
self
.
menu_load_from_file
)
...
@@ -306,11 +366,6 @@ class Ui_MainWindow:
...
@@ -306,11 +366,6 @@ class Ui_MainWindow:
self
.
menuHelp
.
addAction
(
self
.
actionDocumentation
)
self
.
menuHelp
.
addAction
(
self
.
actionDocumentation
)
self
.
menuHelp
.
addSeparator
()
self
.
menuHelp
.
addSeparator
()
self
.
menuHelp
.
addAction
(
self
.
actionAbout
)
self
.
menuHelp
.
addAction
(
self
.
actionAbout
)
self
.
menubar
.
addAction
(
self
.
menuFile
.
menuAction
())
self
.
menubar
.
addAction
(
self
.
menu_Edit
.
menuAction
())
self
.
menubar
.
addAction
(
self
.
menuView
.
menuAction
())
self
.
menubar
.
addAction
(
self
.
menuWindow
.
menuAction
())
self
.
menubar
.
addAction
(
self
.
menuHelp
.
menuAction
())
self
.
toolBar
.
addAction
(
self
.
menu_open
)
self
.
toolBar
.
addAction
(
self
.
menu_open
)
self
.
toolBar
.
addAction
(
self
.
menu_save
)
self
.
toolBar
.
addAction
(
self
.
menu_save
)
self
.
toolBar
.
addAction
(
self
.
menu_save_as
)
self
.
toolBar
.
addAction
(
self
.
menu_save_as
)
...
@@ -324,127 +379,300 @@ class Ui_MainWindow:
...
@@ -324,127 +379,300 @@ class Ui_MainWindow:
self
.
toolBar
.
addAction
(
self
.
actionReorder
)
self
.
toolBar
.
addAction
(
self
.
actionReorder
)
self
.
retranslateUi
(
MainWindow
)
self
.
retranslateUi
(
MainWindow
)
QtCore
.
QMetaObject
.
connectSlotsByName
(
MainWindow
)
QMetaObject
.
connectSlotsByName
(
MainWindow
)
# setupUi
def
retranslateUi
(
self
,
MainWindow
):
def
retranslateUi
(
self
,
MainWindow
):
_translate
=
QtCore
.
QCoreApplication
.
translate
item
=
self
.
info_table
.
verticalHeaderItem
(
0
)
item
.
setText
(
_translate
(
"
MainWindow
"
,
"
1
"
))
item
=
self
.
info_table
.
verticalHeaderItem
(
1
)
item
.
setText
(
_translate
(
"
MainWindow
"
,
"
2
"
))
item
=
self
.
info_table
.
horizontalHeaderItem
(
0
)
item
.
setText
(
_translate
(
"
MainWindow
"
,
"
Property
"
))
item
=
self
.
info_table
.
horizontalHeaderItem
(
1
)
item
.
setText
(
_translate
(
"
MainWindow
"
,
"
Value
"
))
__sortingEnabled
=
self
.
info_table
.
isSortingEnabled
()
self
.
info_table
.
setSortingEnabled
(
False
)
item
=
self
.
info_table
.
item
(
0
,
0
)
item
.
setText
(
_translate
(
"
MainWindow
"
,
"
Schedule
"
))
item
=
self
.
info_table
.
item
(
1
,
0
)
item
.
setText
(
_translate
(
"
MainWindow
"
,
"
Operator
"
))
self
.
info_table
.
setSortingEnabled
(
__sortingEnabled
)
self
.
menuFile
.
setTitle
(
_translate
(
"
MainWindow
"
,
"
&File
"
))
self
.
menu_Recent_Schedule
.
setTitle
(
_translate
(
"
MainWindow
"
,
"
Open &recent
"
))
self
.
menuView
.
setTitle
(
_translate
(
"
MainWindow
"
,
"
&View
"
))
self
.
menu_view_execution_times
.
setTitle
(
_translate
(
"
MainWindow
"
,
"
View execution times of type
"
)
)
self
.
menu_Edit
.
setTitle
(
_translate
(
"
MainWindow
"
,
"
&Edit
"
))
self
.
menuWindow
.
setTitle
(
_translate
(
"
MainWindow
"
,
"
&Window
"
))
self
.
menuHelp
.
setTitle
(
_translate
(
"
MainWindow
"
,
"
&Help
"
))
self
.
toolBar
.
setWindowTitle
(
_translate
(
"
MainWindow
"
,
"
toolBar
"
))
self
.
menu_load_from_file
.
setText
(
self
.
menu_load_from_file
.
setText
(
_translate
(
"
MainWindow
"
,
"
&Import schedule from file...
"
)
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
&Import schedule from file...
"
,
None
)
)
)
# if QT_CONFIG(tooltip)
self
.
menu_load_from_file
.
setToolTip
(
self
.
menu_load_from_file
.
setToolTip
(
_translate
(
"
MainWindow
"
,
"
Import schedule from python script
"
)
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Import schedule from python script
"
,
None
)
)
)
self
.
menu_load_from_file
.
setShortcut
(
_translate
(
"
MainWindow
"
,
"
Ctrl+I
"
))
# endif // QT_CONFIG(tooltip)
self
.
menu_save
.
setText
(
_translate
(
"
MainWindow
"
,
"
&Save
"
))
# if QT_CONFIG(statustip)
self
.
menu_save
.
setToolTip
(
_translate
(
"
MainWindow
"
,
"
Save schedule
"
))
self
.
menu_load_from_file
.
setStatusTip
(
""
)
self
.
menu_save
.
setShortcut
(
_translate
(
"
MainWindow
"
,
"
Ctrl+S
"
))
# endif // QT_CONFIG(statustip)
self
.
menu_node_info
.
setText
(
_translate
(
"
MainWindow
"
,
"
&Node info
"
))
# if QT_CONFIG(shortcut)
self
.
menu_load_from_file
.
setShortcut
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Ctrl+I
"
,
None
)
)
# endif // QT_CONFIG(shortcut)
self
.
menu_save
.
setText
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
&Save
"
,
None
))
# if QT_CONFIG(tooltip)
self
.
menu_save
.
setToolTip
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Save schedule
"
,
None
)
)
# endif // QT_CONFIG(tooltip)
# if QT_CONFIG(shortcut)
self
.
menu_save
.
setShortcut
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Ctrl+S
"
,
None
)
)
# endif // QT_CONFIG(shortcut)
self
.
menu_node_info
.
setText
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
&Node info
"
,
None
)
)
# if QT_CONFIG(tooltip)
self
.
menu_node_info
.
setToolTip
(
self
.
menu_node_info
.
setToolTip
(
_translate
(
"
MainWindow
"
,
"
Show/hide node information
"
)
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Show/hide node information
"
,
None
)
)
# endif // QT_CONFIG(tooltip)
# if QT_CONFIG(shortcut)
self
.
menu_node_info
.
setShortcut
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Ctrl+N
"
,
None
)
)
# endif // QT_CONFIG(shortcut)
self
.
menu_quit
.
setText
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
&Quit
"
,
None
))
# if QT_CONFIG(shortcut)
self
.
menu_quit
.
setShortcut
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Ctrl+Q
"
,
None
)
)
# endif // QT_CONFIG(shortcut)
self
.
menu_save_as
.
setText
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Save &as...
"
,
None
)
)
)
self
.
menu_node_info
.
setShortcut
(
_translate
(
"
MainWindow
"
,
"
Ctrl+N
"
))
# if QT_CONFIG(tooltip)
self
.
menu_quit
.
setText
(
_translate
(
"
MainWindow
"
,
"
&Quit
"
))
self
.
menu_quit
.
setShortcut
(
_translate
(
"
MainWindow
"
,
"
Ctrl+Q
"
))
self
.
menu_save_as
.
setText
(
_translate
(
"
MainWindow
"
,
"
Save &as...
"
))
self
.
menu_save_as
.
setToolTip
(
self
.
menu_save_as
.
setToolTip
(
_translate
(
"
MainWindow
"
,
"
Save schedule with new file name
"
)
QCoreApplication
.
translate
(
)
"
MainWindow
"
,
"
Save schedule with new file name
"
,
None
self
.
menu_save_as
.
setShortcut
(
_translate
(
"
MainWindow
"
,
"
Ctrl+Shift+S
"
))
)
self
.
menu_exit_dialog
.
setText
(
_translate
(
"
MainWindow
"
,
"
&Hide exit dialog
"
))
)
self
.
menu_exit_dialog
.
setToolTip
(
_translate
(
"
MainWindow
"
,
"
Hide exit dialog
"
))
# endif // QT_CONFIG(tooltip)
self
.
menu_close_schedule
.
setText
(
_translate
(
"
MainWindow
"
,
"
&Close schedule
"
))
# if QT_CONFIG(shortcut)
self
.
menu_close_schedule
.
setShortcut
(
_translate
(
"
MainWindow
"
,
"
Ctrl+W
"
))
self
.
menu_save_as
.
setShortcut
(
self
.
actionAbout
.
setText
(
_translate
(
"
MainWindow
"
,
"
&About
"
))
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Ctrl+Shift+S
"
,
None
)
self
.
actionAbout
.
setToolTip
(
_translate
(
"
MainWindow
"
,
"
Open about window
"
))
)
self
.
actionDocumentation
.
setText
(
_translate
(
"
MainWindow
"
,
"
&Documentation
"
))
# endif // QT_CONFIG(shortcut)
self
.
menu_exit_dialog
.
setText
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
&Hide exit dialog
"
,
None
)
)
# if QT_CONFIG(tooltip)
self
.
menu_exit_dialog
.
setToolTip
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Hide exit dialog
"
,
None
)
)
# endif // QT_CONFIG(tooltip)
self
.
menu_close_schedule
.
setText
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
&Close schedule
"
,
None
)
)
# if QT_CONFIG(shortcut)
self
.
menu_close_schedule
.
setShortcut
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Ctrl+W
"
,
None
)
)
# endif // QT_CONFIG(shortcut)
self
.
actionAbout
.
setText
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
&About
"
,
None
)
)
# if QT_CONFIG(tooltip)
self
.
actionAbout
.
setToolTip
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Open about window
"
,
None
)
)
# endif // QT_CONFIG(tooltip)
self
.
actionDocumentation
.
setText
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
&Documentation
"
,
None
)
)
# if QT_CONFIG(tooltip)
self
.
actionDocumentation
.
setToolTip
(
self
.
actionDocumentation
.
setToolTip
(
_
translate
(
"
MainWindow
"
,
"
Open documentation
"
)
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Open documentation
"
,
None
)
)
)
self
.
actionReorder
.
setText
(
_translate
(
"
MainWindow
"
,
"
Reorder
"
))
# endif // QT_CONFIG(tooltip)
self
.
actionReorder
.
setText
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Reorder
"
,
None
)
)
# if QT_CONFIG(tooltip)
self
.
actionReorder
.
setToolTip
(
self
.
actionReorder
.
setToolTip
(
_translate
(
"
MainWindow
"
,
"
Reorder schedule based on start time
"
)
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Reorder schedule based on start time
"
,
None
)
)
# endif // QT_CONFIG(tooltip)
# if QT_CONFIG(shortcut)
self
.
actionReorder
.
setShortcut
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Ctrl+R
"
,
None
)
)
)
self
.
actionReorder
.
setShortcut
(
_translate
(
"
MainWindow
"
,
"
Ctrl+R
"
))
# endif // QT_CONFIG(shortcut)
self
.
actionPlot_schedule
.
setText
(
_translate
(
"
MainWindow
"
,
"
&Plot schedule
"
))
self
.
actionPlot_schedule
.
setText
(
self
.
actionPlot_schedule
.
setToolTip
(
_translate
(
"
MainWindow
"
,
"
Plot schedule
"
))
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
&Plot schedule
"
,
None
)
)
# if QT_CONFIG(tooltip)
self
.
actionPlot_schedule
.
setToolTip
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Plot schedule
"
,
None
)
)
# endif // QT_CONFIG(tooltip)
self
.
action_view_variables
.
setText
(
self
.
action_view_variables
.
setText
(
_translate
(
"
MainWindow
"
,
"
View execution times of variables
"
)
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
View execution times of variables
"
,
None
)
)
)
# if QT_CONFIG(tooltip)
self
.
action_view_variables
.
setToolTip
(
self
.
action_view_variables
.
setToolTip
(
_
translate
(
"
MainWindow
"
,
"
View all variables
"
)
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
View all variables
"
,
None
)
)
)
# endif // QT_CONFIG(tooltip)
self
.
action_view_port_accesses
.
setText
(
self
.
action_view_port_accesses
.
setText
(
_translate
(
"
MainWindow
"
,
"
View port access statistics
"
)
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
View port access statistics
"
,
None
)
)
)
# if QT_CONFIG(tooltip)
self
.
action_view_port_accesses
.
setToolTip
(
self
.
action_view_port_accesses
.
setToolTip
(
_translate
(
"
MainWindow
"
,
"
View port access statistics for storage
"
)
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
View port access statistics for storage
"
,
None
)
)
# endif // QT_CONFIG(tooltip)
self
.
actionUndo
.
setText
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Undo
"
,
None
))
# if QT_CONFIG(shortcut)
self
.
actionUndo
.
setShortcut
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Ctrl+Z
"
,
None
)
)
# endif // QT_CONFIG(shortcut)
self
.
actionRedo
.
setText
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Redo
"
,
None
))
# if QT_CONFIG(shortcut)
self
.
actionRedo
.
setShortcut
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Ctrl+Y, Ctrl+Shift+Z
"
,
None
)
)
)
self
.
actionUndo
.
setText
(
_translate
(
"
MainWindow
"
,
"
Undo
"
))
# endif // QT_CONFIG(shortcut)
self
.
actionUndo
.
setShortcut
(
_translate
(
"
MainWindow
"
,
"
Ctrl+Z
"
))
self
.
actionRedo
.
setText
(
_translate
(
"
MainWindow
"
,
"
Redo
"
))
self
.
actionRedo
.
setShortcut
(
_translate
(
"
MainWindow
"
,
"
Ctrl+Y, Ctrl+Shift+Z
"
))
self
.
actionIncrease_time_resolution
.
setText
(
self
.
actionIncrease_time_resolution
.
setText
(
_translate
(
"
MainWindow
"
,
"
Increase time resolution...
"
)
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Increase time resolution...
"
,
None
)
)
)
self
.
actionDecrease_time_resolution
.
setText
(
self
.
actionDecrease_time_resolution
.
setText
(
_translate
(
"
MainWindow
"
,
"
Decrease time resolution...
"
)
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Decrease time resolution...
"
,
None
)
)
self
.
actionZoom_to_fit
.
setText
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Zoom to &fit
"
,
None
)
)
)
self
.
actionZoom_to_fit
.
setText
(
_translate
(
"
MainWindow
"
,
"
Zoom to &fit
"
))
self
.
actionStatus_bar
.
setText
(
self
.
actionStatus_bar
.
setText
(
_translate
(
"
MainWindow
"
,
"
&Status bar
"
))
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
&Status bar
"
,
None
)
)
# if QT_CONFIG(tooltip)
self
.
actionStatus_bar
.
setToolTip
(
self
.
actionStatus_bar
.
setToolTip
(
_translate
(
"
MainWindow
"
,
"
Show/hide status bar
"
)
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Show/hide status bar
"
,
None
)
)
# endif // QT_CONFIG(tooltip)
self
.
actionToolbar
.
setText
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
&Toolbar
"
,
None
)
)
# if QT_CONFIG(tooltip)
self
.
actionToolbar
.
setToolTip
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Show/hide toolbar
"
,
None
)
)
)
self
.
actionToolbar
.
setText
(
_translate
(
"
MainWindow
"
,
"
&Toolbar
"
))
# endif // QT_CONFIG(tooltip)
self
.
actionToolbar
.
setToolTip
(
_translate
(
"
MainWindow
"
,
"
Show/hide toolbar
"
))
self
.
action_show_port_numbers
.
setText
(
self
.
action_show_port_numbers
.
setText
(
_
translate
(
"
MainWindow
"
,
"
S&how port numbers
"
)
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
S&how port numbers
"
,
None
)
)
)
# if QT_CONFIG(tooltip)
self
.
action_show_port_numbers
.
setToolTip
(
self
.
action_show_port_numbers
.
setToolTip
(
_translate
(
"
MainWindow
"
,
"
Show port numbers of operation
"
)
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Show port numbers of operation
"
,
None
)
)
)
# endif // QT_CONFIG(tooltip)
self
.
action_incorrect_execution_time
.
setText
(
self
.
action_incorrect_execution_time
.
setText
(
_
translate
(
"
MainWindow
"
,
"
&Incorrect execution time
"
)
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
&Incorrect execution time
"
,
None
)
)
)
# if QT_CONFIG(tooltip)
self
.
action_incorrect_execution_time
.
setToolTip
(
self
.
action_incorrect_execution_time
.
setToolTip
(
_
translate
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
MainWindow
"
,
"
Highlight processes with execution time longer than schedule time
"
,
"
Highlight processes with execution time longer than schedule time
"
,
None
,
)
)
)
)
self
.
menu_open
.
setText
(
_translate
(
"
MainWindow
"
,
"
&Open...
"
))
# endif // QT_CONFIG(tooltip)
self
.
menu_open
.
setText
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
&Open...
"
,
None
)
)
# if QT_CONFIG(tooltip)
self
.
menu_open
.
setToolTip
(
self
.
menu_open
.
setToolTip
(
_translate
(
"
MainWindow
"
,
"
Open previously saved schedule
"
)
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Open previously saved schedule
"
,
None
)
)
# endif // QT_CONFIG(tooltip)
# if QT_CONFIG(shortcut)
self
.
menu_open
.
setShortcut
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Ctrl+O
"
,
None
)
)
)
self
.
menu_open
.
setShortcut
(
_translate
(
"
MainWindow
"
,
"
Ctrl+O
"
)
)
# endif // QT_CONFIG(shortcut
)
self
.
actionToggle_full_screen
.
setText
(
self
.
actionToggle_full_screen
.
setText
(
_translate
(
"
MainWindow
"
,
"
Toggle f&ull screen
"
)
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Toggle f&ull screen
"
,
None
)
)
# if QT_CONFIG(shortcut)
self
.
actionToggle_full_screen
.
setShortcut
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
F11
"
,
None
)
)
# endif // QT_CONFIG(shortcut)
self
.
actionPreferences
.
setText
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Preferences
"
,
None
)
)
# if QT_CONFIG(tooltip)
self
.
actionPreferences
.
setToolTip
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Color and Fonts
"
,
None
)
)
# endif // QT_CONFIG(tooltip)
# if QT_CONFIG(shortcut)
self
.
actionPreferences
.
setShortcut
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Ctrl+M
"
,
None
)
)
# endif // QT_CONFIG(shortcut)
___qtablewidgetitem
=
self
.
info_table
.
horizontalHeaderItem
(
0
)
___qtablewidgetitem
.
setText
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Property
"
,
None
)
)
___qtablewidgetitem1
=
self
.
info_table
.
horizontalHeaderItem
(
1
)
___qtablewidgetitem1
.
setText
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Value
"
,
None
)
)
___qtablewidgetitem2
=
self
.
info_table
.
verticalHeaderItem
(
0
)
___qtablewidgetitem2
.
setText
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
1
"
,
None
)
)
___qtablewidgetitem3
=
self
.
info_table
.
verticalHeaderItem
(
1
)
___qtablewidgetitem3
.
setText
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
2
"
,
None
)
)
__sortingEnabled
=
self
.
info_table
.
isSortingEnabled
()
self
.
info_table
.
setSortingEnabled
(
False
)
___qtablewidgetitem4
=
self
.
info_table
.
item
(
0
,
0
)
___qtablewidgetitem4
.
setText
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Schedule
"
,
None
)
)
___qtablewidgetitem5
=
self
.
info_table
.
item
(
1
,
0
)
___qtablewidgetitem5
.
setText
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Operator
"
,
None
)
)
self
.
info_table
.
setSortingEnabled
(
__sortingEnabled
)
self
.
menuFile
.
setTitle
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
&File
"
,
None
))
self
.
menu_Recent_Schedule
.
setTitle
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
Open &recent
"
,
None
)
)
)
self
.
actionToggle_full_screen
.
setShortcut
(
_translate
(
"
MainWindow
"
,
"
F11
"
))
self
.
menuView
.
setTitle
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
&View
"
,
None
))
self
.
actionPreferences
.
setText
(
_translate
(
"
MainWindow
"
,
"
Preferences
"
))
self
.
menu_view_execution_times
.
setTitle
(
self
.
actionPreferences
.
setToolTip
(
_translate
(
"
MainWindow
"
,
"
Color and Fonts
"
))
QCoreApplication
.
translate
(
self
.
actionPreferences
.
setShortcut
(
_translate
(
"
MainWindow
"
,
"
Ctrl+M
"
))
"
MainWindow
"
,
"
View execution times of type
"
,
None
)
)
self
.
menu_Edit
.
setTitle
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
&Edit
"
,
None
))
self
.
menuWindow
.
setTitle
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
&Window
"
,
None
)
)
self
.
menuHelp
.
setTitle
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
&Help
"
,
None
))
self
.
toolBar
.
setWindowTitle
(
QCoreApplication
.
translate
(
"
MainWindow
"
,
"
toolBar
"
,
None
)
)
pass
# retranslateUi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment