Changes between Version 119 and Version 120 of UserGuideGit
- Timestamp:
- Feb 2, 2009, 10:15:31 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UserGuideGit
v119 v120 9 9 * [#Shootingsequence Shooting sequence] 10 10 * [#Cutomization Cutomization] 11 * [# GTKresourcesgtkrc GTK resources (gtkrc)]11 * [#Stylesheet Style sheet] 12 12 * [#Referencemanual Reference manual] 13 13 * [#Mainwindow Main window] … … 132 132 == Cutomization == 133 133 134 === GTK resources (gtkrc)===135 136 Since release 1. 5.2, Papywizard can load a user GTK resources file. This file must be name '''{{{gtkrc}}}''', and must be located in '''{{{C:\\Documents and Settings\<user>\Application Data\papywizard\}}}'''¹ under Windows, '''{{{~/.config/papywizard/}}}''' under linux, and '''{{{/home/user/.config/papywizard/}}}''' under maemo.134 === Style sheet === 135 136 Since release 1.9.1, Papywizard can load a user style sheet. This file must be name '''{{{papywizard.css}}}''', and must be located in '''{{{C:\\Documents and Settings\<user>\Application Data\papywizard2\}}}'''¹ under Windows, '''{{{~/.config/papywizard2/}}}''' under linux, and '''{{{/home/user/.config/papywizard2/}}}''' under maemo. 137 137 138 138 ''¹: you have to configure the Windows Explorater so it shows you ''system'' files and directories. 139 139 140 Here is a sample file to change the font size:140 Here is a sample file: 141 141 142 142 {{{ 143 143 #!c 144 # gtkrc 145 146 style "papywizard-font" 147 { 148 font_name="Sans Serif 16" 144 QPushButton { 145 color: red; 149 146 } 150 151 widget_class "*" style "papywizard-font"152 147 }}} 153 148 154 Another more complete example: 155 156 {{{ 157 #!c 158 # gtkrc 159 160 style "papywizard-font" 161 { 162 font_name="Sans Serif 16" 163 } 164 165 style "papywizard-inverted" = "papywizard-font" 166 { 167 bg[NORMAL] = { 0.4, 0.4, 0.4 } 168 bg[ACTIVE] = { 0.37, 0.37, 0.37 } 169 bg[PRELIGHT] = { 0.45, 0.45, 0.45 } 170 bg[SELECTED] = { 0.5, 0.5, 0.5 } 171 bg[INSENSITIVE] = { 0.4, 0.4, 0.4 } 172 173 fg[NORMAL] = { 0.7, 0.7, 0.7 } 174 fg[ACTIVE] = { 0.67, 0.67, 0.67 } 175 fg[PRELIGHT] = { 0.95, 0.95, 0.95 } 176 fg[SELECTED] = { 0.6, 0.6, 0.9 } 177 fg[INSENSITIVE] = { 0.4, 0.4, 0.4 } 178 179 text[NORMAL] = { 0.7, 0.7, 0.7 } 180 text[ACTIVE] = { 0.67, 0.67, 0.67 } 181 text[PRELIGHT] = { 0.95, 0.95, 0.95 } 182 text[SELECTED] = { 0.9, 0.9, 0.9 } 183 text[INSENSITIVE] = { 0.4, 0.4, 0.4 } 184 185 base[NORMAL] = { 0.5, 0.5, 0.5 } 186 base[ACTIVE] = { 0.55, 0.55, 0.55 } 187 base[PRELIGHT] = { 0.5, 0.5, 0.5 } 188 base[SELECTED] = { 0.6, 0.6, 0.6 } 189 base[INSENSITIVE] = { 0.4, 0.4, 0.4 } 190 191 bg_pixmap[NORMAL] = "<none>" 192 193 engine "clearlooks" { 194 } 195 } 196 197 widget_class "*" style "papywizard-inverted" 198 }}} 199 200 ''Note: a dedicated page for nice gtkrc files will soon be created. Feel free to send yours.'' 149 ''Note: a dedicated page for nice style sheet files will soon be created. Feel free to send yours.'' 201 150 202 151 == Reference manual == … … 207 156 208 157 * '''File > Quit''': exit from Papywizard 209 * '''File > Load Preset File...''': load and addpresets from file210 * '''File > Load Gtkrc File...''': load GTK resources from file158 * '''File > Import Preset File...''': Import presets from file 159 * '''File > Load Style Sheet...''': load style sheet 211 160 * '''Hardware > Connect''': connect to the head hardware 212 161 * '''Hardware > Set limit...''': set the selected limit to curent position … … 215 164 * '''Help > Manual''': open this documentation (network connection needed) 216 165 * '''Help > View log...''': open log dialog 217 * '''Help > About''': open the about dialog 166 * '''Help > About Papywizard''': open the Papywizard about dialog 167 * '''Help > About Qt''': open the Qt about dialog 218 168 219 169 ==== displays ====