Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
stitchEm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Franco (nextime) Lanza
stitchEm
Commits
fc19e352
Commit
fc19e352
authored
Nov 17, 2019
by
Wieland Morgenstern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add 3rd party library note in Studio about window
parent
9189805c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
0 deletions
+28
-0
common.hpp
apps/src/libvideostitch-gui/common.hpp
+1
-0
aboutwindow.cpp
apps/src/libvideostitch-gui/widgets/aboutwindow.cpp
+8
-0
aboutwindow.ui
apps/src/libvideostitch-gui/widgets/aboutwindow.ui
+19
-0
No files found.
apps/src/libvideostitch-gui/common.hpp
View file @
fc19e352
...
...
@@ -20,6 +20,7 @@
#define VIDEOSTITCH_YOUTUBE_VAHANA_URL "https://www.youtube.com/playlist?list=PLE5eSxUoYnqgv4S8ayQ5_YsPP8x_MCvvM"
#define VIDEOSTITCH_URL "https://github.com/stitchEm"
#define VIDEOSTITCH_SUPPORT_URL "https://github.com/stitchEm"
#define VIDEOSTITCH_LIBRARIES_URL "https://github.com/stitchEm/stitchEm/blob/master/doc/LICENSE-3RD-PARTY-LIBRARIES.md"
// Color
#define ORAH_COLOR "FF9E00";
...
...
apps/src/libvideostitch-gui/widgets/aboutwindow.cpp
View file @
fc19e352
...
...
@@ -6,10 +6,13 @@
#include <QLabel>
#include <QPushButton>
#include <QDesktopServices>
#include "aboutwindow.hpp"
#include "version.hpp"
#include "common.hpp"
#include "libvideostitch-base/linkhelpers.hpp"
AboutWidget
::
AboutWidget
(
QString
version
,
QWidget
*
const
parent
)
:
QWidget
(
parent
)
{
setupUi
(
this
);
buttonWebSite
->
setProperty
(
"vs-button-medium"
,
true
);
...
...
@@ -18,6 +21,11 @@ AboutWidget::AboutWidget(QString version, QWidget* const parent) : QWidget(paren
.
arg
(
QCoreApplication
::
applicationName
())
.
arg
(
QCoreApplication
::
organizationName
())
.
arg
(
QDate
::
currentDate
().
year
()));
labelLibraries
->
setText
(
labelLibraries
->
text
()
.
arg
(
QCoreApplication
::
applicationName
())
.
arg
(
formatLink
(
VIDEOSTITCH_LIBRARIES_URL
,
"open source libraries."
)));
connect
(
buttonWebSite
,
&
QPushButton
::
clicked
,
this
,
&
AboutWidget
::
onButtonWebSiteClicked
);
labelAppVersion
->
setText
(
version
);
QIcon
webIcon
(
":/live/icons/assets/icon/live/web.png"
);
...
...
apps/src/libvideostitch-gui/widgets/aboutwindow.ui
View file @
fc19e352
...
...
@@ -165,6 +165,25 @@
</property>
</widget>
</item>
<item>
<widget
class=
"QLabel"
name=
"labelLibraries"
>
<property
name=
"text"
>
<string>
<
html
><
head/
><
body
><
p
>
%0 uses code from %1
<
/p
><
/body
><
/html
>
</string>
</property>
<property
name=
"textFormat"
>
<enum>
Qt::RichText
</enum>
</property>
<property
name=
"alignment"
>
<set>
Qt::AlignCenter
</set>
</property>
<property
name=
"openExternalLinks"
>
<bool>
true
</bool>
</property>
<property
name=
"textInteractionFlags"
>
<set>
Qt::TextBrowserInteraction
</set>
</property>
</widget>
</item>
<item>
<spacer
name=
"verticalSpacer_2"
>
<property
name=
"orientation"
>
...
...
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