Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
VVave
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
3
Merge Requests
3
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
KDE
VVave
Commits
b18c635b
Commit
b18c635b
authored
Apr 14, 2018
by
camilo higuita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use kirigami font sizing
parent
ca9ebd91
Changes
17
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
690 additions
and
392 deletions
+690
-392
3rdparty/breeze-icons
3rdparty/breeze-icons
+1
-1
Babe.pro
Babe.pro
+2
-1
Babe.pro.user
Babe.pro.user
+337
-0
android/android.pri
android/android.pri
+1
-1
assets/Babe.notifyrc
assets/Babe.notifyrc
+39
-0
db/collectionDB.cpp
db/collectionDB.cpp
+1
-1
main.cpp
main.cpp
+1
-0
main.qml
main.qml
+262
-305
org.kde.babe.desktop
org.kde.babe.desktop
+21
-47
view_models/BabeGrid/BabeAlbum.qml
view_models/BabeGrid/BabeAlbum.qml
+6
-3
view_models/BabeList.qml
view_models/BabeList.qml
+3
-18
view_models/BabeMenu/BabeMenu.qml
view_models/BabeMenu/BabeMenu.qml
+0
-1
view_models/BabeTable/HeaderMenu.qml
view_models/BabeTable/HeaderMenu.qml
+0
-1
view_models/BabeTable/TableDelegate.qml
view_models/BabeTable/TableDelegate.qml
+5
-1
widgets/BabeBar.qml
widgets/BabeBar.qml
+8
-9
widgets/SearchView/SearchTable.qml
widgets/SearchView/SearchTable.qml
+1
-1
widgets/SettingsView/SettingsView.qml
widgets/SettingsView/SettingsView.qml
+2
-2
No files found.
breeze-icons
@
a4bc2e5f
Subproject commit
eec9316affab457604562f975c8a31cbfd427ae2
Subproject commit
a4bc2e5f38de971aef396655e6c122ec2a8aaeac
Babe.pro
View file @
b18c635b
...
...
@@ -27,6 +27,8 @@ linux:unix:!android {
include
(
android
-
openssl
.
pri
)
include
(
3
rdparty
/
kirigami
/
kirigami
.
pri
)
RESOURCES
+=
kirigami
-
icons
.
qrc
}
else
{
message
(
"Unknown configuration"
)
}
...
...
@@ -69,7 +71,6 @@ SOURCES += main.cpp \
RESOURCES
+=
qml
.
qrc
\
kirigami
-
icons
.
qrc
#
Additional
import
path
used
to
resolve
QML
modules
in
Qt
Creator
'
s
code
model
QML_IMPORT_PATH
=
...
...
Babe.pro.user
0 → 100644
View file @
b18c635b
This diff is collapsed.
Click to expand it.
android/android.pri
View file @
b18c635b
...
...
@@ -16,7 +16,7 @@ DISTFILES += \
$$PWD/src/NotificationClient.java \
$$PWD/src/MyService.java
RESOURCES += android.qrc
RESOURCES += android.qrc
/
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/
}
assets/Babe.notifyrc
View file @
b18c635b
[Global]
IconName=preferences-system-bluetooth
Comment=Tiny Music Player
Comment[ca]=Reproductor de música petit
Comment[ca@valencia]=Reproductor de música petit
Comment[en_GB]=Tiny Music Player
Comment[nl]=Kleine muziekspeler
Comment[pt]=Pequeno Leitor Multimédia
Comment[sk]=Malý hudobný prehrávač
Comment[sv]=Mycket liten musikspelare
Comment[uk]=Маленький музичний програвач
Comment[x-test]=xxTiny Music Playerxx
Name=Babe
Name[ca]=Babe
Name[ca@valencia]=Babe
Name[en_GB]=Babe
Name[nl]=Babe
Name[pt]=Babe
Name[sk]=Babe
Name[sv]=Babe
Name[uk]=Babe
Name[x-test]=xxBabexx
[Event/Notify]
Name=Babe...
Name[ca]=Babe...
Name[ca@valencia]=Babe...
Name[en_GB]=Babe...
Name[nl]=Babe...
Name[pt]=Babe...
Name[sk]=Babe...
Name[sv]=Babe...
Name[uk]=Babe…
Name[x-test]=xxBabe...xx
Comment=Connection to device failed
Comment[ca]=Ha fallat la connexió amb el dispositiu
Comment[ca@valencia]=Ha fallat la connexió amb el dispositiu
Comment[en_GB]=Connection to device failed
Comment[es]=La conexión con el dispositivo ha fallado
Comment[fr]=La connexion au périphérique a échoué
Comment[nl]=Verbinding met het apparaat is mislukt
Comment[pt]=A ligação ao dispositivo foi mal-sucedida
Comment[sk]=Pripojenie k zariadeniu zlyhalo
Comment[sv]=Anslutning till enhet misslyckades
Comment[uk]=Не вдалося встановити з’єднання із пристроєм
Comment[x-test]=xxConnection to device failedxx
Comment[zh_CN]=连接设备失败
Icon=babe-qt
Action=Popup
db/collectionDB.cpp
View file @
b18c635b
...
...
@@ -833,7 +833,7 @@ QStringList CollectionDB::getPlaylists()
bool
CollectionDB
::
removeTrack
(
const
QString
&
path
)
{
auto
queryTxt
=
QString
(
"DELETE FROM %1 WHERE %2 =
\"
%3
\"
"
).
arg
(
TABLEMAP
[
TABLE
::
TRACKS
],
KEYMAP
[
KEY
::
URL
],
path
);
KEYMAP
[
KEY
::
URL
],
path
);
auto
query
=
this
->
getQuery
(
queryTxt
);
if
(
query
.
exec
())
{
...
...
main.cpp
View file @
b18c635b
...
...
@@ -86,6 +86,7 @@ int main(int argc, char *argv[])
#else
// if(QQuickStyle::availableStyles().contains("nomad"))
// QQuickStyle::setStyle("nomad");
QtWebEngine
::
initialize
();
#endif
...
...
main.qml
View file @
b18c635b
This diff is collapsed.
Click to expand it.
org.kde.babe.desktop
View file @
b18c635b
[Desktop Entry]
Name=Babe
Name[ca]=Babe
Name[ca@valencia]=Babe
Name[en_GB]=Babe
Name[nl]=Babe
Name[pt]=Babe
Name[sk]=Babe
Name[sv]=Babe
Name[uk]=Babe
Name[x-test]=xxBabexx
Comment=Play your music collection
Comment[ca]=Reprodueix la vostra col·lecció de música
Comment[ca@valencia]=Reprodueix la vostra col·lecció de música
Comment[en_GB]=Play your music collection
Comment[nl]=Uw muziekcollectie afspelen
Comment[pt]=Tocar a sua colecção de música
Comment[sk]=Prehrať vašu hudobnú kolekciu
Comment[sv]=Spela din musiksamling
Comment[uk]=Відтворення вашої музичної збірки
Comment[x-test]=xxPlay your music collectionxx
TryExec=babe
Exec=babe %U
Terminal=false
...
...
@@ -11,59 +29,15 @@ Icon=babe
MimeType=application/ogg;application/x-ogg;application/sdp;application/smil;application/x-smil;application/streamingmedia;application/x-streamingmedia;application/vnd.rn-realmedia;application/vnd.rn-realmedia-vbr;audio/aac;audio/x-aac;audio/m4a;audio/x-m4a;audio/mp1;audio/x-mp1;audio/mp2;audio/x-mp2;audio/mp3;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/mpegurl;audio/x-mpegurl;audio/mpg;audio/x-mpg;audio/rn-mpeg;audio/ogg;audio/scpls;audio/x-scpls;audio/vnd.rn-realaudio;audio/wav;audio/x-pn-windows-pcm;audio/x-realaudio;audio/x-pn-realaudio;audio/x-ms-wma;audio/x-pls;audio/x-wav;audio/x-flac;audio/x-vorbis+ogg;audio/x-shorten;audio/x-ape;audio/x-wavpack;audio/x-tta;audio/AMR;audio/ac3;audio/flac;audio/mp4;
# Generic name with translations
GenericName=Audio Player
GenericName[be]=Аўдыёпрайгравальнік
GenericName[bg]=Аудио плеър
GenericName[bs]=Audio plejer
GenericName[ca]=Reproductor d'àudio
GenericName[ca@valencia]=Reproductor d'àudio
GenericName[cs]=Zvukový přehrávač
GenericName[csb]=Grôcz aùdio
GenericName[da]=Lydafspiller
GenericName[de]=Audio-Wiedergabe
GenericName[el]=Αναπαραγωγή ήχου
GenericName[en_GB]=Audio Player
GenericName[eo]=Sonludilo
GenericName[es]=Reproductor de audio
GenericName[et]=Helifailide mängija
GenericName[eu]=Audio erreproduzigailua
GenericName[fi]=Musiikkisoitin
GenericName[es]=Reproductor de sonido
GenericName[fr]=Lecteur audio
GenericName[ga]=Seinnteoir Fuaime
GenericName[gl]=Reprodutor de audio
GenericName[he]=נגן שמע
GenericName[hne]=आडियो प्लेयर
GenericName[hu]=Zenelejátszó
GenericName[is]=Tónlistarspilari
GenericName[it]=Lettore audio
GenericName[ja]=オーディオプレーヤー
GenericName[km]=កម្មវិធីចាក់អូឌីយ៉ូ
GenericName[ko]=오디오 재생기
GenericName[ku]=Lêdarê Muzîkê
GenericName[lt]=Muzikos grotuvas
GenericName[lv]=Audio atskaņotājs
GenericName[mai]=आडियो प्लेयर
GenericName[ms]=Pemain Audio
GenericName[nb]=Lydavspiller
GenericName[nds]=Klangafspeler
GenericName[ne]=अडियो प्लेयर
GenericName[nl]=Audiospeler
GenericName[nn]=Musikkspelar
GenericName[pa]=ਆਡੀਓ ਪਲੇਅਰ
GenericName[pl]=Odtwarzacz dźwięku
GenericName[pt]=Leitor de Áudio
GenericName[pt_BR]=Reprodutor de áudio
GenericName[ro]=Redare audio
GenericName[ru]=Аудиопроигрыватель
GenericName[sk]=Audio prehrávač
GenericName[sl]=Predvajalnik glasbe
GenericName[sq]=Lexues audio
GenericName[sr]=Аудио плејер
GenericName[sr@ijekavian]=Аудио плејер
GenericName[sr@ijekavianlatin]=Audio plejer
GenericName[sr@latin]=Audio plejer
GenericName[sv]=Musikspelare
GenericName[th]=เครื่องเล่นเสียง
GenericName[tr]=Müzik Çalar
GenericName[ug]=ئۈن قويغۇچ
GenericName[sv]=Ljudspelare
GenericName[uk]=Аудіопрогравач
GenericName[
wa]=Djouweu d' son
GenericName[
x-test]=xxAudio Playerxx
view_models/BabeGrid/BabeAlbum.qml
View file @
b18c635b
...
...
@@ -56,11 +56,14 @@ ColumnLayout
Image
{
id
:
img
width
:
babeAlbumRoot
.
width
height
:
babeAlbumRoot
.
width
width
:
albumSize
height
:
albumSize
sourceSize.width
:
albumSize
sourceSize.height
:
albumSize
fillMode
:
Image
.
PreserveAspectFit
cache
:
fals
e
cache
:
tru
e
antialiasing
:
true
source
:
...
...
view_models/BabeList.qml
View file @
b18c635b
...
...
@@ -54,29 +54,14 @@ Page
anchors.fill
:
parent
spacing
:
0
Rectangle
ToolBar
{
id
:
headerRoot
width
:
parent
.
width
height
:
visible
?
toolBar
Height
:
0
height
:
visible
?
headerRoot
.
implicit
Height
:
0
Layout.fillWidth
:
true
visible
:
headerBarVisible
focus
:
true
color
:
backgroundColor
Kirigami.Separator
{
visible
:
!
isMobile
width
:
parent
.
width
height
:
1
anchors
{
left
:
parent
.
left
right
:
parent
.
right
bottom
:
parent
.
bottom
}
}
focus
:
true
RowLayout
{
...
...
view_models/BabeMenu/BabeMenu.qml
View file @
b18c635b
import
QtQuick
2.0
import
QtQuick
2.9
import
QtQuick
.
Controls
2.2
import
QtQuick
.
Layouts
1.3
...
...
view_models/BabeTable/HeaderMenu.qml
View file @
b18c635b
import
QtQuick
2.0
import
QtQuick
2.9
import
QtQuick
.
Controls
2.2
import
QtQuick
.
Layouts
1.3
...
...
view_models/BabeTable/TableDelegate.qml
View file @
b18c635b
...
...
@@ -110,6 +110,10 @@ ItemDelegate
{
id
:
artworkCover
anchors.fill
:
parent
sourceSize.width
:
parent
.
height
sourceSize.height
:
parent
.
height
source
:
typeof
artwork
===
'
undefined
'
?
"
qrc:/assets/cover.png
"
:
remoteArtwork
?
artwork
:
...
...
@@ -117,7 +121,7 @@ ItemDelegate
fillMode
:
Image
.
PreserveAspectFit
cache
:
fals
e
cache
:
tru
e
antialiasing
:
false
smooth
:
true
}
...
...
widgets/BabeBar.qml
View file @
b18c635b
...
...
@@ -8,6 +8,8 @@ import "../view_models"
ToolBar
{
position
:
ToolBar
.
Header
property
alias
babeBar
:
babeBar
property
string
accentColor
:
babeColor
property
string
textColor
:
foregroundColor
...
...
@@ -27,14 +29,12 @@ ToolBar
width
:
parent
.
width
id
:
babeBar
smooth
:
true
Rectangle
{
anchors.fill
:
isMobile
?
parent
:
undefined
color
:
bgColor
visible
:
!
isMobile
}
// Rectangle
// {
// anchors.fill: isMobile ? parent : undefined
// color: bgColor
// visible: !isMobile
// }
RowLayout
{
...
...
@@ -226,7 +226,6 @@ ToolBar
ToolTip.text
:
qsTr
(
"
Search
"
)
}
}
}
}
widgets/SearchView/SearchTable.qml
View file @
b18c635b
...
...
@@ -153,7 +153,7 @@ Page
Layout.fillHeight
:
true
horizontalAlignment
:
Text
.
AlignHCenter
verticalAlignment
:
Text
.
AlignVCenter
selectByMouse
:
!
root
.
isMobile
selectByMouse
:
!
isMobile
selectionColor
:
babeHighlightColor
selectedTextColor
:
foregroundColor
focus
:
true
...
...
widgets/SettingsView/SettingsView.qml
View file @
b18c635b
...
...
@@ -281,12 +281,12 @@ Kirigami.GlobalDrawer
Kirigami.Action
{
text
:
"
Beats
"
text
:
"
VVAVEIt
"
}
Kirigami.Action
{
text
:
"
Babe
"
text
:
"
VVAVE
"
}
Kirigami.Action
...
...
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