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
a013623b
Commit
a013623b
authored
Jul 05, 2020
by
Jean-Baptiste Mardelle
Browse files
Show full clip path in clip properties widget title.
Related to
#748
parent
6539a558
Pipeline
#26000
passed with stage
in 23 minutes and 3 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/mltcontroller/clippropertiescontroller.cpp
View file @
a013623b
...
...
@@ -56,6 +56,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <QFontDatabase>
#include <QHBoxLayout>
#include <QLabel>
#include <KSqueezedTextLabel>
#include <QMenu>
#include <QMimeData>
#include <QMimeDatabase>
...
...
@@ -178,7 +179,9 @@ ClipPropertiesController::ClipPropertiesController(ClipController *controller, Q
setSizePolicy
(
QSizePolicy
::
MinimumExpanding
,
QSizePolicy
::
Preferred
);
auto
*
lay
=
new
QVBoxLayout
;
lay
->
setContentsMargins
(
0
,
0
,
0
,
0
);
m_clipLabel
=
new
QLabel
(
controller
->
clipName
());
m_clipLabel
=
new
KSqueezedTextLabel
(
this
);
m_clipLabel
->
setTextElideMode
(
Qt
::
ElideLeft
);
m_clipLabel
->
setText
(
controller
->
clipUrl
());
lay
->
addWidget
(
m_clipLabel
);
m_tabWidget
=
new
QTabWidget
(
this
);
lay
->
addWidget
(
m_tabWidget
);
...
...
src/mltcontroller/clippropertiescontroller.h
View file @
a013623b
...
...
@@ -33,7 +33,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
class
ClipController
;
class
QMimeData
;
class
QTextEdit
;
class
Q
Label
;
class
KSqueezedText
Label
;
class
QComboBox
;
class
QListWidget
;
class
QGroupBox
;
...
...
@@ -101,7 +101,7 @@ private slots:
private:
ClipController
*
m_controller
;
QTabWidget
*
m_tabWidget
;
Q
Label
*
m_clipLabel
;
KSqueezedText
Label
*
m_clipLabel
;
Timecode
m_tc
;
QString
m_id
;
ClipType
::
ProducerType
m_type
;
...
...
Write
Preview
Supports
Markdown
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