Qt 4.8
Classes | Macros | Typedefs | Enumerations | Functions | Variables
qgtkstyle_p.h File Reference
#include <QtCore/qglobal.h>
#include <QtCore/qstring.h>
#include <QtCore/qstringbuilder.h>
#include <QtCore/qcoreapplication.h>
#include <QtGui/QFileDialog>
#include <QtGui/QGtkStyle>
#include <private/qcleanlooksstyle_p.h>
#include <gtk/gtk.h>

Go to the source code of this file.

Classes

class  QGtkStyleFilter
 
class  QGtkStylePrivate
 
class  QGtkStyleUpdateScheduler
 
class  QHashableLatin1Literal
 

Macros

#define GTK_OBJECT_FLAGS(obj)   (((GtkObject*)(obj))->flags)
 
#define Q_GTK_IS_WIDGET(widget)   widget && GTK_CHECK_TYPE ((widget), QGtkStylePrivate::gtk_widget_get_type())
 
#define QLS(x)   QLatin1String(x)
 

Typedefs

typedef QString(* _qt_filedialog_existing_directory_hook) (QWidget *parent, const QString &caption, const QString &dir, QFileDialog::Options options)
 
typedef QString(* _qt_filedialog_open_filename_hook) (QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFileDialog::Options options)
 
typedef QStringList(* _qt_filedialog_open_filenames_hook) (QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFileDialog::Options options)
 
typedef QString(* _qt_filedialog_save_filename_hook) (QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFileDialog::Options options)
 
typedef bool(* Ptr_gconf_client_get_bool) (GConfClient *, const char *, GError **)
 
typedef GConfClient *(* Ptr_gconf_client_get_default) ()
 
typedef char *(* Ptr_gconf_client_get_string) (GConfClient *, const char *, GError **)
 
typedef void(* Ptr_gdk_color_free) (const GdkColor *)
 
typedef void(* Ptr_gdk_draw_rectangle) (GdkDrawable *drawable, GdkGC *gc, gboolean filled, gint x, gint y, gint width, gint height)
 
typedef gint(* Ptr_gdk_drawable_get_depth) (GdkDrawable *)
 
typedef void(* Ptr_gdk_drawable_unref) (GdkDrawable *)
 
typedef GdkPixbuf *(* Ptr_gdk_pixbuf_get_from_drawable) (GdkPixbuf *dest, GdkDrawable *src, GdkColormap *cmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height)
 
typedef int(* Ptr_gdk_pixbuf_get_height) (const GdkPixbuf *pixbuf)
 
typedef guchar *(* Ptr_gdk_pixbuf_get_pixels) (const GdkPixbuf *pixbuf)
 
typedef int(* Ptr_gdk_pixbuf_get_width) (const GdkPixbuf *pixbuf)
 
typedef GdkPixbuf *(* Ptr_gdk_pixbuf_new) (GdkColorspace colorspace, gboolean has_alpha, int bits_per_sample, int width, int height)
 
typedef void(* Ptr_gdk_pixbuf_unref) (GdkPixbuf *)
 
typedef GdkPixmap *(* Ptr_gdk_pixmap_new) (GdkDrawable *drawable, gint width, gint height, gint depth)
 
typedef Display *(* Ptr_gdk_x11_drawable_get_xdisplay) (GdkDrawable *)
 
typedef XID(* Ptr_gdk_x11_drawable_get_xid) (GdkDrawable *)
 
typedef void(* Ptr_gdk_x11_window_set_user_time) (GdkWindow *window, guint32)
 
typedef char *(* Ptr_gnome_icon_lookup_sync) (GtkIconTheme *icon_theme, GnomeThumbnailFactory *, const char *file_uri, const char *custom_icon, GnomeIconLookupFlags flags, GnomeIconLookupResultFlags *result)
 
typedef gboolean(* Ptr_gnome_vfs_init) (void)
 
typedef void(* Ptr_gtk_adjustment_configure) (GtkAdjustment *, double, double, double, double, double, double)
 
typedef GtkObject *(* Ptr_gtk_adjustment_new) (double, double, double, double, double, double)
 
typedef GtkWidget *(* Ptr_gtk_arrow_new) (GtkArrowType, GtkShadowType)
 
typedef void(* Ptr_gtk_border_free) (GtkBorder *)
 
typedef GtkWidget *(* Ptr_gtk_button_new) (void)
 
typedef GtkWidget *(* Ptr_gtk_check_button_new) (void)
 
typedef GtkWidget *(* Ptr_gtk_check_menu_item_new_with_label) (const gchar *)
 
typedef gchar *(* Ptr_gtk_check_version) (guint, guint, guint)
 
typedef GtkWidget *(* Ptr_gtk_combo_box_entry_new) (void)
 
typedef GtkWidget *(* Ptr_gtk_combo_box_new) (void)
 
typedef void(* Ptr_gtk_container_add) (GtkContainer *container, GtkWidget *widget)
 
typedef void(* Ptr_gtk_container_forall) (GtkContainer *, GtkCallback, gpointer)
 
typedef GtkType(* Ptr_gtk_container_get_type) (void)
 
typedef gint(* Ptr_gtk_dialog_run) (GtkDialog *)
 
typedef GtkWidget *(* Ptr_gtk_entry_new) (void)
 
typedef GtkWidget *(* Ptr_gtk_expander_new) (const gchar *)
 
typedef void(* Ptr_gtk_file_chooser_add_filter) (GtkFileChooser *chooser, GtkFileFilter *filter)
 
typedef GtkWidget *(* Ptr_gtk_file_chooser_dialog_new) (const gchar *title, GtkWindow *parent, GtkFileChooserAction action, const gchar *first_button_text,...)
 
typedef gchar *(* Ptr_gtk_file_chooser_get_filename) (GtkFileChooser *chooser)
 
typedef GSList *(* Ptr_gtk_file_chooser_get_filenames) (GtkFileChooser *chooser)
 
typedef GtkFileFilter *(* Ptr_gtk_file_chooser_get_filter) (GtkFileChooser *chooser)
 
typedef gboolean(* Ptr_gtk_file_chooser_set_current_folder) (GtkFileChooser *, const gchar *)
 
typedef void(* Ptr_gtk_file_chooser_set_current_name) (GtkFileChooser *, const gchar *)
 
typedef gboolean(* Ptr_gtk_file_chooser_set_filename) (GtkFileChooser *chooser, const gchar *name)
 
typedef void(* Ptr_gtk_file_chooser_set_filter) (GtkFileChooser *chooser, GtkFileFilter *filter)
 
typedef void(* Ptr_gtk_file_filter_add_pattern) (GtkFileFilter *filter, const gchar *pattern)
 
typedef GtkFileFilter *(* Ptr_gtk_file_filter_new) (void)
 
typedef void(* Ptr_gtk_file_filter_set_name) (GtkFileFilter *, const gchar *)
 
typedef GtkWidget *(* Ptr_gtk_fixed_new) (void)
 
typedef GtkWidget *(* Ptr_gtk_frame_new) (const gchar *)
 
typedef GtkWidget *(* Ptr_gtk_hbutton_box_new) (void)
 
typedef GtkWidget *(* Ptr_gtk_hscale_new) (GtkAdjustment *)
 
typedef GtkWidget *(* Ptr_gtk_hscrollbar_new) (GtkAdjustment *)
 
typedef GtkIconSet *(* Ptr_gtk_icon_factory_lookup_default) (const gchar *)
 
typedef GdkPixbuf *(* Ptr_gtk_icon_set_render_icon) (GtkIconSet *, GtkStyle *, GtkTextDirection, GtkStateType, GtkIconSize, GtkWidget *, const char *)
 
typedef GtkIconTheme *(* Ptr_gtk_icon_theme_get_default) (void)
 
typedef void(* Ptr_gtk_init) (int *, char ***)
 
typedef GtkWidget *(* Ptr_gtk_menu_bar_new) (void)
 
typedef GtkWidget *(* Ptr_gtk_menu_item_new_with_label) (const gchar *)
 
typedef void(* Ptr_gtk_menu_item_set_submenu) (GtkMenuItem *, GtkWidget *)
 
typedef GtkWidget *(* Ptr_gtk_menu_new) (void)
 
typedef void(* Ptr_gtk_menu_shell_append) (GtkMenuShell *, GtkWidget *)
 
typedef GtkWidget *(* Ptr_gtk_notebook_new) (void)
 
typedef void(* Ptr_gtk_paint_arrow) (GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, GtkArrowType, gboolean, gint, gint, gint, gint)
 
typedef void(* Ptr_gtk_paint_box) (GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint)
 
typedef void(* Ptr_gtk_paint_box_gap) (GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint, GtkPositionType, gint gap_x, gint gap_width)
 
typedef void(* Ptr_gtk_paint_check) (GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint)
 
typedef void(* Ptr_gtk_paint_expander) (GtkStyle *, GdkWindow *, GtkStateType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, GtkExpanderStyle)
 
typedef void(* Ptr_gtk_paint_extension) (GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint, GtkPositionType)
 
typedef void(* Ptr_gtk_paint_flat_box) (GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint)
 
typedef void(* Ptr_gtk_paint_focus) (GtkStyle *, GdkWindow *, GtkStateType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint)
 
typedef void(* Ptr_gtk_paint_handle) (GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint, GtkOrientation)
 
typedef void(* Ptr_gtk_paint_hline) (GtkStyle *, GdkWindow *, GtkStateType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint y)
 
typedef void(* Ptr_gtk_paint_option) (GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint)
 
typedef void(* Ptr_gtk_paint_resize_grip) (GtkStyle *, GdkWindow *, GtkStateType, const GdkRectangle *, GtkWidget *, const gchar *, GdkWindowEdge, gint, gint, gint, gint)
 
typedef void(* Ptr_gtk_paint_shadow) (GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint)
 
typedef void(* Ptr_gtk_paint_slider) (GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint, GtkOrientation)
 
typedef void(* Ptr_gtk_paint_vline) (GtkStyle *, GdkWindow *, GtkStateType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint)
 
typedef GtkWidget *(* Ptr_gtk_progress_bar_new) (void)
 
typedef void(* Ptr_gtk_progress_configure) (GtkProgress *, double, double, double)
 
typedef GtkWidget *(* Ptr_gtk_radio_button_new) (GSList *)
 
typedef GtkAdjustment *(* Ptr_gtk_range_get_adjustment) (GtkRange *)
 
typedef void(* Ptr_gtk_range_set_adjustment) (GtkRange *, GtkAdjustment *)
 
typedef void(* Ptr_gtk_range_set_inverted) (GtkRange *, bool)
 
typedef GtkStyle *(* Ptr_gtk_rc_get_style_by_paths) (GtkSettings *, const char *, const char *, GType)
 
typedef GtkWidget *(* Ptr_gtk_scrolled_window_new) (GtkAdjustment *, GtkAdjustment *)
 
typedef GtkWidget *(* Ptr_gtk_separator_menu_item_new) (void)
 
typedef GtkToolItem *(* Ptr_gtk_separator_tool_item_new) (void)
 
typedef GtkSettings *(* Ptr_gtk_settings_get_default) (void)
 
typedef GtkWidget *(* Ptr_gtk_spin_button_new) (GtkAdjustment *, double, int)
 
typedef GtkWidget *(* Ptr_gtk_statusbar_new) (void)
 
typedef GtkStyle *(* Ptr_gtk_style_attach) (GtkStyle *, GdkWindow *)
 
typedef GtkWidget *(* Ptr_gtk_tool_button_new) (GtkWidget *, const gchar *)
 
typedef void(* Ptr_gtk_toolbar_insert) (GtkToolbar *toolbar, GtkToolItem *item, int pos)
 
typedef GtkWidget *(* Ptr_gtk_toolbar_new) (void)
 
typedef void(* Ptr_gtk_tree_view_append_column) (GtkTreeView *, GtkTreeViewColumn *)
 
typedef GtkTreeViewColumn *(* Ptr_gtk_tree_view_column_new) (void)
 
typedef GtkTreeViewColumn *(* Ptr_gtk_tree_view_get_column) (GtkTreeView *, gint)
 
typedef GtkWidget *(* Ptr_gtk_tree_view_new) (void)
 
typedef GtkWidget *(* Ptr_gtk_vscale_new) (GtkAdjustment *)
 
typedef GtkWidget *(* Ptr_gtk_vscrollbar_new) (GtkAdjustment *)
 
typedef void(* Ptr_gtk_widget_destroy) (GtkWidget *)
 
typedef GtkType(* Ptr_gtk_widget_get_type) (void)
 
typedef void(* Ptr_gtk_widget_modify_color) (GtkWidget *widget, GtkStateType state, const GdkColor *color)
 
typedef void(* Ptr_gtk_widget_path) (GtkWidget *, guint *, gchar **, gchar **)
 
typedef void(* Ptr_gtk_widget_realize) (GtkWidget *)
 
typedef void(* Ptr_gtk_widget_set_default_direction) (GtkTextDirection)
 
typedef void(* Ptr_gtk_widget_set_direction) (GtkWidget *, GtkTextDirection)
 
typedef void(* Ptr_gtk_widget_size_allocate) (GtkWidget *, GtkAllocation *)
 
typedef void(* Ptr_gtk_widget_size_request) (GtkWidget *widget, GtkRequisition *requisition)
 
typedef void(* Ptr_gtk_widget_style_get) (GtkWidget *, const gchar *first_property_name,...)
 
typedef GtkType(* Ptr_gtk_window_get_type) (void)
 
typedef GtkWidget *(* Ptr_gtk_window_new) (GtkWindowType)
 
typedef const char *(* Ptr_pango_font_description_get_family) (const PangoFontDescription *)
 
typedef gint(* Ptr_pango_font_description_get_size) (const PangoFontDescription *)
 
typedef PangoStyle(* Ptr_pango_font_description_get_style) (const PangoFontDescription *desc)
 
typedef PangoWeight(* Ptr_pango_font_description_get_weight) (const PangoFontDescription *)
 
typedef unsigned long XID
 

Enumerations

enum  GnomeIconLookupFlags { GNOME_ICON_LOOKUP_FLAGS_NONE = 0, GNOME_ICON_LOOKUP_FLAGS_EMBEDDING_TEXT = 1<<0, GNOME_ICON_LOOKUP_FLAGS_SHOW_SMALL_IMAGES_AS_THEMSELVES = 1<<1, GNOME_ICON_LOOKUP_FLAGS_ALLOW_SVG_AS_THEMSELVES = 1<<2 }
 
enum  GnomeIconLookupResultFlags { GNOME_ICON_LOOKUP_RESULT_FLAGS_NONE = 0, GNOME_ICON_LOOKUP_RESULT_FLAGS_THUMBNAIL = 1<<0 }
 

Functions

bool operator!= (const QHashableLatin1Literal &l1, const QHashableLatin1Literal &l2)
 
bool operator== (const QHashableLatin1Literal &l1, const QHashableLatin1Literal &l2)
 
uint qHash (const QHashableLatin1Literal &key)
 

Variables

Q_GUI_EXPORT _qt_filedialog_existing_directory_hook qt_filedialog_existing_directory_hook
 
Q_GUI_EXPORT _qt_filedialog_open_filename_hook qt_filedialog_open_filename_hook
 
Q_GUI_EXPORT _qt_filedialog_open_filenames_hook qt_filedialog_open_filenames_hook
 
Q_GUI_EXPORT _qt_filedialog_save_filename_hook qt_filedialog_save_filename_hook
 

Macro Definition Documentation

◆ GTK_OBJECT_FLAGS

#define GTK_OBJECT_FLAGS (   obj)    (((GtkObject*)(obj))->flags)

Definition at line 74 of file qgtkstyle_p.h.

◆ Q_GTK_IS_WIDGET

#define Q_GTK_IS_WIDGET (   widget)    widget && GTK_CHECK_TYPE ((widget), QGtkStylePrivate::gtk_widget_get_type())

◆ QLS

#define QLS (   x)    QLatin1String(x)

Typedef Documentation

◆ _qt_filedialog_existing_directory_hook

typedef QString(* _qt_filedialog_existing_directory_hook) (QWidget *parent, const QString &caption, const QString &dir, QFileDialog::Options options)

Definition at line 271 of file qgtkstyle_p.h.

◆ _qt_filedialog_open_filename_hook

typedef QString(* _qt_filedialog_open_filename_hook) (QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFileDialog::Options options)

Definition at line 267 of file qgtkstyle_p.h.

◆ _qt_filedialog_open_filenames_hook

typedef QStringList(* _qt_filedialog_open_filenames_hook) (QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFileDialog::Options options)

Definition at line 265 of file qgtkstyle_p.h.

◆ _qt_filedialog_save_filename_hook

typedef QString(* _qt_filedialog_save_filename_hook) (QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFileDialog::Options options)

Definition at line 269 of file qgtkstyle_p.h.

◆ Ptr_gconf_client_get_bool

typedef bool(* Ptr_gconf_client_get_bool) (GConfClient *, const char *, GError **)

Definition at line 137 of file qgtkstyle_p.h.

◆ Ptr_gconf_client_get_default

typedef GConfClient*(* Ptr_gconf_client_get_default) ()

Definition at line 135 of file qgtkstyle_p.h.

◆ Ptr_gconf_client_get_string

typedef char*(* Ptr_gconf_client_get_string) (GConfClient *, const char *, GError **)

Definition at line 136 of file qgtkstyle_p.h.

◆ Ptr_gdk_color_free

typedef void(* Ptr_gdk_color_free) (const GdkColor *)

Definition at line 244 of file qgtkstyle_p.h.

◆ Ptr_gdk_draw_rectangle

typedef void(* Ptr_gdk_draw_rectangle) (GdkDrawable *drawable, GdkGC *gc, gboolean filled, gint x, gint y, gint width, gint height)

Definition at line 253 of file qgtkstyle_p.h.

◆ Ptr_gdk_drawable_get_depth

typedef gint(* Ptr_gdk_drawable_get_depth) (GdkDrawable *)

Definition at line 257 of file qgtkstyle_p.h.

◆ Ptr_gdk_drawable_unref

typedef void(* Ptr_gdk_drawable_unref) (GdkDrawable *)

Definition at line 256 of file qgtkstyle_p.h.

◆ Ptr_gdk_pixbuf_get_from_drawable

typedef GdkPixbuf*(* Ptr_gdk_pixbuf_get_from_drawable) (GdkPixbuf *dest, GdkDrawable *src, GdkColormap *cmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height)

Definition at line 246 of file qgtkstyle_p.h.

◆ Ptr_gdk_pixbuf_get_height

typedef int(* Ptr_gdk_pixbuf_get_height) (const GdkPixbuf *pixbuf)

Definition at line 245 of file qgtkstyle_p.h.

◆ Ptr_gdk_pixbuf_get_pixels

typedef guchar*(* Ptr_gdk_pixbuf_get_pixels) (const GdkPixbuf *pixbuf)

Definition at line 242 of file qgtkstyle_p.h.

◆ Ptr_gdk_pixbuf_get_width

typedef int(* Ptr_gdk_pixbuf_get_width) (const GdkPixbuf *pixbuf)

Definition at line 243 of file qgtkstyle_p.h.

◆ Ptr_gdk_pixbuf_new

typedef GdkPixbuf*(* Ptr_gdk_pixbuf_new) (GdkColorspace colorspace, gboolean has_alpha, int bits_per_sample, int width, int height)

Definition at line 251 of file qgtkstyle_p.h.

◆ Ptr_gdk_pixbuf_unref

typedef void(* Ptr_gdk_pixbuf_unref) (GdkPixbuf *)

Definition at line 255 of file qgtkstyle_p.h.

◆ Ptr_gdk_pixmap_new

typedef GdkPixmap*(* Ptr_gdk_pixmap_new) (GdkDrawable *drawable, gint width, gint height, gint depth)

Definition at line 250 of file qgtkstyle_p.h.

◆ Ptr_gdk_x11_drawable_get_xdisplay

typedef Display*(* Ptr_gdk_x11_drawable_get_xdisplay) (GdkDrawable *)

Definition at line 260 of file qgtkstyle_p.h.

◆ Ptr_gdk_x11_drawable_get_xid

typedef XID(* Ptr_gdk_x11_drawable_get_xid) (GdkDrawable *)

Definition at line 259 of file qgtkstyle_p.h.

◆ Ptr_gdk_x11_window_set_user_time

typedef void(* Ptr_gdk_x11_window_set_user_time) (GdkWindow *window, guint32)

Definition at line 258 of file qgtkstyle_p.h.

◆ Ptr_gnome_icon_lookup_sync

typedef char*(* Ptr_gnome_icon_lookup_sync) (GtkIconTheme *icon_theme, GnomeThumbnailFactory *, const char *file_uri, const char *custom_icon, GnomeIconLookupFlags flags, GnomeIconLookupResultFlags *result)

Definition at line 306 of file qgtkstyle_p.h.

◆ Ptr_gnome_vfs_init

typedef gboolean(* Ptr_gnome_vfs_init) (void)

Definition at line 305 of file qgtkstyle_p.h.

◆ Ptr_gtk_adjustment_configure

typedef void(* Ptr_gtk_adjustment_configure) (GtkAdjustment *, double, double, double, double, double, double)

Definition at line 202 of file qgtkstyle_p.h.

◆ Ptr_gtk_adjustment_new

typedef GtkObject*(* Ptr_gtk_adjustment_new) (double, double, double, double, double, double)

Definition at line 203 of file qgtkstyle_p.h.

◆ Ptr_gtk_arrow_new

typedef GtkWidget*(* Ptr_gtk_arrow_new) (GtkArrowType, GtkShadowType)

Definition at line 146 of file qgtkstyle_p.h.

◆ Ptr_gtk_border_free

typedef void(* Ptr_gtk_border_free) (GtkBorder *)

Definition at line 240 of file qgtkstyle_p.h.

◆ Ptr_gtk_button_new

typedef GtkWidget*(* Ptr_gtk_button_new) (void)

Definition at line 155 of file qgtkstyle_p.h.

◆ Ptr_gtk_check_button_new

typedef GtkWidget*(* Ptr_gtk_check_button_new) (void)

Definition at line 158 of file qgtkstyle_p.h.

◆ Ptr_gtk_check_menu_item_new_with_label

typedef GtkWidget*(* Ptr_gtk_check_menu_item_new_with_label) (const gchar *)

Definition at line 149 of file qgtkstyle_p.h.

◆ Ptr_gtk_check_version

typedef gchar*(* Ptr_gtk_check_version) (guint, guint, guint)

Definition at line 167 of file qgtkstyle_p.h.

◆ Ptr_gtk_combo_box_entry_new

typedef GtkWidget*(* Ptr_gtk_combo_box_entry_new) (void)

Definition at line 152 of file qgtkstyle_p.h.

◆ Ptr_gtk_combo_box_new

typedef GtkWidget*(* Ptr_gtk_combo_box_new) (void)

Definition at line 172 of file qgtkstyle_p.h.

◆ Ptr_gtk_container_add

typedef void(* Ptr_gtk_container_add) (GtkContainer *container, GtkWidget *widget)

Definition at line 181 of file qgtkstyle_p.h.

◆ Ptr_gtk_container_forall

typedef void(* Ptr_gtk_container_forall) (GtkContainer *, GtkCallback, gpointer)

Definition at line 207 of file qgtkstyle_p.h.

◆ Ptr_gtk_container_get_type

typedef GtkType(* Ptr_gtk_container_get_type) (void)

Definition at line 215 of file qgtkstyle_p.h.

◆ Ptr_gtk_dialog_run

typedef gint(* Ptr_gtk_dialog_run) (GtkDialog *)

Definition at line 239 of file qgtkstyle_p.h.

◆ Ptr_gtk_entry_new

typedef GtkWidget*(* Ptr_gtk_entry_new) (void)

Definition at line 169 of file qgtkstyle_p.h.

◆ Ptr_gtk_expander_new

typedef GtkWidget*(* Ptr_gtk_expander_new) (const gchar *)

Definition at line 174 of file qgtkstyle_p.h.

◆ Ptr_gtk_file_chooser_add_filter

typedef void(* Ptr_gtk_file_chooser_add_filter) (GtkFileChooser *chooser, GtkFileFilter *filter)

Definition at line 227 of file qgtkstyle_p.h.

◆ Ptr_gtk_file_chooser_dialog_new

typedef GtkWidget*(* Ptr_gtk_file_chooser_dialog_new) (const gchar *title, GtkWindow *parent, GtkFileChooserAction action, const gchar *first_button_text,...)

Definition at line 232 of file qgtkstyle_p.h.

◆ Ptr_gtk_file_chooser_get_filename

typedef gchar*(* Ptr_gtk_file_chooser_get_filename) (GtkFileChooser *chooser)

Definition at line 230 of file qgtkstyle_p.h.

◆ Ptr_gtk_file_chooser_get_filenames

typedef GSList*(* Ptr_gtk_file_chooser_get_filenames) (GtkFileChooser *chooser)

Definition at line 231 of file qgtkstyle_p.h.

◆ Ptr_gtk_file_chooser_get_filter

typedef GtkFileFilter*(* Ptr_gtk_file_chooser_get_filter) (GtkFileChooser *chooser)

Definition at line 229 of file qgtkstyle_p.h.

◆ Ptr_gtk_file_chooser_set_current_folder

typedef gboolean(* Ptr_gtk_file_chooser_set_current_folder) (GtkFileChooser *, const gchar *)

Definition at line 223 of file qgtkstyle_p.h.

◆ Ptr_gtk_file_chooser_set_current_name

typedef void(* Ptr_gtk_file_chooser_set_current_name) (GtkFileChooser *, const gchar *)

Definition at line 237 of file qgtkstyle_p.h.

◆ Ptr_gtk_file_chooser_set_filename

typedef gboolean(* Ptr_gtk_file_chooser_set_filename) (GtkFileChooser *chooser, const gchar *name)

Definition at line 238 of file qgtkstyle_p.h.

◆ Ptr_gtk_file_chooser_set_filter

typedef void(* Ptr_gtk_file_chooser_set_filter) (GtkFileChooser *chooser, GtkFileFilter *filter)

Definition at line 228 of file qgtkstyle_p.h.

◆ Ptr_gtk_file_filter_add_pattern

typedef void(* Ptr_gtk_file_filter_add_pattern) (GtkFileFilter *filter, const gchar *pattern)

Definition at line 226 of file qgtkstyle_p.h.

◆ Ptr_gtk_file_filter_new

typedef GtkFileFilter*(* Ptr_gtk_file_filter_new) (void)

Definition at line 224 of file qgtkstyle_p.h.

◆ Ptr_gtk_file_filter_set_name

typedef void(* Ptr_gtk_file_filter_set_name) (GtkFileFilter *, const gchar *)

Definition at line 225 of file qgtkstyle_p.h.

◆ Ptr_gtk_fixed_new

typedef GtkWidget*(* Ptr_gtk_fixed_new) (void)

Definition at line 186 of file qgtkstyle_p.h.

◆ Ptr_gtk_frame_new

typedef GtkWidget*(* Ptr_gtk_frame_new) (const gchar *)

Definition at line 173 of file qgtkstyle_p.h.

◆ Ptr_gtk_hbutton_box_new

typedef GtkWidget*(* Ptr_gtk_hbutton_box_new) (void)

Definition at line 157 of file qgtkstyle_p.h.

◆ Ptr_gtk_hscale_new

typedef GtkWidget*(* Ptr_gtk_hscale_new) (GtkAdjustment *)

Definition at line 162 of file qgtkstyle_p.h.

◆ Ptr_gtk_hscrollbar_new

typedef GtkWidget*(* Ptr_gtk_hscrollbar_new) (GtkAdjustment *)

Definition at line 164 of file qgtkstyle_p.h.

◆ Ptr_gtk_icon_factory_lookup_default

typedef GtkIconSet*(* Ptr_gtk_icon_factory_lookup_default) (const gchar *)

Definition at line 182 of file qgtkstyle_p.h.

◆ Ptr_gtk_icon_set_render_icon

typedef GdkPixbuf*(* Ptr_gtk_icon_set_render_icon) (GtkIconSet *, GtkStyle *, GtkTextDirection, GtkStateType, GtkIconSize, GtkWidget *, const char *)

Definition at line 187 of file qgtkstyle_p.h.

◆ Ptr_gtk_icon_theme_get_default

typedef GtkIconTheme*(* Ptr_gtk_icon_theme_get_default) (void)

Definition at line 183 of file qgtkstyle_p.h.

◆ Ptr_gtk_init

typedef void(* Ptr_gtk_init) (int *, char ***)

Definition at line 139 of file qgtkstyle_p.h.

◆ Ptr_gtk_menu_bar_new

typedef GtkWidget*(* Ptr_gtk_menu_bar_new) (void)

Definition at line 150 of file qgtkstyle_p.h.

◆ Ptr_gtk_menu_item_new_with_label

typedef GtkWidget*(* Ptr_gtk_menu_item_new_with_label) (const gchar *)

Definition at line 147 of file qgtkstyle_p.h.

◆ Ptr_gtk_menu_item_set_submenu

typedef void(* Ptr_gtk_menu_item_set_submenu) (GtkMenuItem *, GtkWidget *)

Definition at line 206 of file qgtkstyle_p.h.

◆ Ptr_gtk_menu_new

typedef GtkWidget*(* Ptr_gtk_menu_new) (void)

Definition at line 151 of file qgtkstyle_p.h.

◆ Ptr_gtk_menu_shell_append

typedef void(* Ptr_gtk_menu_shell_append) (GtkMenuShell *, GtkWidget *)

Definition at line 214 of file qgtkstyle_p.h.

◆ Ptr_gtk_notebook_new

typedef GtkWidget*(* Ptr_gtk_notebook_new) (void)

Definition at line 160 of file qgtkstyle_p.h.

◆ Ptr_gtk_paint_arrow

typedef void(* Ptr_gtk_paint_arrow) (GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, GtkArrowType, gboolean, gint, gint, gint, gint)

Definition at line 198 of file qgtkstyle_p.h.

◆ Ptr_gtk_paint_box

typedef void(* Ptr_gtk_paint_box) (GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint)

Definition at line 190 of file qgtkstyle_p.h.

◆ Ptr_gtk_paint_box_gap

typedef void(* Ptr_gtk_paint_box_gap) (GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint, GtkPositionType, gint gap_x, gint gap_width)

Definition at line 191 of file qgtkstyle_p.h.

◆ Ptr_gtk_paint_check

typedef void(* Ptr_gtk_paint_check) (GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint)

Definition at line 189 of file qgtkstyle_p.h.

◆ Ptr_gtk_paint_expander

typedef void(* Ptr_gtk_paint_expander) (GtkStyle *, GdkWindow *, GtkStateType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, GtkExpanderStyle)

Definition at line 196 of file qgtkstyle_p.h.

◆ Ptr_gtk_paint_extension

typedef void(* Ptr_gtk_paint_extension) (GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint, GtkPositionType)

Definition at line 201 of file qgtkstyle_p.h.

◆ Ptr_gtk_paint_flat_box

typedef void(* Ptr_gtk_paint_flat_box) (GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint)

Definition at line 200 of file qgtkstyle_p.h.

◆ Ptr_gtk_paint_focus

typedef void(* Ptr_gtk_paint_focus) (GtkStyle *, GdkWindow *, GtkStateType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint)

Definition at line 193 of file qgtkstyle_p.h.

◆ Ptr_gtk_paint_handle

typedef void(* Ptr_gtk_paint_handle) (GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint, GtkOrientation)

Definition at line 197 of file qgtkstyle_p.h.

◆ Ptr_gtk_paint_hline

typedef void(* Ptr_gtk_paint_hline) (GtkStyle *, GdkWindow *, GtkStateType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint y)

Definition at line 204 of file qgtkstyle_p.h.

◆ Ptr_gtk_paint_option

typedef void(* Ptr_gtk_paint_option) (GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint)

Definition at line 199 of file qgtkstyle_p.h.

◆ Ptr_gtk_paint_resize_grip

typedef void(* Ptr_gtk_paint_resize_grip) (GtkStyle *, GdkWindow *, GtkStateType, const GdkRectangle *, GtkWidget *, const gchar *, GdkWindowEdge, gint, gint, gint, gint)

Definition at line 192 of file qgtkstyle_p.h.

◆ Ptr_gtk_paint_shadow

typedef void(* Ptr_gtk_paint_shadow) (GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint)

Definition at line 194 of file qgtkstyle_p.h.

◆ Ptr_gtk_paint_slider

typedef void(* Ptr_gtk_paint_slider) (GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint, GtkOrientation)

Definition at line 195 of file qgtkstyle_p.h.

◆ Ptr_gtk_paint_vline

typedef void(* Ptr_gtk_paint_vline) (GtkStyle *, GdkWindow *, GtkStateType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint)

Definition at line 205 of file qgtkstyle_p.h.

◆ Ptr_gtk_progress_bar_new

typedef GtkWidget*(* Ptr_gtk_progress_bar_new) (void)

Definition at line 161 of file qgtkstyle_p.h.

◆ Ptr_gtk_progress_configure

typedef void(* Ptr_gtk_progress_configure) (GtkProgress *, double, double, double)

Definition at line 179 of file qgtkstyle_p.h.

◆ Ptr_gtk_radio_button_new

typedef GtkWidget*(* Ptr_gtk_radio_button_new) (GSList *)

Definition at line 159 of file qgtkstyle_p.h.

◆ Ptr_gtk_range_get_adjustment

typedef GtkAdjustment*(* Ptr_gtk_range_get_adjustment) (GtkRange *)

Definition at line 177 of file qgtkstyle_p.h.

◆ Ptr_gtk_range_set_adjustment

typedef void(* Ptr_gtk_range_set_adjustment) (GtkRange *, GtkAdjustment *)

Definition at line 178 of file qgtkstyle_p.h.

◆ Ptr_gtk_range_set_inverted

typedef void(* Ptr_gtk_range_set_inverted) (GtkRange *, bool)

Definition at line 180 of file qgtkstyle_p.h.

◆ Ptr_gtk_rc_get_style_by_paths

typedef GtkStyle*(* Ptr_gtk_rc_get_style_by_paths) (GtkSettings *, const char *, const char *, GType)

Definition at line 218 of file qgtkstyle_p.h.

◆ Ptr_gtk_scrolled_window_new

typedef GtkWidget*(* Ptr_gtk_scrolled_window_new) (GtkAdjustment *, GtkAdjustment *)

Definition at line 166 of file qgtkstyle_p.h.

◆ Ptr_gtk_separator_menu_item_new

typedef GtkWidget*(* Ptr_gtk_separator_menu_item_new) (void)

Definition at line 148 of file qgtkstyle_p.h.

◆ Ptr_gtk_separator_tool_item_new

typedef GtkToolItem*(* Ptr_gtk_separator_tool_item_new) (void)

Definition at line 168 of file qgtkstyle_p.h.

◆ Ptr_gtk_settings_get_default

typedef GtkSettings*(* Ptr_gtk_settings_get_default) (void)

Definition at line 176 of file qgtkstyle_p.h.

◆ Ptr_gtk_spin_button_new

typedef GtkWidget*(* Ptr_gtk_spin_button_new) (GtkAdjustment *, double, int)

Definition at line 154 of file qgtkstyle_p.h.

◆ Ptr_gtk_statusbar_new

typedef GtkWidget*(* Ptr_gtk_statusbar_new) (void)

Definition at line 175 of file qgtkstyle_p.h.

◆ Ptr_gtk_style_attach

typedef GtkStyle*(* Ptr_gtk_style_attach) (GtkStyle *, GdkWindow *)

Definition at line 141 of file qgtkstyle_p.h.

◆ Ptr_gtk_tool_button_new

typedef GtkWidget*(* Ptr_gtk_tool_button_new) (GtkWidget *, const gchar *)

Definition at line 156 of file qgtkstyle_p.h.

◆ Ptr_gtk_toolbar_insert

typedef void(* Ptr_gtk_toolbar_insert) (GtkToolbar *toolbar, GtkToolItem *item, int pos)

Definition at line 213 of file qgtkstyle_p.h.

◆ Ptr_gtk_toolbar_new

typedef GtkWidget*(* Ptr_gtk_toolbar_new) (void)

Definition at line 153 of file qgtkstyle_p.h.

◆ Ptr_gtk_tree_view_append_column

typedef void(* Ptr_gtk_tree_view_append_column) (GtkTreeView *, GtkTreeViewColumn *)

Definition at line 188 of file qgtkstyle_p.h.

◆ Ptr_gtk_tree_view_column_new

typedef GtkTreeViewColumn*(* Ptr_gtk_tree_view_column_new) (void)

Definition at line 185 of file qgtkstyle_p.h.

◆ Ptr_gtk_tree_view_get_column

typedef GtkTreeViewColumn*(* Ptr_gtk_tree_view_get_column) (GtkTreeView *, gint)

Definition at line 171 of file qgtkstyle_p.h.

◆ Ptr_gtk_tree_view_new

typedef GtkWidget*(* Ptr_gtk_tree_view_new) (void)

Definition at line 170 of file qgtkstyle_p.h.

◆ Ptr_gtk_vscale_new

typedef GtkWidget*(* Ptr_gtk_vscale_new) (GtkAdjustment *)

Definition at line 163 of file qgtkstyle_p.h.

◆ Ptr_gtk_vscrollbar_new

typedef GtkWidget*(* Ptr_gtk_vscrollbar_new) (GtkAdjustment *)

Definition at line 165 of file qgtkstyle_p.h.

◆ Ptr_gtk_widget_destroy

typedef void(* Ptr_gtk_widget_destroy) (GtkWidget *)

Definition at line 142 of file qgtkstyle_p.h.

◆ Ptr_gtk_widget_get_type

typedef GtkType(* Ptr_gtk_widget_get_type) (void)

Definition at line 217 of file qgtkstyle_p.h.

◆ Ptr_gtk_widget_modify_color

typedef void(* Ptr_gtk_widget_modify_color) (GtkWidget *widget, GtkStateType state, const GdkColor *color)

Definition at line 145 of file qgtkstyle_p.h.

◆ Ptr_gtk_widget_path

typedef void(* Ptr_gtk_widget_path) (GtkWidget *, guint *, gchar **, gchar **)

Definition at line 211 of file qgtkstyle_p.h.

◆ Ptr_gtk_widget_realize

typedef void(* Ptr_gtk_widget_realize) (GtkWidget *)

Definition at line 143 of file qgtkstyle_p.h.

◆ Ptr_gtk_widget_set_default_direction

typedef void(* Ptr_gtk_widget_set_default_direction) (GtkTextDirection)

Definition at line 144 of file qgtkstyle_p.h.

◆ Ptr_gtk_widget_set_direction

typedef void(* Ptr_gtk_widget_set_direction) (GtkWidget *, GtkTextDirection)

Definition at line 210 of file qgtkstyle_p.h.

◆ Ptr_gtk_widget_size_allocate

typedef void(* Ptr_gtk_widget_size_allocate) (GtkWidget *, GtkAllocation *)

Definition at line 208 of file qgtkstyle_p.h.

◆ Ptr_gtk_widget_size_request

typedef void(* Ptr_gtk_widget_size_request) (GtkWidget *widget, GtkRequisition *requisition)

Definition at line 209 of file qgtkstyle_p.h.

◆ Ptr_gtk_widget_style_get

typedef void(* Ptr_gtk_widget_style_get) (GtkWidget *, const gchar *first_property_name,...)

Definition at line 184 of file qgtkstyle_p.h.

◆ Ptr_gtk_window_get_type

typedef GtkType(* Ptr_gtk_window_get_type) (void)

Definition at line 216 of file qgtkstyle_p.h.

◆ Ptr_gtk_window_new

typedef GtkWidget*(* Ptr_gtk_window_new) (GtkWindowType)

Definition at line 140 of file qgtkstyle_p.h.

◆ Ptr_pango_font_description_get_family

typedef const char*(* Ptr_pango_font_description_get_family) (const PangoFontDescription *)

Definition at line 221 of file qgtkstyle_p.h.

◆ Ptr_pango_font_description_get_size

typedef gint(* Ptr_pango_font_description_get_size) (const PangoFontDescription *)

Definition at line 219 of file qgtkstyle_p.h.

◆ Ptr_pango_font_description_get_style

typedef PangoStyle(* Ptr_pango_font_description_get_style) (const PangoFontDescription *desc)

Definition at line 222 of file qgtkstyle_p.h.

◆ Ptr_pango_font_description_get_weight

typedef PangoWeight(* Ptr_pango_font_description_get_weight) (const PangoFontDescription *)

Definition at line 220 of file qgtkstyle_p.h.

◆ XID

typedef unsigned long XID

Definition at line 71 of file qgtkstyle_p.h.

Enumeration Type Documentation

◆ GnomeIconLookupFlags

Enumerator
GNOME_ICON_LOOKUP_FLAGS_NONE 
GNOME_ICON_LOOKUP_FLAGS_EMBEDDING_TEXT 
GNOME_ICON_LOOKUP_FLAGS_SHOW_SMALL_IMAGES_AS_THEMSELVES 
GNOME_ICON_LOOKUP_FLAGS_ALLOW_SVG_AS_THEMSELVES 

Definition at line 292 of file qgtkstyle_p.h.

◆ GnomeIconLookupResultFlags

Enumerator
GNOME_ICON_LOOKUP_RESULT_FLAGS_NONE 
GNOME_ICON_LOOKUP_RESULT_FLAGS_THUMBNAIL 

Definition at line 299 of file qgtkstyle_p.h.

Function Documentation

◆ operator!=()

bool operator!= ( const QHashableLatin1Literal l1,
const QHashableLatin1Literal l2 
)
inline

Definition at line 127 of file qgtkstyle_p.h.

127 { return !operator==(l1, l2); }
bool operator==(const T *o, const QPointer< T > &p)
Definition: qpointer.h:87

◆ operator==()

bool operator== ( const QHashableLatin1Literal l1,
const QHashableLatin1Literal l2 
)

Definition at line 1142 of file qgtkstyle_p.cpp.

Referenced by operator!=().

1143 {
1144  return l1.size() == l2.size() || qstrcmp(l1.data(), l2.data()) == 0;
1145 }
const char * data() const
Definition: qgtkstyle_p.h:86
int qstrcmp(const char *str1, const char *str2)
A safe strcmp() function.
Definition: qbytearray.cpp:231

◆ qHash()

uint qHash ( const QHashableLatin1Literal key)

Definition at line 1148 of file qgtkstyle_p.cpp.

Referenced by operator!=().

1149 {
1150  int n = key.size();
1151  const uchar *p = reinterpret_cast<const uchar *>(key.data());
1152  uint h = 0;
1153  uint g;
1154 
1155  while (n--) {
1156  h = (h << 4) + *p++;
1157  if ((g = (h & 0xf0000000)) != 0)
1158  h ^= g >> 23;
1159  h &= ~g;
1160  }
1161  return h;
1162 }
const char * data() const
Definition: qgtkstyle_p.h:86
unsigned char uchar
Definition: qglobal.h:994
unsigned int uint
Definition: qglobal.h:996

Variable Documentation

◆ qt_filedialog_existing_directory_hook

Q_GUI_EXPORT _qt_filedialog_existing_directory_hook qt_filedialog_existing_directory_hook

◆ qt_filedialog_open_filename_hook

Q_GUI_EXPORT _qt_filedialog_open_filename_hook qt_filedialog_open_filename_hook

◆ qt_filedialog_open_filenames_hook

Q_GUI_EXPORT _qt_filedialog_open_filenames_hook qt_filedialog_open_filenames_hook

◆ qt_filedialog_save_filename_hook

Q_GUI_EXPORT _qt_filedialog_save_filename_hook qt_filedialog_save_filename_hook