Commit b18c635b authored by camilo higuita's avatar camilo higuita

use kirigami font sizing

parent ca9ebd91
breeze-icons @ a4bc2e5f
Subproject commit eec9316affab457604562f975c8a31cbfd427ae2
Subproject commit a4bc2e5f38de971aef396655e6c122ec2a8aaeac
......@@ -27,6 +27,8 @@ linux:unix:!android {
include(android-openssl.pri)
include(3rdparty/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 =
......
This diff is collapsed.
......@@ -16,7 +16,7 @@ DISTFILES += \
$$PWD/src/NotificationClient.java \
$$PWD/src/MyService.java
RESOURCES += android.qrc
RESOURCES += android.qrc/
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/
}
[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
......@@ -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())
{
......
......@@ -86,6 +86,7 @@ int main(int argc, char *argv[])
#else
// if(QQuickStyle::availableStyles().contains("nomad"))
// QQuickStyle::setStyle("nomad");
QtWebEngine::initialize();
#endif
......
This diff is collapsed.
[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
......@@ -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: false
cache: true
antialiasing: true
source:
......
......@@ -54,29 +54,14 @@ Page
anchors.fill: parent
spacing: 0
Rectangle
ToolBar
{
id: headerRoot
width: parent.width
height: visible ? toolBarHeight : 0
height: visible ? headerRoot.implicitHeight : 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
{
......
import QtQuick 2.0
import QtQuick 2.9
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.3
......
import QtQuick 2.0
import QtQuick 2.9
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.3
......
......@@ -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: false
cache: true
antialiasing: false
smooth: true
}
......
......@@ -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")
}
}
}
}
......@@ -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
......
......@@ -281,12 +281,12 @@ Kirigami.GlobalDrawer
Kirigami.Action
{
text: "Beats"
text: "VVAVEIt"
}
Kirigami.Action
{
text: "Babe"
text: "VVAVE"
}
Kirigami.Action
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment