37class QgsProcessingRecentAlgorithmLog;
38class QgsWindowManagerInterface;
57class GUI_EXPORT
QgsGui :
public QObject
68 UseCrsOfFirstLayerAdded = 1,
71 Q_ENUM( ProjectCrsBehavior )
89 SIP_SKIP static QgsNative *nativePlatformInterface();
156 static QgsProcessingRecentAlgorithmLog *processingRecentAlgorithmLog();
212 static
void enableAutoGeometryRestore( QWidget *widget, const QString &key = QString() );
219 static QgsWindowManagerInterface *windowManager();
226 static
void setWindowManager( QgsWindowManagerInterface *manager
SIP_TRANSFER );
234 HigMenuTextIsTitleCase = 1 << 0,
235 HigDialogTitleIsTitleCase = 1 << 1
237 Q_DECLARE_FLAGS( HigFlags, HigFlag )
243 static QgsGui::HigFlags higFlags();
252 static QColor sampleColor( QPoint point );
259 static QScreen *findScreenAt( QPoint point );
270 static bool pythonMacroAllowed(
void ( *lambda )() =
nullptr,
QgsMessageBar *messageBar =
nullptr )
SIP_SKIP;
288 void optionsChanged();
297 QgsNative *mNative =
nullptr;
306 QgsProcessingRecentAlgorithmLog *mProcessingRecentAlgorithmLog =
nullptr;
316 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.
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.