GUI: allow choosing a style sheet to be used by the recoll app

This commit is contained in:
Jean-Francois Dockes
2011-12-28 18:25:47 +01:00
parent b5cfacb2f9
commit 7f57df250a
9 changed files with 164 additions and 21 deletions
+44
View File
@@ -0,0 +1,44 @@
/* Copyright (C) 2004 J.F.Dockes
* This program 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 2 of the License, or
* (at your option) any later version.
*
* This program 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 this program; if not, write to the
* Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/*
This is an embryonic example Qt style sheet for Recoll. It is not really
supposed to be less ugly than the default look, it's just provided in
hope that someone with better taste will want to step in, or you can use
it to indulge your preference for bright red backgrounds...
If you do want to use it, and encounter a difficulty due to (lack of)
widget object names or whatever, please get in touch, I'll fix what
needs to be.
*/
* {
background: #eeeeee;
}
QComboBox[editable="true"], QTextEdit, QLineEdit, QTextBrowser, QTableView {
background: #ffffee;
}
Preview QTextEdit {
background: white;
font-family: Serif;
font-size: 12pt;
}