Introducing QGtkStyle

There is a group of consistency freaks out there (like myself) who are not very fond of mixing Gtk+ with Qt applications. The reasons for this are not just graphical, but also behavioural; Gtk+ applications behave differently than Qt applications (menus are different, layout is different, etc.). Trolltech obviously can’t tackle the behavioural side of this issue, but they can tackle the graphical one. This is exactly where QGtkStyle comes into play.QCleanlooks, combined with icon themes, standard shortcuts, and dialog buttons, already offer Qt integration into a Gtk+ environment, but this is not an ideal solution. From Qt’s point of view, a better solution would be to provide a solution for Gtk+ similar to what it offers on Mac OS X and Windows: using the Gtk+ theme engine directly. Cue QGtkStyle.

QGtkStyle does exactly this, and in addition extends and surpasses QCleanlooks in a lot of other areas as well. All group boxes are now flat style to blend better with GNOME dialogs. Icon theme support has improved, scrollbar buttons are disabled at edges and item view branches now support hover.

Aurora browser rendered using QGtkStyle.

The style is available as a plugin to Qt 4.4 from the Trolltech Labs website – it is obviously not yet of release quality. It is also made clear that this style cannot be used concurrently with the gtk-qt-engine.

24 Comments

  1. 2008-05-15 6:19 pm
  2. 2008-05-15 7:23 pm
    • 2008-05-15 7:34 pm
      • 2008-05-15 8:12 pm
  3. 2008-05-15 7:33 pm
    • 2008-05-15 7:52 pm
    • 2008-05-15 8:30 pm
      • 2008-05-16 5:06 am
        • 2008-05-16 7:01 am
    • 2008-05-17 4:10 am
  4. 2008-05-15 9:13 pm
    • 2008-05-15 10:48 pm
  5. 2008-05-15 9:27 pm
    • 2008-05-16 4:49 am
  6. 2008-05-15 11:26 pm
  7. 2008-05-16 6:30 am
    • 2008-05-16 7:03 am
  8. 2008-05-16 8:36 am
    • 2008-05-16 1:09 pm
      • 2008-05-17 11:55 am
    • 2008-05-20 7:24 am
  9. 2008-05-16 2:45 pm
    • 2008-05-16 6:26 pm