On Sun, Sep 25, 2011 at 10:06, Carsten Haitzler <ras...@rasterman.com> wrote: > On Sun, 25 Sep 2011 02:45:47 -0500 Jeff Hoogland <jeffhoogl...@linux.com> > said: > > if E set this by DEFAULT (there is some qt gtk theme engine that can use gtk > themes and theme engines mostly in qt), that'd be best, but i have no idea how > qt/kde does this... so patches accepted. > >> Set your QT apps to use your current GTK then _ then this is already done :) >> >> On Saturday, September 24, 2011, Carsten Haitzler <ras...@rasterman.com> >> wrote: >> > On Sun, 25 Sep 2011 00:26:08 +0200 "hannes.janet...@gmail.coms" >> > <hannes.janet...@googlemail.com> said: >> > >> >> On Sat, Sep 24, 2011 at 8:55 PM, Wido <wido...@gmail.com> wrote: >> >> > Sorry to be a jerk....but if it's going to be 'native' support for GTK >> >> > themes, shouldn't also be the same level of support for QT? >> >> > >> >> do you know how to tell qt to use a specific theme or to list themes >> >> available to qt? It would be good if qt could use XSettings spec. >> >> actually the property i set is Net/IconThemeName so it seems to be >> >> intended to work cross toolkit. though this spec seems to be only used >> >> by gtk.. I don't have a clue about how to do these things with qt. >> >> patches welcome :) >> > >> > as jeff said - patches welcome. xsettings is something gtk/gnome uses and >> > supports, and jeff did the footwork of implementing. now it's just a >> matter of >> > glueing it into all the right spots and adding a few more config vars and >> maybe >> > a few widgets in the config dialogs to swizzle them. >> > >> > if there are qt/kde mechamisms... please send the code! :) >> > >> >> > I mean, not everybody is a GTK fanboy =) >> >> > >> >> > El 24 de septiembre de 2011 02:41, Carsten Haitzler >> >> > <ras...@rasterman.com>escribió: >> >> > >> >> >> On Sat, 24 Sep 2011 05:37:07 +0200 "hannes.janet...@gmail.com" >> >> >> <hannes.janet...@googlemail.com> said: >> >> >> >> >> >> > On Sat, Sep 24, 2011 at 5:08 AM, Carsten Haitzler < >> ras...@rasterman.com> >> >> >> > wrote: >> >> >> > > On Sat, 24 Sep 2011 04:37:05 +0200 "hannes.janet...@gmail.com" >> >> >> > > <hannes.janet...@googlemail.com> said: >> >> >> > > >> >> >> > >> Hey, >> >> >> > >> >> >> >> > >> I've added xsettings-module to e-modules-extra. it's pretty much >> proto >> >> >> > >> but it does what I mostly wanted it for: >> >> >> > >> >> >> >> > >> - set global icon theme to match the one selected in e17. >> >> >> > >> >> >> >> > >> - adding 'data { "gtk-theme" "theme_name"; }' to e17 themes >> allows to >> >> >> > >> automatically use a gtk theme matching e17 theme. >> >> >> > >> >> >> >> > >> in config dialog one can override these options to set themes >> >> >> explicitly. >> >> >> > > >> >> >> > > dude - this shouldn't be in modules-extra... it should be in core >> e! :) >> >> >> many >> >> >> > > years ago i poked around the xsettings thing mentally deciding we >> had >> >> >> to add >> >> >> > > this to e, but i just never got to it. >> >> >> > > >> >> >> > >> >> >> > yes, i would also like it to be in core when it becomes more mature. >> >> >> > should it go into conf_theme then? >> >> >> >> >> >> well the xsettings core support should not even be a module >> >> >> just in e's main code. configuration - eg to provide a gtk theme, >> shoudl go >> >> >> into conf_theme. the others (icon theme) are already there - just >> recycle >> >> >> e's >> >> >> config. i'd say the conf_theme should provide a dialog to select gtk >> theme >> >> >> (from installed themes on system) in a list. that's it. with one >> option >> >> >> added >> >> >> to the list "let enlightenment theme decide". from memory xsettings >> can set >> >> >> up >> >> >> fonts, dpi and other things too. probably something to add to the conf >> >> >> scale >> >> >> dialog and to conf_fonts dialog in e etc. >> >> >> >> >> >> -- >> >> >> ------------- Codito, ergo sum - "I code, therefore I am" >> -------------- >> >> >> The Rasterman (Carsten Haitzler) ras...@rasterman.com >> >> >> >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> >> All of the data generated in your IT infrastructure is seriously >> valuable. >> >> >> Why? It contains a definitive record of application performance, >> security >> >> >> threats, fraudulent activity, and more. Splunk takes this data and >> makes >> >> >> sense of it. IT sense. And common sense. >> >> >> http://p.sf.net/sfu/splunk-d2dcopy2 >> >> >> _______________________________________________ >> >> >> enlightenment-users mailing list >> >> >> enlightenment-users@lists.sourceforge.net >> >> >> https://lists.sourceforge.net/lists/listinfo/enlightenment-users >> >> >> >> >> > >> >> > >> >> > >> >> > -- >> >> > Wido >> >> > >> ------------------------------------------------------------------------------ >> >> > All of the data generated in-- >> > ------------- Codito, ergo sum - "I code, therefore I am" -------------- >> > The Rasterman (Carsten Haitzler) ras...@rasterman.com >> > >> > >> > >> ------------------------------------------------------------------------------ >> > All of the data generated in your IT infrastructure is seriously valuable. >> > Why? It contains a definitive record of application performance, security >> > threats, fraudulent activity, and more. Splunk takes this data and makes >> > sense of it. IT sense. And common sense. >> > http://p.sf.net/sfu/splunk-d2dcopy2 >> > _______________________________________________ >> > enlightenment-users mailing list >> > enlightenment-users@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/enlightenment-users >> > >> >> -- >> ~Jeff Hoogland <http://jeffhoogland.com/> >> Thoughts on Technology <http://jeffhoogland.blogspot.com/>, Tech Blog >> Bodhi Linux <http://bodhilinux.com/>, Enlightenment for your Desktop >> ------------------------------------------------------------------------------ >> All of the data generated in your IT infrastructure is seriously valuable. >> Why? It contains a definitive record of application performance, security >> threats, fraudulent activity, and more. Splunk takes this data and makes >> sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-d2dcopy2 >> _______________________________________________ >> enlightenment-users mailing list >> enlightenment-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/enlightenment-users >> > > > -- > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > The Rasterman (Carsten Haitzler) ras...@rasterman.com > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > _______________________________________________ > enlightenment-users mailing list > enlightenment-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-users >
Setting Qt to use the Gtkstyle engine is easy: just set "style=GTK+" in ~/.config/Trolltech.conf However, doing this properly means you have to check for available engines, parsing the config, making sure there is a config and probably check for a dozend race conditions. As qt ships with qtconfig which does the job already, I don't see why to include that. Also, there is not really such a thing as Qt themes (there are a number of styles, but I don't think anyone has ever written an additional one outside of Trolltech), if anything there are KDE themes for Qt. Adding a link to qtconfig in the menu should be more than enough. At most, adding a button "Use GTK theme for Qt" could be done, which sets "style=GTK+" in the ini-style Trolltech.conf. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users