diff --git a/ChangeLog b/ChangeLog index b7f402ab..8e1d2016 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ ChangeLog GIT HEAD +- Graph: Make the main canvas background to mid-gray, when on + non-dark color themes. (EXPERIMENTAL) + - Turkish (tr) translation added (by Orkun Arapoglu, thanks). - Updated copyright headers into the New Year (2024). diff --git a/src/qjackctlGraph.cpp b/src/qjackctlGraph.cpp index b152203d..882deaed 100644 --- a/src/qjackctlGraph.cpp +++ b/src/qjackctlGraph.cpp @@ -1,7 +1,7 @@ // qjackctlGraph.cpp // /**************************************************************************** - Copyright (C) 2003-2023, rncbc aka Rui Nuno Capela. All rights reserved. + Copyright (C) 2003-2024, rncbc aka Rui Nuno Capela. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -1270,6 +1270,10 @@ qjackctlGraphCanvas::qjackctlGraphCanvas ( QWidget *parent ) QGraphicsView::setResizeAnchor(QGraphicsView::NoAnchor); QGraphicsView::setDragMode(QGraphicsView::NoDrag); + const QPalette& pal = QGraphicsView::palette(); + if (pal.base().color().value() > 192) + QGraphicsView::setBackgroundRole(QPalette::Mid); + m_editor = new QLineEdit(this); m_editor->setFrame(false); // m_editor->setAlignment(Qt::AlignCenter | Qt::AlignVCenter); diff --git a/src/qjackctlGraph.h b/src/qjackctlGraph.h index 2b6b6f52..3ef01ce8 100644 --- a/src/qjackctlGraph.h +++ b/src/qjackctlGraph.h @@ -1,7 +1,7 @@ // qjackctlGraph.h // /**************************************************************************** - Copyright (C) 2003-2023, rncbc aka Rui Nuno Capela. All rights reserved. + Copyright (C) 2003-2024, rncbc aka Rui Nuno Capela. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/src/qjackctlGraphForm.cpp b/src/qjackctlGraphForm.cpp index 42e92e3e..d4351af0 100644 --- a/src/qjackctlGraphForm.cpp +++ b/src/qjackctlGraphForm.cpp @@ -1,7 +1,7 @@ // qjackctlGraphForm.cpp // /**************************************************************************** - Copyright (C) 2003-2023, rncbc aka Rui Nuno Capela. All rights reserved. + Copyright (C) 2003-2024, rncbc aka Rui Nuno Capela. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/src/qjackctlGraphForm.h b/src/qjackctlGraphForm.h index 4a022c7f..fb8b7494 100644 --- a/src/qjackctlGraphForm.h +++ b/src/qjackctlGraphForm.h @@ -1,7 +1,7 @@ // qjackctlGraphForm.h // /**************************************************************************** - Copyright (C) 2003-2023, rncbc aka Rui Nuno Capela. All rights reserved. + Copyright (C) 2003-2024, rncbc aka Rui Nuno Capela. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/src/qjackctlGraphForm.ui b/src/qjackctlGraphForm.ui index f8c0a102..370f8661 100644 --- a/src/qjackctlGraphForm.ui +++ b/src/qjackctlGraphForm.ui @@ -2,7 +2,7 @@ rncbc aka Rui Nuno Capela JACK Audio Connection Kit - Qt GUI Interface. - Copyright (C) 2003-2022, rncbc aka Rui Nuno Capela. All rights reserved. + Copyright (C) 2003-2024, rncbc aka Rui Nuno Capela. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/src/translations/qjackctl_cs.ts b/src/translations/qjackctl_cs.ts index 56d6cd29..a2ba6cdc 100644 --- a/src/translations/qjackctl_cs.ts +++ b/src/translations/qjackctl_cs.ts @@ -479,13 +479,13 @@ Jste si jistý? qjackctlGraphCanvas - - + + Connect Spojit - + Disconnect Rozpojit diff --git a/src/translations/qjackctl_de.ts b/src/translations/qjackctl_de.ts index 71752563..ae3648b1 100644 --- a/src/translations/qjackctl_de.ts +++ b/src/translations/qjackctl_de.ts @@ -478,13 +478,13 @@ Sind Sie sicher? qjackctlGraphCanvas - - + + Connect - + Disconnect diff --git a/src/translations/qjackctl_es.ts b/src/translations/qjackctl_es.ts index 2e97325f..c446d469 100644 --- a/src/translations/qjackctl_es.ts +++ b/src/translations/qjackctl_es.ts @@ -478,13 +478,13 @@ Está seguro? qjackctlGraphCanvas - - + + Connect Conectar - + Disconnect Desconectar diff --git a/src/translations/qjackctl_fr.ts b/src/translations/qjackctl_fr.ts index 69ac4156..6aef82a9 100644 --- a/src/translations/qjackctl_fr.ts +++ b/src/translations/qjackctl_fr.ts @@ -479,13 +479,13 @@ de toutes les applications clientes. qjackctlGraphCanvas - - + + Connect Connecter - + Disconnect Déconnecter diff --git a/src/translations/qjackctl_it.ts b/src/translations/qjackctl_it.ts index efd07f8d..1edb0064 100644 --- a/src/translations/qjackctl_it.ts +++ b/src/translations/qjackctl_it.ts @@ -488,13 +488,13 @@ Sei sicuro? qjackctlGraphCanvas - - + + Connect Connetti - + Disconnect Disconnetti diff --git a/src/translations/qjackctl_ja.ts b/src/translations/qjackctl_ja.ts index c39c82e1..2e856b69 100644 --- a/src/translations/qjackctl_ja.ts +++ b/src/translations/qjackctl_ja.ts @@ -479,13 +479,13 @@ Are you sure? qjackctlGraphCanvas - - + + Connect 接続 - + Disconnect 切断 diff --git a/src/translations/qjackctl_ko.ts b/src/translations/qjackctl_ko.ts index 6f09337d..a9d5faee 100644 --- a/src/translations/qjackctl_ko.ts +++ b/src/translations/qjackctl_ko.ts @@ -479,13 +479,13 @@ Are you sure? qjackctlGraphCanvas - - + + Connect 연결하기 - + Disconnect 연결해제 diff --git a/src/translations/qjackctl_nl.ts b/src/translations/qjackctl_nl.ts index 6a102b8a..168a6965 100644 --- a/src/translations/qjackctl_nl.ts +++ b/src/translations/qjackctl_nl.ts @@ -488,13 +488,13 @@ Bent u zeker? qjackctlGraphCanvas - - + + Connect - + Disconnect diff --git a/src/translations/qjackctl_pt.ts b/src/translations/qjackctl_pt.ts index 972ae7b3..d2b06e3e 100644 --- a/src/translations/qjackctl_pt.ts +++ b/src/translations/qjackctl_pt.ts @@ -479,13 +479,13 @@ Tem certeza? qjackctlGraphCanvas - - + + Connect Conectar - + Disconnect Disconnectar diff --git a/src/translations/qjackctl_ru.ts b/src/translations/qjackctl_ru.ts index 7ec520a8..01e23683 100644 --- a/src/translations/qjackctl_ru.ts +++ b/src/translations/qjackctl_ru.ts @@ -480,13 +480,13 @@ Are you sure? qjackctlGraphCanvas - - + + Connect Соединить - + Disconnect Отсоединить diff --git a/src/translations/qjackctl_sk.ts b/src/translations/qjackctl_sk.ts index 0c445575..4a86fbbf 100644 --- a/src/translations/qjackctl_sk.ts +++ b/src/translations/qjackctl_sk.ts @@ -479,13 +479,13 @@ Ste si istý? qjackctlGraphCanvas - - + + Connect Spojiť - + Disconnect Rozpojiť diff --git a/src/translations/qjackctl_tr.ts b/src/translations/qjackctl_tr.ts index 0364afa0..2cff7a22 100644 --- a/src/translations/qjackctl_tr.ts +++ b/src/translations/qjackctl_tr.ts @@ -479,13 +479,13 @@ Emin misin? qjackctlGraphCanvas - - + + Connect Bağlan - + Disconnect Bağlantıyı Kes diff --git a/src/translations/qjackctl_uk.ts b/src/translations/qjackctl_uk.ts index 49745a40..a0824623 100644 --- a/src/translations/qjackctl_uk.ts +++ b/src/translations/qjackctl_uk.ts @@ -478,13 +478,13 @@ Are you sure? qjackctlGraphCanvas - - + + Connect З'єднати - + Disconnect Від’єднати