37 class QgsProcessingRecentAlgorithmLog;
38 class QgsWindowManagerInterface;
57 class GUI_EXPORT
QgsGui :
public QObject
68 UseCrsOfFirstLayerAdded = 1,
71 Q_ENUM( ProjectCrsBehavior )
89 SIP_SKIP static QgsNative *nativePlatformInterface();
156 static QgsProcessingRecentAlgorithmLog *processingRecentAlgorithmLog();
212 static
void enableAutoGeometryRestore( QWidget *widget, const QString &key = QString() );
219 static QgsWindowManagerInterface *windowManager();
226 static
void setWindowManager( QgsWindowManagerInterface *manager
SIP_TRANSFER );
234 HigMenuTextIsTitleCase = 1 << 0,
235 HigDialogTitleIsTitleCase = 1 << 1
237 Q_DECLARE_FLAGS( HigFlags, HigFlag )
243 static QgsGui::HigFlags higFlags();
252 static QColor sampleColor( QPoint point );
259 static QScreen *findScreenAt( QPoint point );
270 static bool pythonMacroAllowed(
void ( *lambda )() =
nullptr,
QgsMessageBar *messageBar =
nullptr )
SIP_SKIP;
288 void optionsChanged();
297 QgsNative *mNative =
nullptr;
306 QgsProcessingRecentAlgorithmLog *mProcessingRecentAlgorithmLog =
nullptr;
316 std::
unique_ptr< QgsWindowManagerInterface > mWindowManager;