37 class QgsProcessingRecentAlgorithmLog;
38 class QgsWindowManagerInterface;
56 class GUI_EXPORT
QgsGui :
public QObject
67 UseCrsOfFirstLayerAdded = 1,
70 Q_ENUM( ProjectCrsBehavior )
88 SIP_SKIP static QgsNative *nativePlatformInterface();
155 static QgsProcessingRecentAlgorithmLog *processingRecentAlgorithmLog();
205 static
void enableAutoGeometryRestore( QWidget *widget, const QString &key = QString() );
212 static QgsWindowManagerInterface *windowManager();
219 static
void setWindowManager( QgsWindowManagerInterface *manager
SIP_TRANSFER );
227 HigMenuTextIsTitleCase = 1 << 0,
228 HigDialogTitleIsTitleCase = 1 << 1
230 Q_DECLARE_FLAGS( HigFlags, HigFlag )
236 static QgsGui::HigFlags higFlags();
245 static QColor sampleColor( QPoint point );
252 static QScreen *findScreenAt( QPoint point );
263 static bool pythonMacroAllowed(
void ( *lambda )() =
nullptr,
QgsMessageBar *messageBar =
nullptr )
SIP_SKIP;
281 void optionsChanged();
290 QgsNative *mNative =
nullptr;
299 QgsProcessingRecentAlgorithmLog *mProcessingRecentAlgorithmLog =
nullptr;
308 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.