56 #include <QtCore/qglobal.h> 57 #if !defined(QT_NO_STYLE_GTK) 59 #include <QtCore/qstring.h> 60 #include <QtCore/qstringbuilder.h> 61 #include <QtCore/qcoreapplication.h> 63 #include <QtGui/QFileDialog> 65 #include <QtGui/QGtkStyle> 66 #include <private/qcleanlooksstyle_p.h> 68 #undef signals // Collides with GTK stymbols 71 typedef unsigned long XID;
73 #undef GTK_OBJECT_FLAGS 74 #define GTK_OBJECT_FLAGS(obj)(((GtkObject*)(obj))->flags) 75 #define Q_GTK_IS_WIDGET(widget) widget && GTK_CHECK_TYPE ((widget), QGtkStylePrivate::gtk_widget_get_type()) 77 #define QLS(x) QLatin1String(x) 106 *const_cast<char **>(&
m_data) =
const_cast<char *
>(other.
m_data);
135 typedef GConfClient* (*Ptr_gconf_client_get_default)();
136 typedef char* (*Ptr_gconf_client_get_string)(GConfClient*,
const char*, GError **);
140 typedef GtkWidget* (*Ptr_gtk_window_new) (GtkWindowType);
141 typedef GtkStyle* (*Ptr_gtk_style_attach)(GtkStyle *, GdkWindow *);
146 typedef GtkWidget* (*Ptr_gtk_arrow_new)(GtkArrowType, GtkShadowType);
147 typedef GtkWidget* (*Ptr_gtk_menu_item_new_with_label)(
const gchar *);
148 typedef GtkWidget* (*Ptr_gtk_separator_menu_item_new)(void);
149 typedef GtkWidget* (*Ptr_gtk_check_menu_item_new_with_label)(
const gchar *);
150 typedef GtkWidget* (*Ptr_gtk_menu_bar_new)(void);
151 typedef GtkWidget* (*Ptr_gtk_menu_new)(void);
152 typedef GtkWidget* (*Ptr_gtk_combo_box_entry_new)(void);
153 typedef GtkWidget* (*Ptr_gtk_toolbar_new)(void);
154 typedef GtkWidget* (*Ptr_gtk_spin_button_new)(GtkAdjustment*, double, int);
155 typedef GtkWidget* (*Ptr_gtk_button_new)(void);
156 typedef GtkWidget* (*Ptr_gtk_tool_button_new)(GtkWidget *,
const gchar *);
157 typedef GtkWidget* (*Ptr_gtk_hbutton_box_new)(void);
158 typedef GtkWidget* (*Ptr_gtk_check_button_new)(void);
159 typedef GtkWidget* (*Ptr_gtk_radio_button_new)(GSList *);
160 typedef GtkWidget* (*Ptr_gtk_notebook_new)(void);
161 typedef GtkWidget* (*Ptr_gtk_progress_bar_new)(void);
162 typedef GtkWidget* (*Ptr_gtk_hscale_new)(GtkAdjustment*);
163 typedef GtkWidget* (*Ptr_gtk_vscale_new)(GtkAdjustment*);
164 typedef GtkWidget* (*Ptr_gtk_hscrollbar_new)(GtkAdjustment*);
165 typedef GtkWidget* (*Ptr_gtk_vscrollbar_new)(GtkAdjustment*);
166 typedef GtkWidget* (*Ptr_gtk_scrolled_window_new)(GtkAdjustment*, GtkAdjustment*);
167 typedef gchar* (*Ptr_gtk_check_version)(guint, guint, guint);
168 typedef GtkToolItem* (*Ptr_gtk_separator_tool_item_new) (void);
169 typedef GtkWidget* (*Ptr_gtk_entry_new)(void);
170 typedef GtkWidget* (*Ptr_gtk_tree_view_new)(void);
171 typedef GtkTreeViewColumn* (*Ptr_gtk_tree_view_get_column)(GtkTreeView *, gint);
172 typedef GtkWidget* (*Ptr_gtk_combo_box_new)(void);
173 typedef GtkWidget* (*Ptr_gtk_frame_new)(
const gchar *);
174 typedef GtkWidget* (*Ptr_gtk_expander_new)(
const gchar*);
175 typedef GtkWidget* (*Ptr_gtk_statusbar_new)(void);
176 typedef GtkSettings* (*Ptr_gtk_settings_get_default)(void);
177 typedef GtkAdjustment* (*Ptr_gtk_range_get_adjustment)(GtkRange *);
182 typedef GtkIconSet* (*Ptr_gtk_icon_factory_lookup_default) (
const gchar*);
183 typedef GtkIconTheme* (*Ptr_gtk_icon_theme_get_default) (void);
185 typedef GtkTreeViewColumn* (*Ptr_gtk_tree_view_column_new)(void);
186 typedef GtkWidget* (*Ptr_gtk_fixed_new)(void);
187 typedef GdkPixbuf* (*Ptr_gtk_icon_set_render_icon)(GtkIconSet *, GtkStyle *, GtkTextDirection, GtkStateType, GtkIconSize, GtkWidget *,
const char *);
189 typedef void (*
Ptr_gtk_paint_check) (GtkStyle*,GdkWindow*, GtkStateType, GtkShadowType,
const GdkRectangle *, GtkWidget *,
const gchar *, gint , gint , gint , gint);
190 typedef void (*
Ptr_gtk_paint_box) (GtkStyle*,GdkWindow*, GtkStateType, GtkShadowType,
const GdkRectangle *, GtkWidget *,
const gchar *, gint , gint , gint , gint);
191 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);
192 typedef void (*
Ptr_gtk_paint_resize_grip) (GtkStyle*,GdkWindow*, GtkStateType,
const GdkRectangle *, GtkWidget *,
const gchar *, GdkWindowEdge, gint , gint , gint , gint);
193 typedef void (*
Ptr_gtk_paint_focus) (GtkStyle*,GdkWindow*, GtkStateType,
const GdkRectangle *, GtkWidget *,
const gchar *, gint , gint , gint , gint);
194 typedef void (*
Ptr_gtk_paint_shadow) (GtkStyle*,GdkWindow*, GtkStateType, GtkShadowType,
const GdkRectangle *, GtkWidget *,
const gchar *, gint , gint , gint , gint);
195 typedef void (*
Ptr_gtk_paint_slider) (GtkStyle*,GdkWindow*, GtkStateType, GtkShadowType,
const GdkRectangle *, GtkWidget *,
const gchar *, gint , gint , gint , gint, GtkOrientation);
196 typedef void (*
Ptr_gtk_paint_expander) (GtkStyle*,GdkWindow*, GtkStateType,
const GdkRectangle *, GtkWidget *,
const gchar *, gint , gint , GtkExpanderStyle );
197 typedef void (*
Ptr_gtk_paint_handle) (GtkStyle*,GdkWindow*, GtkStateType, GtkShadowType,
const GdkRectangle *, GtkWidget *,
const gchar *, gint , gint , gint , gint, GtkOrientation);
198 typedef void (*
Ptr_gtk_paint_arrow) (GtkStyle*,GdkWindow*, GtkStateType, GtkShadowType,
const GdkRectangle *, GtkWidget *,
const gchar *, GtkArrowType, gboolean, gint , gint , gint , gint);
199 typedef void (*
Ptr_gtk_paint_option) (GtkStyle*,GdkWindow*, GtkStateType, GtkShadowType,
const GdkRectangle *, GtkWidget *,
const gchar *, gint , gint , gint , gint);
200 typedef void (*
Ptr_gtk_paint_flat_box) (GtkStyle*,GdkWindow*, GtkStateType, GtkShadowType,
const GdkRectangle *, GtkWidget *,
const gchar *, gint , gint , gint , gint);
201 typedef void (*
Ptr_gtk_paint_extension) (GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType,
const GdkRectangle *, GtkWidget *,
const gchar *, gint, gint, gint, gint, GtkPositionType);
203 typedef GtkObject* (*Ptr_gtk_adjustment_new) (double, double, double, double, double, double);
204 typedef void (*
Ptr_gtk_paint_hline) (GtkStyle *, GdkWindow *, GtkStateType,
const GdkRectangle *, GtkWidget *,
const gchar *, gint, gint, gint y);
205 typedef void (*
Ptr_gtk_paint_vline) (GtkStyle *, GdkWindow *, GtkStateType,
const GdkRectangle *, GtkWidget *,
const gchar *, gint, gint, gint);
218 typedef GtkStyle* (*Ptr_gtk_rc_get_style_by_paths) (GtkSettings *,
const char *,
const char *, GType);
221 typedef const char* (*Ptr_pango_font_description_get_family) (
const PangoFontDescription *);
224 typedef GtkFileFilter* (*Ptr_gtk_file_filter_new)(void);
229 typedef GtkFileFilter* (*Ptr_gtk_file_chooser_get_filter)(GtkFileChooser *chooser);
230 typedef gchar* (*Ptr_gtk_file_chooser_get_filename)(GtkFileChooser *chooser);
231 typedef GSList* (*Ptr_gtk_file_chooser_get_filenames)(GtkFileChooser *chooser);
232 typedef GtkWidget* (*Ptr_gtk_file_chooser_dialog_new)(
const gchar *title,
234 GtkFileChooserAction action,
235 const gchar *first_button_text,
242 typedef guchar* (*Ptr_gdk_pixbuf_get_pixels) (
const GdkPixbuf *pixbuf);
246 typedef GdkPixbuf* (*Ptr_gdk_pixbuf_get_from_drawable) (GdkPixbuf *dest, GdkDrawable *src,
247 GdkColormap *
cmap,
int src_x,
248 int src_y,
int dest_x,
int dest_y,
249 int width,
int height);
250 typedef GdkPixmap* (*Ptr_gdk_pixmap_new) (GdkDrawable *drawable, gint width, gint height, gint depth);
251 typedef GdkPixbuf* (*Ptr_gdk_pixbuf_new) (GdkColorspace colorspace, gboolean has_alpha,
252 int bits_per_sample,
int width,
int height);
254 gboolean filled, gint x, gint y, gint width, gint height);
260 typedef Display* (*Ptr_gdk_x11_drawable_get_xdisplay) ( GdkDrawable *);
272 QFileDialog::Options options);
304 struct GnomeThumbnailFactory;
306 typedef char* (*Ptr_gnome_icon_lookup_sync) (
307 GtkIconTheme *icon_theme,
308 GnomeThumbnailFactory *,
309 const char *file_uri,
310 const char *custom_icon,
326 virtual void resolveGtk()
const;
327 virtual void initGtkMenu()
const;
328 virtual void initGtkTreeview()
const;
329 virtual void initGtkWidgets()
const;
331 static void cleanupGtkWidgets();
333 static bool isKDE4Session();
334 void applyCustomPaletteHash();
335 static QFont getThemeFont();
342 static QString getIconThemeName();
343 virtual int getSpinboxArrowSize()
const;
345 static void setupGtkFileChooser(GtkWidget* gtkFileChooser,
QWidget *parent,
347 QFileDialog::Options options,
bool isSaveDialog =
false,
351 QString *selectedFilter, QFileDialog::Options options);
353 QString *selectedFilter, QFileDialog::Options options);
356 QString *selectedFilter, QFileDialog::Options options);
497 widgetMap =
new WidgetMap();
505 virtual GtkWidget* getTextColorWidget()
const;
506 static void setupGtkWidget(GtkWidget*
widget);
507 static void addWidgetToMap(GtkWidget* widget);
508 static void addAllSubWidgets(GtkWidget *widget, gpointer v = 0);
509 static void addWidget(GtkWidget *widget);
531 #endif // !QT_NO_STYLE_GTK 532 #endif // QGTKSTYLE_P_H Q_GUI_EXPORT _qt_filedialog_open_filenames_hook qt_filedialog_open_filenames_hook
static Ptr_gdk_drawable_get_depth gdk_drawable_get_depth
static void destroyWidgetMap()
static Ptr_gtk_widget_path gtk_widget_path
static Ptr_gtk_window_new gtk_window_new
char *(* Ptr_gnome_icon_lookup_sync)(GtkIconTheme *icon_theme, GnomeThumbnailFactory *, const char *file_uri, const char *custom_icon, GnomeIconLookupFlags flags, GnomeIconLookupResultFlags *result)
int(* Ptr_gdk_pixbuf_get_height)(const GdkPixbuf *pixbuf)
GdkPixbuf *(* Ptr_gtk_icon_set_render_icon)(GtkIconSet *, GtkStyle *, GtkTextDirection, GtkStateType, GtkIconSize, GtkWidget *, const char *)
static Ptr_gtk_file_chooser_get_filter gtk_file_chooser_get_filter
PangoWeight(* Ptr_pango_font_description_get_weight)(const PangoFontDescription *)
static Ptr_gdk_draw_rectangle gdk_draw_rectangle
QString(* _qt_filedialog_existing_directory_hook)(QWidget *parent, const QString &caption, const QString &dir, QFileDialog::Options options)
void(* Ptr_gdk_draw_rectangle)(GdkDrawable *drawable, GdkGC *gc, gboolean filled, gint x, gint y, gint width, gint height)
static QList< QGtkStylePrivate * > instances
static Ptr_gtk_widget_get_type gtk_widget_get_type
static Ptr_gtk_entry_new gtk_entry_new
XID(* Ptr_gdk_x11_drawable_get_xid)(GdkDrawable *)
GtkStyle *(* Ptr_gtk_style_attach)(GtkStyle *, GdkWindow *)
static Ptr_pango_font_description_get_style pango_font_description_get_style
static Ptr_gconf_client_get_string gconf_client_get_string
#define QT_END_NAMESPACE
This macro expands to.
QHashableLatin1Literal(const QHashableLatin1Literal &other)
GtkObject *(* Ptr_gtk_adjustment_new)(double, double, double, double, double, double)
static Ptr_gconf_client_get_default gconf_client_get_default
QPointer< QWidget > widget
void(* Ptr_gtk_paint_box)(GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint)
gchar *(* Ptr_gtk_check_version)(guint, guint, guint)
void(* Ptr_gtk_widget_size_allocate)(GtkWidget *, GtkAllocation *)
void(* Ptr_gtk_file_chooser_set_filter)(GtkFileChooser *chooser, GtkFileFilter *filter)
static Ptr_gtk_file_filter_new gtk_file_filter_new
static WidgetMap * widgetMap
static Ptr_gtk_combo_box_entry_new gtk_combo_box_entry_new
Q_GUI_EXPORT _qt_filedialog_existing_directory_hook qt_filedialog_existing_directory_hook
static Ptr_gtk_scrolled_window_new gtk_scrolled_window_new
static Ptr_gdk_x11_drawable_get_xid gdk_x11_drawable_get_xid
void(* Ptr_gtk_paint_slider)(GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint, GtkOrientation)
static Ptr_gtk_style_attach gtk_style_attach
static Ptr_gtk_expander_new gtk_expander_new
static Ptr_gtk_paint_check gtk_paint_check
static Ptr_gtk_widget_set_direction gtk_widget_set_direction
void qAddPostRoutine(QtCleanUpFunction p)
GtkWidget *(* Ptr_gtk_vscale_new)(GtkAdjustment *)
GtkWidget *(* Ptr_gtk_arrow_new)(GtkArrowType, GtkShadowType)
static Ptr_gtk_range_set_inverted gtk_range_set_inverted
static Ptr_gtk_progress_bar_new gtk_progress_bar_new
void(* Ptr_gtk_file_filter_add_pattern)(GtkFileFilter *filter, const gchar *pattern)
GtkWidget *(* Ptr_gtk_combo_box_entry_new)(void)
static Ptr_gtk_menu_new gtk_menu_new
QGtkStyleFilter(QGtkStylePrivate *sp)
void(* Ptr_gdk_drawable_unref)(GdkDrawable *)
static Ptr_gtk_widget_size_allocate gtk_widget_size_allocate
static Ptr_gtk_widget_destroy gtk_widget_destroy
PangoStyle(* Ptr_pango_font_description_get_style)(const PangoFontDescription *desc)
void(* Ptr_gtk_paint_option)(GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint)
GtkWidget *(* Ptr_gtk_tool_button_new)(GtkWidget *, const gchar *)
GtkWidget *(* Ptr_gtk_file_chooser_dialog_new)(const gchar *title, GtkWindow *parent, GtkFileChooserAction action, const gchar *first_button_text,...)
static Ptr_gtk_file_chooser_get_filename gtk_file_chooser_get_filename
char *(* Ptr_gconf_client_get_string)(GConfClient *, const char *, GError **)
static Ptr_gdk_pixbuf_get_width gdk_pixbuf_get_width
static Ptr_gtk_fixed_new gtk_fixed_new
static Ptr_gtk_paint_vline gtk_paint_vline
static Ptr_gtk_range_get_adjustment gtk_range_get_adjustment
void(* Ptr_gdk_color_free)(const GdkColor *)
GtkWidget *(* Ptr_gtk_menu_item_new_with_label)(const gchar *)
static Ptr_gtk_separator_menu_item_new gtk_separator_menu_item_new
static Ptr_gtk_container_get_type gtk_container_get_type
static Ptr_gconf_client_get_bool gconf_client_get_bool
GtkFileFilter *(* Ptr_gtk_file_filter_new)(void)
static Ptr_gtk_widget_modify_color gtk_widget_modify_bg
static Ptr_gdk_pixmap_new gdk_pixmap_new
static Ptr_gtk_file_filter_set_name gtk_file_filter_set_name
GtkIconTheme *(* Ptr_gtk_icon_theme_get_default)(void)
void(* Ptr_gtk_file_chooser_add_filter)(GtkFileChooser *chooser, GtkFileFilter *filter)
static Ptr_gtk_paint_arrow gtk_paint_arrow
static Ptr_gtk_paint_option gtk_paint_option
static Ptr_gtk_menu_bar_new gtk_menu_bar_new
GtkWidget *(* Ptr_gtk_statusbar_new)(void)
static Ptr_gtk_menu_shell_append gtk_menu_shell_append
static Ptr_gtk_window_get_type gtk_window_get_type
const char * data() const
void(* Ptr_gtk_menu_shell_append)(GtkMenuShell *, GtkWidget *)
The QString class provides a Unicode character string.
QHashableLatin1Literal(const char *str, int length)
bool operator!=(const QHashableLatin1Literal &l1, const QHashableLatin1Literal &l2)
gint(* Ptr_pango_font_description_get_size)(const PangoFontDescription *)
The QHash class is a template class that provides a hash-table-based dictionary.
GtkAdjustment *(* Ptr_gtk_range_get_adjustment)(GtkRange *)
The QObject class is the base class of all Qt objects.
void(* Ptr_gtk_progress_configure)(GtkProgress *, double, double, double)
static Ptr_gtk_toolbar_insert gtk_toolbar_insert
void(* Ptr_gtk_paint_hline)(GtkStyle *, GdkWindow *, GtkStateType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint y)
GtkType(* Ptr_gtk_window_get_type)(void)
GtkType(* Ptr_gtk_container_get_type)(void)
static Ptr_gtk_paint_box gtk_paint_box
static Ptr_gtk_tree_view_column_new gtk_tree_view_column_new
QHash< QHashableLatin1Literal, GtkWidget * > WidgetMap
QGtkStylePrivate * stylePrivate
static Ptr_gtk_paint_handle gtk_paint_handle
static Ptr_gtk_file_filter_add_pattern gtk_file_filter_add_pattern
static Ptr_gdk_x11_drawable_get_xdisplay gdk_x11_drawable_get_xdisplay
static QHashableLatin1Literal fromData(const char *str)
GtkTreeViewColumn *(* Ptr_gtk_tree_view_column_new)(void)
static Ptr_gtk_menu_item_new_with_label gtk_menu_item_new_with_label
Q_GUI_EXPORT _qt_filedialog_save_filename_hook qt_filedialog_save_filename_hook
void(* Ptr_gtk_paint_shadow)(GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint)
static Ptr_gtk_widget_style_get gtk_widget_style_get
static Ptr_gtk_paint_extension gtk_paint_extension
GtkWidget *(* Ptr_gtk_hscrollbar_new)(GtkAdjustment *)
const char *(* Ptr_pango_font_description_get_family)(const PangoFontDescription *)
static Ptr_pango_font_description_get_size pango_font_description_get_size
GtkWidget *(* Ptr_gtk_menu_new)(void)
bool operator==(const QHashableLatin1Literal &l1, const QHashableLatin1Literal &l2)
static Ptr_gtk_combo_box_new gtk_combo_box_new
gboolean(* Ptr_gnome_vfs_init)(void)
void(* Ptr_gtk_file_chooser_set_current_name)(GtkFileChooser *, const gchar *)
static Ptr_gdk_pixbuf_get_height gdk_pixbuf_get_height
GtkWidget *(* Ptr_gtk_frame_new)(const gchar *)
GtkWidget *(* Ptr_gtk_expander_new)(const gchar *)
static Ptr_gtk_dialog_run gtk_dialog_run
static Ptr_gdk_pixbuf_new gdk_pixbuf_new
static Ptr_gtk_paint_expander gtk_paint_expander
GtkWidget *(* Ptr_gtk_radio_button_new)(GSList *)
#define QT_BEGIN_NAMESPACE
This macro expands to.
static Ptr_gtk_file_chooser_set_filename gtk_file_chooser_set_filename
void(* Ptr_gtk_paint_vline)(GtkStyle *, GdkWindow *, GtkStateType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint)
static Ptr_gdk_color_free gdk_color_free
static Ptr_gtk_icon_set_render_icon gtk_icon_set_render_icon
void(* Ptr_gtk_paint_arrow)(GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, GtkArrowType, gboolean, gint, gint, gint, gint)
static Ptr_gtk_tree_view_get_column gtk_tree_view_get_column
static Ptr_gtk_rc_get_style_by_paths gtk_rc_get_style_by_paths
GtkIconSet *(* Ptr_gtk_icon_factory_lookup_default)(const gchar *)
static Ptr_gtk_spin_button_new gtk_spin_button_new
QHashableLatin1Literal(const char(&str)[N])
static Ptr_gtk_paint_focus gtk_paint_focus
void(* Ptr_gtk_widget_set_default_direction)(GtkTextDirection)
GtkSettings *(* Ptr_gtk_settings_get_default)(void)
void(* Ptr_gtk_paint_resize_grip)(GtkStyle *, GdkWindow *, GtkStateType, const GdkRectangle *, GtkWidget *, const gchar *, GdkWindowEdge, gint, gint, gint, gint)
static Ptr_gtk_hbutton_box_new gtk_hbutton_box_new
GtkWidget *(* Ptr_gtk_window_new)(GtkWindowType)
static Ptr_gtk_notebook_new gtk_notebook_new
void(* Ptr_gtk_border_free)(GtkBorder *)
GtkType(* Ptr_gtk_widget_get_type)(void)
The QStringList class provides a list of strings.
void(* Ptr_gdk_x11_window_set_user_time)(GdkWindow *window, guint32)
GtkWidget *(* Ptr_gtk_vscrollbar_new)(GtkAdjustment *)
void(* Ptr_gtk_paint_handle)(GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint, GtkOrientation)
static Ptr_gtk_button_new gtk_button_new
GtkWidget *(* Ptr_gtk_check_menu_item_new_with_label)(const gchar *)
GtkWidget *(* Ptr_gtk_progress_bar_new)(void)
static Ptr_gdk_pixbuf_get_pixels gdk_pixbuf_get_pixels
static Ptr_gtk_paint_shadow gtk_paint_shadow
GSList *(* Ptr_gtk_file_chooser_get_filenames)(GtkFileChooser *chooser)
int(* Ptr_gdk_pixbuf_get_width)(const GdkPixbuf *pixbuf)
void(* Ptr_gtk_container_forall)(GtkContainer *, GtkCallback, gpointer)
static Ptr_gtk_adjustment_new gtk_adjustment_new
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)
void(* Ptr_gtk_tree_view_append_column)(GtkTreeView *, GtkTreeViewColumn *)
static Ptr_gdk_x11_window_set_user_time gdk_x11_window_set_user_time
void(* Ptr_gtk_menu_item_set_submenu)(GtkMenuItem *, GtkWidget *)
static Ptr_gtk_widget_realize gtk_widget_realize
bool(* Ptr_gconf_client_get_bool)(GConfClient *, const char *, GError **)
static Ptr_gtk_hscrollbar_new gtk_hscrollbar_new
static Ptr_gtk_tree_view_append_column gtk_tree_view_append_column
void(* Ptr_gtk_widget_style_get)(GtkWidget *, const gchar *first_property_name,...)
void(* Ptr_gtk_paint_check)(GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint)
gboolean(* Ptr_gtk_file_chooser_set_current_folder)(GtkFileChooser *, const gchar *)
static Ptr_gtk_widget_size_request gtk_widget_size_request
static Ptr_gtk_file_chooser_add_filter gtk_file_chooser_add_filter
QString(* _qt_filedialog_save_filename_hook)(QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFileDialog::Options options)
static Ptr_gtk_radio_button_new gtk_radio_button_new
static Ptr_gtk_statusbar_new gtk_statusbar_new
static Ptr_gtk_check_version gtk_check_version
static Ptr_gtk_range_set_adjustment gtk_range_set_adjustment
static Ptr_gtk_vscrollbar_new gtk_vscrollbar_new
static Ptr_gtk_paint_flat_box gtk_paint_flat_box
static Ptr_gtk_paint_box_gap gtk_paint_box_gap
static Ptr_gtk_paint_hline gtk_paint_hline
gboolean(* Ptr_gtk_file_chooser_set_filename)(GtkFileChooser *chooser, const gchar *name)
static Ptr_gtk_separator_tool_item_new gtk_separator_tool_item_new
GtkWidget *(* Ptr_gtk_separator_menu_item_new)(void)
static Ptr_gtk_border_free gtk_border_free
static Ptr_gtk_container_forall gtk_container_forall
void(* Ptr_gtk_range_set_adjustment)(GtkRange *, GtkAdjustment *)
static Ptr_gtk_icon_factory_lookup_default gtk_icon_factory_lookup_default
QHashableLatin1Literal & operator=(const QHashableLatin1Literal &other)
static Ptr_gtk_paint_resize_grip gtk_paint_resize_grip
GtkTreeViewColumn *(* Ptr_gtk_tree_view_get_column)(GtkTreeView *, gint)
static Ptr_gtk_widget_set_default_direction gtk_widget_set_default_direction
gchar *(* Ptr_gtk_file_chooser_get_filename)(GtkFileChooser *chooser)
void(* Ptr_gdk_pixbuf_unref)(GdkPixbuf *)
uint qstrlen(const char *str)
static Ptr_gtk_check_menu_item_new_with_label gtk_check_menu_item_new_with_label
static Ptr_gtk_frame_new gtk_frame_new
GtkWidget *(* Ptr_gtk_hbutton_box_new)(void)
#define Q_DECLARE_PUBLIC(Class)
void(* Ptr_gtk_paint_flat_box)(GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint)
GtkWidget *(* Ptr_gtk_combo_box_new)(void)
GtkWidget *(* Ptr_gtk_spin_button_new)(GtkAdjustment *, double, int)
static Ptr_gtk_check_button_new gtk_check_button_new
static Ptr_gtk_settings_get_default gtk_settings_get_default
static Ptr_gtk_widget_modify_color gtk_widget_modify_fg
static Ptr_gtk_adjustment_configure gtk_adjustment_configure
static Ptr_gtk_file_chooser_set_filter gtk_file_chooser_set_filter
The QFont class specifies a font used for drawing text.
Q_GUI_EXPORT _qt_filedialog_open_filename_hook qt_filedialog_open_filename_hook
static Ptr_gnome_icon_lookup_sync gnome_icon_lookup_sync
static QString fromLatin1(const char *, int size=-1)
Returns a QString initialized with the first size characters of the Latin-1 string str...
void(* Ptr_gtk_paint_expander)(GtkStyle *, GdkWindow *, GtkStateType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, GtkExpanderStyle)
GtkStyle *(* Ptr_gtk_rc_get_style_by_paths)(GtkSettings *, const char *, const char *, GType)
GtkWidget *(* Ptr_gtk_tree_view_new)(void)
static Ptr_gtk_vscale_new gtk_vscale_new
GtkWidget *(* Ptr_gtk_scrolled_window_new)(GtkAdjustment *, GtkAdjustment *)
static Ptr_gtk_progress_configure gtk_progress_configure
void(* Ptr_gtk_init)(int *, char ***)
gint(* Ptr_gtk_dialog_run)(GtkDialog *)
GtkWidget *(* Ptr_gtk_toolbar_new)(void)
void(* Ptr_gtk_paint_extension)(GtkStyle *, GdkWindow *, GtkStateType, GtkShadowType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint, GtkPositionType)
static Ptr_gtk_file_chooser_set_current_folder gtk_file_chooser_set_current_folder
static Ptr_pango_font_description_get_weight pango_font_description_get_weight
GtkToolItem *(* Ptr_gtk_separator_tool_item_new)(void)
QFuture< void > filter(Sequence &sequence, FilterFunction filterFunction)
void(* Ptr_gtk_container_add)(GtkContainer *container, GtkWidget *widget)
static Ptr_gdk_pixbuf_unref gdk_pixbuf_unref
static Ptr_gtk_file_chooser_get_filenames gtk_file_chooser_get_filenames
void(* Ptr_gtk_widget_modify_color)(GtkWidget *widget, GtkStateType state, const GdkColor *color)
Display *(* Ptr_gdk_x11_drawable_get_xdisplay)(GdkDrawable *)
uint qHash(const QHashableLatin1Literal &key)
GtkWidget *(* Ptr_gtk_entry_new)(void)
GtkWidget *(* Ptr_gtk_button_new)(void)
static Ptr_gtk_tool_button_new gtk_tool_button_new
static Ptr_gtk_menu_item_set_submenu gtk_menu_item_set_submenu
GtkFileFilter *(* Ptr_gtk_file_chooser_get_filter)(GtkFileChooser *chooser)
static Ptr_gdk_pixbuf_get_from_drawable gdk_pixbuf_get_from_drawable
static Ptr_gtk_hscale_new gtk_hscale_new
GdkPixmap *(* Ptr_gdk_pixmap_new)(GdkDrawable *drawable, gint width, gint height, gint depth)
static Ptr_gdk_drawable_unref gdk_drawable_unref
static Ptr_gtk_toolbar_new gtk_toolbar_new
GtkWidget *(* Ptr_gtk_check_button_new)(void)
QString(* _qt_filedialog_open_filename_hook)(QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFileDialog::Options options)
static Ptr_gtk_init gtk_init
static Ptr_gtk_paint_slider gtk_paint_slider
static Ptr_gnome_vfs_init gnome_vfs_init
void(* Ptr_gtk_widget_set_direction)(GtkWidget *, GtkTextDirection)
QStringList(* _qt_filedialog_open_filenames_hook)(QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFileDialog::Options options)
static Ptr_gtk_container_add gtk_container_add
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)
void(* Ptr_gtk_toolbar_insert)(GtkToolbar *toolbar, GtkToolItem *item, int pos)
The QFileInfo class provides system-independent file information.
void(* Ptr_gtk_paint_focus)(GtkStyle *, GdkWindow *, GtkStateType, const GdkRectangle *, GtkWidget *, const gchar *, gint, gint, gint, gint)
static Ptr_gtk_arrow_new gtk_arrow_new
The QEvent class is the base class of all event classes.
gint(* Ptr_gdk_drawable_get_depth)(GdkDrawable *)
GtkWidget *(* Ptr_gtk_fixed_new)(void)
GdkPixbuf *(* Ptr_gdk_pixbuf_new)(GdkColorspace colorspace, gboolean has_alpha, int bits_per_sample, int width, int height)
static WidgetMap * gtkWidgetMap()
GnomeIconLookupResultFlags
void(* Ptr_gtk_widget_size_request)(GtkWidget *widget, GtkRequisition *requisition)
static bool isThemeAvailable()
GtkWidget *(* Ptr_gtk_notebook_new)(void)
void(* Ptr_gtk_widget_destroy)(GtkWidget *)
static Ptr_gtk_icon_theme_get_default gtk_icon_theme_get_default
The QMap class is a template class that provides a skip-list-based dictionary.
void(* Ptr_gtk_range_set_inverted)(GtkRange *, bool)
static Ptr_gtk_file_chooser_set_current_name gtk_file_chooser_set_current_name
guchar *(* Ptr_gdk_pixbuf_get_pixels)(const GdkPixbuf *pixbuf)
void(* Ptr_gtk_widget_path)(GtkWidget *, guint *, gchar **, gchar **)
GConfClient *(* Ptr_gconf_client_get_default)()
GtkWidget *(* Ptr_gtk_hscale_new)(GtkAdjustment *)
The QList class is a template class that provides lists.
static Ptr_pango_font_description_get_family pango_font_description_get_family
static Ptr_gtk_tree_view_new gtk_tree_view_new
static Ptr_gtk_file_chooser_dialog_new gtk_file_chooser_dialog_new
The QGtkStyle class provides a widget style rendered by GTK+.
GtkWidget *(* Ptr_gtk_menu_bar_new)(void)
void(* Ptr_gtk_widget_realize)(GtkWidget *)
void(* Ptr_gtk_adjustment_configure)(GtkAdjustment *, double, double, double, double, double, double)
The QPalette class contains color groups for each widget state.
The QIcon class provides scalable icons in different modes and states.
void(* Ptr_gtk_file_filter_set_name)(GtkFileFilter *, const gchar *)