Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
beat.editor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
11
Issues
11
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
beat
beat.editor
Commits
09ef7d7b
Commit
09ef7d7b
authored
Nov 27, 2019
by
Flavio TARSETTI
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[resources/widgets][toolchaineditor] refactored resources loading
parent
99f52216
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
8 additions
and
4 deletions
+8
-4
beat/editor/widgets/toolchaineditor.py
beat/editor/widgets/toolchaineditor.py
+4
-4
editor.qrc
editor.qrc
+4
-0
resources/analyzer.drawio
resources/analyzer.drawio
+0
-0
resources/analyzer.png
resources/analyzer.png
+0
-0
resources/block.drawio
resources/block.drawio
+0
-0
resources/block.png
resources/block.png
+0
-0
resources/dataset.drawio
resources/dataset.drawio
+0
-0
resources/dataset.png
resources/dataset.png
+0
-0
resources/loop.drawio
resources/loop.drawio
+0
-0
resources/loop.png
resources/loop.png
+0
-0
No files found.
beat/editor/widgets/toolchaineditor.py
View file @
09ef7d7b
...
...
@@ -1435,22 +1435,22 @@ class Toolchain(QWidget):
self
.
loop_button
=
QPushButton
()
self
.
loop_button
.
setToolTip
(
"Loop"
)
self
.
loop_button
.
setIcon
(
QIcon
(
"
beat/editor/widgets/loop_icon.png
"
))
self
.
loop_button
.
setIcon
(
QIcon
(
"
:/resources/loop
"
))
self
.
loop_button
.
clicked
.
connect
(
self
.
add_loop_block
)
self
.
dataset_button
=
QPushButton
()
self
.
dataset_button
.
setToolTip
(
"Dataset"
)
self
.
dataset_button
.
setIcon
(
QIcon
(
"
beat/editor/widgets/dataset_icon.png
"
))
self
.
dataset_button
.
setIcon
(
QIcon
(
"
:/resources/dataset
"
))
self
.
dataset_edit_menu
=
QMenu
(
self
)
self
.
block_button
=
QPushButton
()
self
.
block_button
.
setToolTip
(
"Block"
)
self
.
block_button
.
setIcon
(
QIcon
(
"
beat/editor/widgets/block_icon.png
"
))
self
.
block_button
.
setIcon
(
QIcon
(
"
:/resources/block
"
))
self
.
block_edit_menu
=
QMenu
(
self
)
self
.
analyzer_button
=
QPushButton
()
self
.
analyzer_button
.
setToolTip
(
"Analyzer"
)
self
.
analyzer_button
.
setIcon
(
QIcon
(
"
beat/editor/widgets/analyzer_icon.png
"
))
self
.
analyzer_button
.
setIcon
(
QIcon
(
"
:/resources/analyzer
"
))
self
.
analyzer_edit_menu
=
QMenu
(
self
)
self
.
toolbar
.
addWidget
(
self
.
dataset_button
)
...
...
editor.qrc
View file @
09ef7d7b
...
...
@@ -3,5 +3,9 @@
<file
alias=
"remap"
>
resources/remap.png
</file>
<file
alias=
"docker"
>
resources/icons8-docker-50.png
</file>
<file
alias=
"remote"
>
resources/icons8-cloud-development-50.png
</file>
<file
alias=
"dataset"
>
resources/dataset.png
</file>
<file
alias=
"block"
>
resources/block.png
</file>
<file
alias=
"loop"
>
resources/loop.png
</file>
<file
alias=
"analyzer"
>
resources/analyzer.png
</file>
</qresource>
</RCC>
beat/editor/widget
s/analyzer.drawio
→
resource
s/analyzer.drawio
View file @
09ef7d7b
File moved
beat/editor/widgets/analyzer_icon
.png
→
resources/analyzer
.png
View file @
09ef7d7b
File moved
beat/editor/widget
s/block.drawio
→
resource
s/block.drawio
View file @
09ef7d7b
File moved
beat/editor/widgets/block_icon
.png
→
resources/block
.png
View file @
09ef7d7b
File moved
beat/editor/widget
s/dataset.drawio
→
resource
s/dataset.drawio
View file @
09ef7d7b
File moved
beat/editor/widgets/dataset_icon
.png
→
resources/dataset
.png
View file @
09ef7d7b
File moved
beat/editor/widget
s/loop.drawio
→
resource
s/loop.drawio
View file @
09ef7d7b
File moved
beat/editor/widgets/loop_icon
.png
→
resources/loop
.png
View file @
09ef7d7b
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment