35 class QgsProcessingRecentAlgorithmLog;
36 class QgsWindowManagerInterface;
48 class GUI_EXPORT
QgsGui :
public QObject
59 UseCrsOfFirstLayerAdded = 1,
80 SIP_SKIP static QgsNative *nativePlatformInterface();
122 static QgsProcessingRecentAlgorithmLog *processingRecentAlgorithmLog();
147 static
void enableAutoGeometryRestore( QWidget *widget, const QString &key = QString() );
154 static QgsWindowManagerInterface *windowManager();
161 static
void setWindowManager( QgsWindowManagerInterface *manager
SIP_TRANSFER );
169 HigMenuTextIsTitleCase = 1 << 0,
170 HigDialogTitleIsTitleCase = 1 << 1
172 Q_DECLARE_FLAGS( HigFlags,
HigFlag )
178 static QgsGui::HigFlags higFlags();
187 static QColor sampleColor( QPoint point );
194 static QScreen *findScreenAt( QPoint point );
205 static bool pythonMacroAllowed(
void ( *lambda )() =
nullptr,
QgsMessageBar *messageBar =
nullptr )
SIP_SKIP;
213 QgsNative *mNative =
nullptr;
221 QgsProcessingRecentAlgorithmLog *mProcessingRecentAlgorithmLog =
nullptr;
224 std::
unique_ptr< QgsWindowManagerInterface > mWindowManager;
227 QgsGui(
const QgsGui &other );
232 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.