35 class QgsProcessingRecentAlgorithmLog;
36 class QgsWindowManagerInterface;
50 class GUI_EXPORT
QgsGui :
public QObject
61 UseCrsOfFirstLayerAdded = 1,
64 Q_ENUM( ProjectCrsBehavior )
82 SIP_SKIP static QgsNative *nativePlatformInterface();
136 static QgsProcessingRecentAlgorithmLog *processingRecentAlgorithmLog();
161 static
void enableAutoGeometryRestore( QWidget *widget, const QString &key = QString() );
168 static QgsWindowManagerInterface *windowManager();
175 static
void setWindowManager( QgsWindowManagerInterface *manager
SIP_TRANSFER );
183 HigMenuTextIsTitleCase = 1 << 0,
184 HigDialogTitleIsTitleCase = 1 << 1
186 Q_DECLARE_FLAGS( HigFlags, HigFlag )
192 static QgsGui::HigFlags higFlags();
201 static QColor sampleColor( QPoint point );
208 static QScreen *findScreenAt( QPoint point );
219 static bool pythonMacroAllowed(
void ( *lambda )() =
nullptr,
QgsMessageBar *messageBar =
nullptr )
SIP_SKIP;
237 void optionsChanged();
245 QgsNative *mNative =
nullptr;
253 QgsProcessingRecentAlgorithmLog *mProcessingRecentAlgorithmLog =
nullptr;
258 std::
unique_ptr< QgsWindowManagerInterface > mWindowManager;