1
#ifndef oxygenmetrics_h
2
#define oxygenmetrics_h
5
* this file is part of the oxygen gtk engine
6
* Copyright (c) 2010 Hugo Pereira Da Costa <hugo@oxygen-icons.org>
7
* Copyright (c) 2010 Ruslan Kabatsayev <b7.10110111@gmail.com>
9
* This library is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU Lesser General Public
11
* License as published by the Free Software Foundation; either
12
* version 2 of the License, or( at your option ) any later version.
14
* This library is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
* Lesser General Public License for more details.
19
* You should have received a copy of the GNU Lesser General Public
20
* License along with this library; if not, write to the Free
21
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
29
/*! these are copied from the old KStyle WidgetProperties */
34
// checkbox. Do not change, unless
35
// changing the actual cached pixmap size
37
CheckBox_BoxTextSpace = 4,
40
ComboBox_FrameWidth = 3,
41
ComboBox_ButtonWidth = 19,
42
ComboBox_ButtonMargin = 2,
43
ComboBox_ButtonMargin_Left = 0,
44
ComboBox_ButtonMargin_Right = 4,
45
ComboBox_ButtonMargin_Top = 2,
46
ComboBox_ButtonMargin_Bottom = 1,
48
ComboBox_ContentsMargin = 0,
49
ComboBox_ContentsMargin_Left = 2,
50
ComboBox_ContentsMargin_Right = 0,
51
ComboBox_ContentsMargin_Top = 0,
52
ComboBox_ContentsMargin_Bottom = 0,
55
DockWidget_FrameWidth = 0,
56
DockWidget_SeparatorExtend = 3,
57
DockWidget_TitleMargin = 3,
63
GroupBox_FrameWidth = 3,
66
Header_TextToIconSpace = 3,
67
Header_ContentsMargin = 3,
70
LineEdit_FrameWidth = 3,
73
MenuItem_AccelSpace = 16,
74
MenuItem_ArrowWidth = 11,
75
MenuItem_ArrowSpace = 3,
76
MenuItem_CheckWidth = 16,
77
MenuItem_CheckSpace = 3,
78
MenuItem_IconWidth = 12,
79
MenuItem_IconSpace = 3,
81
MenuItem_MinHeight = 20,
84
MenuBarItem_Margin = 3,
85
MenuBarItem_Margin_Left = 5,
86
MenuBarItem_Margin_Right = 5,
89
PushButton_ContentsMargin = 5,
90
PushButton_ContentsMargin_Left = 8,
91
PushButton_ContentsMargin_Top = -1,
92
PushButton_ContentsMargin_Right = 8,
93
PushButton_ContentsMargin_Bottom = 0,
94
PushButton_MenuIndicatorSize = 8,
95
PushButton_TextToIconSpace = 6,
98
ProgressBar_BusyIndicatorSize = 10,
99
ProgressBar_GrooveMargin = 0,
102
ScrollBar_MinimumSliderHeight = 21,
104
// slider groove height
105
Slider_GrooveWidth = 7,
108
SpinBox_FrameWidth = 3,
109
SpinBox_ButtonWidth = 19,
110
SpinBox_ButtonMargin = 0,
111
SpinBox_ButtonMargin_Left = 2,
112
SpinBox_ButtonMargin_Right = 6,
113
SpinBox_ButtonMargin_Top = 4,
114
SpinBox_ButtonMargin_Bottom = 2,
120
TabBar_BaseOverlap = 7,
121
TabBar_BaseHeight = 2,
122
TabBar_ScrollButtonWidth = 18,
123
TabBar_TabContentsMargin = 4,
124
TabBar_TabContentsMargin_Left = 5,
125
TabBar_TabContentsMargin_Right = 5,
126
TabBar_TabContentsMargin_Top = 2,
127
TabBar_TabContentsMargin_Bottom = 4,
128
TabBar_TabOverlap =0,
130
TabWidget_ContentsMargin = 4,
133
ToolButton_ContentsMargin = 4,
134
ToolButton_InlineMenuIndicatorSize = 8,
135
ToolButton_InlineMenuIndicatorXOff = -11,
136
ToolButton_InlineMenuIndicatorYOff = -10,
137
ToolButton_MenuIndicatorSize = 11,
139
Tree_MaxExpanderSize = 9