XnView MP & theme
Moderators: XnTriq, helmut, xnview
-
- Author of XnView
- Posts: 44883
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
XnView MP & theme
In 0.1 you can edit style, i've made a little dark theme, you can enhance it
Pierre.
-
- XnThusiast
- Posts: 2005
- Joined: Tue Jul 17, 2007 1:17 am
- Location: France
Re: XnView MP & theme
Great, I will try latter !xnview wrote:In 0.1 you can edit style, i've made a little dark theme, you can enhance it
XnViewMP Linux X64 - Debian - X64
-
- XnThusiast
- Posts: 2010
- Joined: Wed Mar 17, 2004 8:33 pm
- Location: Sarasota Florida
-
- XnThusiast
- Posts: 2010
- Joined: Wed Mar 17, 2004 8:33 pm
- Location: Sarasota Florida
OK. Here's a quick theme that exaggerates all of the missing elements that need to be included in a theme definition (but aren't).
Also obvious is all of the extra little screen junk the QT controls have embedded in them (in all of the themes) that are not controllable by the current theme definition. For instance: control borders around the toolbar, the toolbar dividers, superfluous borders around each panel, etc.
IMO thumbnail colors should also be included in the theme definition.
I think this theme works best with the "Clean Looks" style.
Also obvious is all of the extra little screen junk the QT controls have embedded in them (in all of the themes) that are not controllable by the current theme definition. For instance: control borders around the toolbar, the toolbar dividers, superfluous borders around each panel, etc.
IMO thumbnail colors should also be included in the theme definition.
I think this theme works best with the "Clean Looks" style.
Code: Select all
QMainWindow {
background-color: #323232;
color: #dddddd;
}
QTreeView {
background-color: #717171;
color: #dddddd;
alternate-background-color: #303030;
} QListView {
background-color: #303030;
color: #dddddd;
}
QTextEdit {
background-color: #717171;
color: #dddddd;
}
QScrollBar:horizontal {
height: 20px;
}
QScrollBar:vertical {
width: 20px;
}
QTabWidget::pane {
border-top: 2px solid #C2C7CB;
}
.QLabel {
color: white;
}
.QCheckBox {
color: white;
}
.QRadioButton{
color:white;
}
John
-
- XnThusiast
- Posts: 4441
- Joined: Sun Oct 17, 2004 4:57 am
- Location: Bordeaux, France
Black is blaaaack……
JohnFredC
Again…
• I had a look again now, and closing the edition box (doing nothing),
now all the browser BGs are black, impossible to go back… till I close¦restart.
• That script looks like a CSS like a pair of twins… Really inconvenient to customize a programme,
despite I'm in the habit to write (huge) style-sheets…
KR
Claude
Clo
Again…
• I had a look again now, and closing the edition box (doing nothing),
now all the browser BGs are black, impossible to go back… till I close¦restart.
• That script looks like a CSS like a pair of twins… Really inconvenient to customize a programme,
despite I'm in the habit to write (huge) style-sheets…
KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •
-
- XnThusiast
- Posts: 2010
- Joined: Wed Mar 17, 2004 8:33 pm
- Location: Sarasota Florida
-
- Author of XnView
- Posts: 44883
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- XnThusiast
- Posts: 2010
- Joined: Wed Mar 17, 2004 8:33 pm
- Location: Sarasota Florida
-
- XnThusiast
- Posts: 2005
- Joined: Tue Jul 17, 2007 1:17 am
- Location: France
Sympa your theme John !
Adopted + oops66 custom :
************************* Oops#666666 Theme *******************************
Adopted + oops66 custom :
************************* Oops#666666 Theme *******************************
Code: Select all
QMainWindow {
background-color: #666666;
color: #cccccc;
}
QTreeView {
background-color: #666666;
color: #cccccc;
alternate-background-color: #333333;
} QListView {
background-color: #333333;
color: #cccccc;
}
QTextEdit {
background-color: #666666;
color: #cccccc;
}
QScrollBar:horizontal {
height: 20px;
}
QScrollBar:vertical {
width: 20px;
}
QTabWidget::pane {
border-top: 2px solid #cccccc;
}
.QLabel {
color: white;
}
.QCheckBox {
color: white;
}
.QRadioButton{
color:white;
}
XnViewMP Linux X64 - Debian - X64
-
- XnThusiast
- Posts: 2010
- Joined: Wed Mar 17, 2004 8:33 pm
- Location: Sarasota Florida
Defining themes in this way makes it so easy to try them out and to share them! Perhaps I'll make some alternatives and post them.
Here's (just the beginning of) an idea:
I conceive of five separate groups of settings we users might be likely to share individually: Workspaces, Layout Groups, Themes, Thumb Definitions, and Behaviors.
Behaviors:
Keyboard shortcuts
File format save options
Startup options, etc.
Thumb Definitions:
Borders, Spacing
Colors
Label layout
Icon visibility and placement
Themes:
All interface colors
File-list colors
Flag to override colors in Thumb Definition
Toolbar skin
Layout Groups:
Panel visibilities, positions, and splitter locations for each internal layout
Workspaces:
Link to Layout Group
Link to Theme
Link to Thumbnail Definition
Link to Behaviors Definition
Initial (default) layout
Default Browser sorting order
Default Browser filter
Default thumb size
Default Path
Toolbar Definition
More...
To my way of thinking, each Workspace could have all: a Layout Group, a Theme, and a Thumbnail Definition, and a Behavior Definition... or any combination.
Users could share an entire workspace or only a single component, such as a theme.
Menu options/toolbar buttons would make switching between themes, etc quick and easy. XnView would be come almost chameleon-like and save some of us a lot of time!
Here's (just the beginning of) an idea:
I conceive of five separate groups of settings we users might be likely to share individually: Workspaces, Layout Groups, Themes, Thumb Definitions, and Behaviors.
Behaviors:
Keyboard shortcuts
File format save options
Startup options, etc.
Thumb Definitions:
Borders, Spacing
Colors
Label layout
Icon visibility and placement
Themes:
All interface colors
File-list colors
Flag to override colors in Thumb Definition
Toolbar skin
Layout Groups:
Panel visibilities, positions, and splitter locations for each internal layout
Workspaces:
Link to Layout Group
Link to Theme
Link to Thumbnail Definition
Link to Behaviors Definition
Initial (default) layout
Default Browser sorting order
Default Browser filter
Default thumb size
Default Path
Toolbar Definition
More...
To my way of thinking, each Workspace could have all: a Layout Group, a Theme, and a Thumbnail Definition, and a Behavior Definition... or any combination.
Users could share an entire workspace or only a single component, such as a theme.
Menu options/toolbar buttons would make switching between themes, etc quick and easy. XnView would be come almost chameleon-like and save some of us a lot of time!
John
-
- XnThusiast
- Posts: 2005
- Joined: Tue Jul 17, 2007 1:17 am
- Location: France
2 ini files (xnview.ini & theme.ini)
+1, I agree.
To be able to share easier the themes and the others custom cosmetics settings, it would be interesting in this case to have two XnView.ini file, one for the normal setting(xnview.ini), and an other one for a custom cosmetic setting (theme.ini, including the theme and the others stuffs).
To be able to share easier the themes and the others custom cosmetics settings, it would be interesting in this case to have two XnView.ini file, one for the normal setting(xnview.ini), and an other one for a custom cosmetic setting (theme.ini, including the theme and the others stuffs).
XnViewMP Linux X64 - Debian - X64
-
- Author of XnView
- Posts: 44883
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: XnView MP & theme
Some interesting link:
http://labs.trolltech.com/blogs/2007/11 ... tem-views/
http://system-linux.net/doc/qt4/doc/htm ... mples.html
http://labs.trolltech.com/blogs/2007/11 ... tem-views/
http://system-linux.net/doc/qt4/doc/htm ... mples.html
Pierre.
-
- Moderator & Librarian
- Posts: 6387
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: XnView MP & theme
XnTriq ([url=http://newsgroup.xnview.com/viewtopic.php?p=57351#p57351]XnView Multi Platform - alpha 0.001[/url]) wrote:
- Qt Reference Documentation
- Qt Solutions Catalog
- Qt Quarterly
- Trolltech Labs Blogs
-
- XnThusiast
- Posts: 2005
- Joined: Tue Jul 17, 2007 1:17 am
- Location: France
Re: XnView MP & theme
An other example of dark theme to copy/paste into the setting theme area (View\Style\Theme...)
Code: Select all
QMainWindow {
background-color: #454545;
color: #dddddd;
}
QTreeView {
background-color: #454545;
color: #dddddd;
alternate-background-color: #515151;
} QListView {
background-color: #454545;
color: #dddddd;
}
QTextEdit {
background-color: #454545;
color: #dddddd;
}
QScrollBar:horizontal {
height: 10px;
}
QScrollBar:vertical {
width: 10px;
}
QTabWidget::pane {
border-top: 2px solid #C2C7CB;
}
.QLabel {
color: #000000;
}
.QCheckBox {
color: #000000;
}
.QRadioButton{
color:#000000;
}
XnViewMP Linux X64 - Debian - X64
-
- Author of XnView
- Posts: 44883
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: XnView MP & theme
Style documentation has been updated
http://doc.trolltech.com/4.6/stylesheet ... -qcheckbox
If someone has a good theme, please post it
http://doc.trolltech.com/4.6/stylesheet ... -qcheckbox
If someone has a good theme, please post it
Pierre.