35 class QgsProcessingRecentAlgorithmLog;
36 class QgsWindowManagerInterface;
53 class GUI_EXPORT
QgsGui :
public QObject
64 UseCrsOfFirstLayerAdded = 1,
67 Q_ENUM( ProjectCrsBehavior )
85 SIP_SKIP static QgsNative *nativePlatformInterface();
139 static QgsProcessingRecentAlgorithmLog *processingRecentAlgorithmLog();
182 static
void enableAutoGeometryRestore( QWidget *widget, const QString &key = QString() );
189 static QgsWindowManagerInterface *windowManager();
196 static
void setWindowManager( QgsWindowManagerInterface *manager
SIP_TRANSFER );
204 HigMenuTextIsTitleCase = 1 << 0,
205 HigDialogTitleIsTitleCase = 1 << 1
207 Q_DECLARE_FLAGS( HigFlags, HigFlag )
213 static QgsGui::HigFlags higFlags();
222 static QColor sampleColor( QPoint point );
229 static QScreen *findScreenAt( QPoint point );
240 static bool pythonMacroAllowed(
void ( *lambda )() =
nullptr,
QgsMessageBar *messageBar =
nullptr )
SIP_SKIP;
258 void optionsChanged();
266 QgsNative *mNative =
nullptr;
274 QgsProcessingRecentAlgorithmLog *mProcessingRecentAlgorithmLog =
nullptr;
282 std::
unique_ptr< QgsWindowManagerInterface > mWindowManager;
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.
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.