Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
cde34ac0
Commit
cde34ac0
authored
Mar 29, 2022
by
Jean-Baptiste Mardelle
Browse files
Make progress bar for effects more visible (for ex. in motion tracker)
parent
17e85bcf
Pipeline
#156534
passed with stage
in 15 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/assets/view/widgets/buttonparamwidget.cpp
View file @
cde34ac0
...
...
@@ -72,6 +72,7 @@ ButtonParamWidget::ButtonParamWidget(std::shared_ptr<AssetParameterModel> model,
m_progress
=
new
QProgressBar
(
this
);
m_progress
->
setMaximumHeight
(
m_button
->
height
()
/
5
);
m_progress
->
setTextVisible
(
false
);
m_progress
->
setStyleSheet
(
QString
(
"QProgressBar::chunk {background-color: %1;}"
).
arg
(
m_progress
->
palette
().
highlight
().
color
().
name
()));
layout
->
addWidget
(
m_progress
);
m_progress
->
setVisible
(
false
);
setMinimumHeight
(
m_button
->
sizeHint
().
height
()
+
(
m_label
!=
nullptr
?
m_label
->
sizeHint
().
height
()
:
0
));
...
...
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