37class QgsProcessingRecentAlgorithmLog;
38class QgsWindowManagerInterface;
59class GUI_EXPORT
QgsGui :
public QObject
70 UseCrsOfFirstLayerAdded = 1,
73 Q_ENUM( ProjectCrsBehavior )
91 SIP_SKIP static QgsNative *nativePlatformInterface();
158 static QgsProcessingRecentAlgorithmLog *processingRecentAlgorithmLog();
226 static
void enableAutoGeometryRestore( QWidget *widget, const QString &key = QString() );
233 static QgsWindowManagerInterface *windowManager();
240 static
void setWindowManager( QgsWindowManagerInterface *manager
SIP_TRANSFER );
248 HigMenuTextIsTitleCase = 1 << 0,
249 HigDialogTitleIsTitleCase = 1 << 1
251 Q_DECLARE_FLAGS( HigFlags, HigFlag )
257 static QgsGui::HigFlags higFlags();
266 static QColor sampleColor( QPoint point );
273 static QScreen *findScreenAt( QPoint point );
284 static bool pythonMacroAllowed(
void ( *lambda )() =
nullptr,
QgsMessageBar *messageBar =
nullptr )
SIP_SKIP;
302 void optionsChanged();
311 QgsNative *mNative =
nullptr;
320 QgsProcessingRecentAlgorithmLog *mProcessingRecentAlgorithmLog =
nullptr;
332 std::
unique_ptr< QgsWindowManagerInterface > mWindowManager;
Registry of available annotation item GUI behavior.
A registry of color schemes for use in QgsCodeEditor widgets.
This class keeps a list of data item GUI providers that may affect how QgsDataItems behave within the...
QgsGui is a singleton class containing various registry and other global members related to GUI class...
HigFlag
HIG flags, which indicate the Human Interface Guidelines for the current platform.
ProjectCrsBehavior
Defines the behavior to use when setting the CRS for a newly created project.
The QgsHistoryProviderRegistry is a registry for objects which track user history (i....
Registry of available layout item GUI behavior.
This class tracks map layer actions.
A bar for displaying non-blocking messages to the user.
The QgsProcessingGuiRegistry is a home for widgets for processing configuration widgets.
A registry / canonical manager of GUI parts of project storage backends.
A registry / canonical manager of GUI parts of data providers.
Registry of available sensor GUI behavior.
QgsSettingsRegistryGui is used for settings introspection and collects all QgsSettingsEntry instances...
Shortcuts manager is a class that contains a list of QActions and QShortcuts that have been registere...
This class keeps a list of source select providers that may add items to the QgsDataSourceManagerDial...
This class keeps a list of subset string editor providers.
std::unique_ptr< GEOSGeometry, GeosDeleter > unique_ptr
Scoped GEOS pointer.
#define SIP_KEEPREFERENCE
Q_DECLARE_OPERATORS_FOR_FLAGS(QgsField::ConfigurationFlags) CORE_EXPORT QDataStream &operator<<(QDataStream &out
Writes the field to stream out. QGIS version compatibility is not guaranteed.