Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which C++ cross platform GUI framework has good skinning ability?

What is a cross-platform C++ GUI framework that has good skinning ability?

So I could (and give the users) the ability to customise the GUI.

like image 443
user63898 Avatar asked Nov 29 '22 20:11

user63898


2 Answers

The Qt framework allows for changing the appearance of widgets using style sheets (using css). See: http://qt-project.org/doc/qt-5.0/qtwidgets/stylesheet.html.

like image 173
Kyle Lutz Avatar answered Dec 04 '22 03:12

Kyle Lutz


EDIT: As you're looking for something like wxSkin, first why not use it in the first place?

Then, if you don't want to use wxSkin, have a look at Juce. Qt's goal is definitely not themeable GUIs although windows masks and stylesheets are a way to implement them. There is the QSkingObject project on Qt-Apps.org but last time I checked it I found that the quality of the code was poor (of course this is subjective and argumentative).


You can have a look at Juce which has a dual license: GPL and commercial.

Qt (LGPL) has stylesheets to style the widgets, but it still let the operating system draw the windows decorations unless you instruct it to draw frameless windows and draw the decorations by yourself.

However, think twice before going the skinned application route. A typical example is Songbird (written in XUL) which used frameless windows and painted its own titlebar and windows buttons. Then they back-pedaled and switch back to system windows decorations after many users complained.

like image 35
Gregory Pakosz Avatar answered Dec 04 '22 04:12

Gregory Pakosz