35 class QgsProcessingRecentAlgorithmLog;
36 class QgsWindowManagerInterface;
49 class GUI_EXPORT
QgsGui :
public QObject
60 UseCrsOfFirstLayerAdded = 1,
81 SIP_SKIP static QgsNative *nativePlatformInterface();
129 static QgsProcessingRecentAlgorithmLog *processingRecentAlgorithmLog();
154 static
void enableAutoGeometryRestore( QWidget *widget, const QString &key = QString() );
161 static QgsWindowManagerInterface *windowManager();
168 static
void setWindowManager( QgsWindowManagerInterface *manager
SIP_TRANSFER );
176 HigMenuTextIsTitleCase = 1 << 0,
177 HigDialogTitleIsTitleCase = 1 << 1
179 Q_DECLARE_FLAGS( HigFlags,
HigFlag )
185 static QgsGui::HigFlags higFlags();
194 static QColor sampleColor( QPoint point );
201 static QScreen *findScreenAt( QPoint point );
212 static bool pythonMacroAllowed(
void ( *lambda )() =
nullptr,
QgsMessageBar *messageBar =
nullptr )
SIP_SKIP;
220 QgsNative *mNative =
nullptr;
228 QgsProcessingRecentAlgorithmLog *mProcessingRecentAlgorithmLog =
nullptr;
232 std::
unique_ptr< QgsWindowManagerInterface > mWindowManager;
235 QgsGui(
const QgsGui &other );
240 Q_DECLARE_OPERATORS_FOR_FLAGS( QgsGui::HigFlags )
A registry / canonical manager of GUI parts of project storage backends.
QgsGui is a singleton class containing various registry and other global members related to GUI class...
A bar for displaying non-blocking messages to the user.
Shortcuts manager is a class that contains a list of QActions and QShortcuts that have been registere...
The QgsProcessingGuiRegistry is a home for widgets for processing configuration widgets.
Registry of available layout item GUI behavior.
std::unique_ptr< GEOSGeometry, GeosDeleter > unique_ptr
Scoped GEOS pointer.
#define SIP_KEEPREFERENCE
This class tracks map layer actions.
This class keeps a list of source select providers that may add items to the QgsDataSourceManagerDial...
This class keeps a list of data item GUI providers that may affect how QgsDataItems behave within the...
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.
A registry / canonical manager of GUI parts of data providers.