37 class QgsProcessingRecentAlgorithmLog;
38 class QgsWindowManagerInterface;
55 class GUI_EXPORT
QgsGui :
public QObject
66 UseCrsOfFirstLayerAdded = 1,
69 Q_ENUM( ProjectCrsBehavior )
87 SIP_SKIP static QgsNative *nativePlatformInterface();
154 static QgsProcessingRecentAlgorithmLog *processingRecentAlgorithmLog();
197 static
void enableAutoGeometryRestore( QWidget *widget, const QString &key = QString() );
204 static QgsWindowManagerInterface *windowManager();
211 static
void setWindowManager( QgsWindowManagerInterface *manager
SIP_TRANSFER );
219 HigMenuTextIsTitleCase = 1 << 0,
220 HigDialogTitleIsTitleCase = 1 << 1
222 Q_DECLARE_FLAGS( HigFlags, HigFlag )
228 static QgsGui::HigFlags higFlags();
237 static QColor sampleColor( QPoint point );
244 static QScreen *findScreenAt( QPoint point );
255 static bool pythonMacroAllowed(
void ( *lambda )() =
nullptr,
QgsMessageBar *messageBar =
nullptr )
SIP_SKIP;
273 void optionsChanged();
282 QgsNative *mNative =
nullptr;
291 QgsProcessingRecentAlgorithmLog *mProcessingRecentAlgorithmLog =
nullptr;
299 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.
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.