Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qgtk3theme.cpp File Reference

(c3f00ce3e34d5cfa3ee4227a3a453448ab2f8b31)

#include "qgtk3theme.h"
#include "qgtk3dialoghelpers.h"
#include "qgtk3menu.h"
#include <QVariant>
#include <QGuiApplication>
#include <qpa/qwindowsysteminterface.h>
#include <gtk/gtk.h>
+ Include dependency graph for qgtk3theme.cpp:

Go to the source code of this file.

Macros

#define SETTING_CONNECT(setting)   g_signal_connect(settings, "notify::" setting, G_CALLBACK(notifyThemeChanged), nullptr)
 

Functions

template<typename T >
static T gtkSetting (const gchar *propertyName)
 
static QString gtkSetting (const gchar *propertyName)
 
void gtkMessageHandler (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer unused_data)
 
static QVariant gtkGetLongPressTime ()
 

Macro Definition Documentation

◆ SETTING_CONNECT

#define SETTING_CONNECT ( setting)    g_signal_connect(settings, "notify::" setting, G_CALLBACK(notifyThemeChanged), nullptr)

Function Documentation

◆ gtkGetLongPressTime()

static QVariant gtkGetLongPressTime ( )
inlinestatic

Definition at line 110 of file qgtk3theme.cpp.

Referenced by QGtk3Theme::themeHint().

+ Here is the caller graph for this function:

◆ gtkMessageHandler()

void gtkMessageHandler ( const gchar * log_domain,
GLogLevelFlags log_level,
const gchar * message,
gpointer unused_data )

Definition at line 41 of file qgtk3theme.cpp.

Referenced by QGtk3Theme::QGtk3Theme().

+ Here is the caller graph for this function:

◆ gtkSetting() [1/2]

template<typename T >
static T gtkSetting ( const gchar * propertyName)
static

Definition at line 25 of file qgtk3theme.cpp.

References settings.

Referenced by QGtk3Theme::gtkFontName(), and QGtk3Theme::themeHint().

+ Here is the caller graph for this function:

◆ gtkSetting() [2/2]

static QString gtkSetting ( const gchar * propertyName)
static

Definition at line 33 of file qgtk3theme.cpp.

References QString::fromUtf8(), and str.

+ Here is the call graph for this function: