Warning, file /utilities/krusader/app/Synchronizer/synchronizercolors.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 SPDX-FileCopyrightText: 2016-2022 Krusader Krew <https://krusader.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef SYNCHRONIZERCOLORS_H 0008 #define SYNCHRONIZERCOLORS_H 0009 0010 #include <KGuiAddons/KColorUtils> 0011 0012 #define DECLARE_SYNCHRONIZER_BACKGROUND_DEFAULTS \ 0013 QColor SYNCHRONIZER_BACKGROUND_DEFAULTS[] = {QGuiApplication::palette().color(QPalette::Active, QPalette::Base), \ 0014 QGuiApplication::palette().color(QPalette::Active, QPalette::Base), \ 0015 QGuiApplication::palette().color(QPalette::Active, QPalette::Base), \ 0016 QGuiApplication::palette().color(QPalette::Active, QPalette::Base), \ 0017 KColorUtils::tint(QGuiApplication::palette().color(QPalette::Active, QPalette::Base), Qt::red, 0.5)} 0018 0019 #define DECLARE_SYNCHRONIZER_FOREGROUND_DEFAULTS \ 0020 QColor SYNCHRONIZER_FOREGROUND_DEFAULTS[] = { \ 0021 QGuiApplication::palette().color(QPalette::Active, QPalette::Text), \ 0022 KColorUtils::tint(QGuiApplication::palette().color(QPalette::Active, QPalette::Text), Qt::red, 0.7), \ 0023 KColorUtils::tint(QGuiApplication::palette().color(QPalette::Active, QPalette::Text), QColor(0, 115, 207), 0.7), \ 0024 KColorUtils::tint(QGuiApplication::palette().color(QPalette::Active, QPalette::Text), Qt::green, 0.5), \ 0025 QGuiApplication::palette().color(QPalette::Active, QPalette::Text)} 0026 0027 #endif /* __SYNCHRONIZERCOLORS_H__ */