/usr/include/libtomahawk/utils/TomahawkStyle.h is in libtomahawk-dev 0.8.4+dfsg1-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | /* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
*
* Copyright 2013, Christian Muehlhaeuser <muesli@tomahawk-player.org>
*
* Tomahawk is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Tomahawk is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Tomahawk. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef TOMAHAWKSTYLE_H
#define TOMAHAWKSTYLE_H
#include "TomahawkUtils.h"
#include "DllMacro.h"
#include <QColor>
#include <QPainter>
#include <QStyle>
class QFrame;
class QScrollBar;
namespace TomahawkStyle
{
DLLEXPORT void loadFonts();
/**
* Draws a header background on a painter with the specified rectangle
*/
DLLEXPORT void horizontalHeader( QPainter* painter, const QRect& rect );
/**
* Draws a styled arrow that looks good on a Header (from qwindowstyle.cpp)
* \copyright { Licensed under the GPL v3+
* Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
* Contact: Nokia Corporation (qt-info@nokia.com) }
*/
DLLEXPORT void drawArrow( QStyle::PrimitiveElement, QPainter* painter, const QStyleOption* opt );
DLLEXPORT void stylePageFrame( QFrame* frame );
DLLEXPORT void stylePageWidget( QWidget* widget );
DLLEXPORT void styleScrollBar( QScrollBar* scrollBar );
static const QColor PAGE_BACKGROUND = QColor( "#ffffff" );
static const QColor HEADER_LABEL = QColor( 255, 255, 255, 240 );
static const QColor HEADER_BACKGROUND = QColor( "#333333" );
// Potentially obsolete definitions
static const QColor BORDER_LINE = QColor( "#8c8c8c" );
static const QColor POPUP_BACKGROUND = QColor( "#ffffff" );
static const QColor POPUP_OSX_BACKGROUND = QColor( "#D6E3F1" );
static const QColor GROUP_HEADER = QColor( "#637180" );
static const QColor NOW_PLAYING_ITEM = QColor( "#962c26" );
static const QColor NOW_PLAYING_ITEM_TEXT = QColor( "#ffffff" );
static const QColor SELECTION_BACKGROUND = QColor( "#f8f8f8" );
static const QColor SELECTION_FOREGROUND = QColor( "#000000" );
static const QColor HEADER_TEXT = QColor( "#DBDBDB" );
static const QColor HEADER_LINK = QColor( "#7DC4FF" );
static const QColor HEADER_HIGHLIGHT = QColor( "#333" );
static const QColor TOGGLEBUTTON_BACKGROUND = QColor( "#292f34" );
static const QColor TOGGLEBUTTON_TEXT = QColor( "#ffffff" );
static const QColor TOGGLEBUTTON_HIGHLIGHT = QColor( "#333" );
static const QColor PAGE_CAPTION = QColor( "#292F34" );
static const QColor PAGE_TEXT = QColor( "#ABCCE8" );
static const QColor PAGE_FOREGROUND = QColor( "#292f34" );
static const QColor PAGE_TRACKLIST_TRACK_SOLVED = QColor( "#292F34" );
static const QColor PAGE_TRACKLIST_TRACK_UNRESOLVED = QColor( "#8597A6" ).lighter( 150 );
static const QColor PAGE_TRACKLIST_NUMBER = QColor( "#292f34" );
static const QColor PAGE_TRACKLIST_HIGHLIGHT = QColor( "#292f34" );
static const QColor PAGE_TRACKLIST_HIGHLIGHT_TEXT = QColor( "#ffffff" );
static const QColor DASHBOARD_ROUNDFIGURE_BACKGROUND = QColor( "#454e59" );
static const QColor SIDEBAR_ROUNDFIGURE_BACKGROUND = QColor( 167, 183, 211 );
static const QColor SIDEBAR_ROUNDFIGURE_INBOX_BACKGROUND = QColor( 239, 140, 51 );
static const QColor SIDEBAR_LAZYLIST_UPPER = QColor( "#ffffff" );
static const QColor SIDEBAR_LAZYLIST_LOWER = QColor( 0x88, 0x88, 0x88 );
static const QColor SIDEBAR_LAZYLIST_LOWEST = QColor( 0x99, 0x99, 0x99 );
static const QColor SLIDESWITCH_CHECKED_TOP = QColor( 8, 54, 134 );
static const QColor SLIDESWITCH_CHECKED_BOTTOM = QColor( 118, 172, 240 );
static const QColor SLIDESWITCH_UNCHECKED_TOP = QColor( 128, 128, 128 );
static const QColor SLIDESWITCH_UNCHECKED_BOTTOM = QColor( 179, 179, 179 );
static const QColor SLIDESWITCH_TEXT = QColor( "#606060" );
static const QColor SEEKSLIDER_FOREGROUND = QColor( "#ffffff" );
static const int POPUP_ROUNDING_RADIUS = 6;
static const float POPUP_OPACITY = 0.93;
}
#endif // TOMAHAWKSTYLE_H
|