35 class QgsProcessingRecentAlgorithmLog;
36 class QgsWindowManagerInterface;
49 class GUI_EXPORT
QgsGui :
public QObject
60 UseCrsOfFirstLayerAdded = 1,
63 Q_ENUM( ProjectCrsBehavior )
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;
240 Q_DECLARE_OPERATORS_FOR_FLAGS( QgsGui::HigFlags )