Qt: Split Cheat Manager and Memory Scanner

And make them persistent across system invocations.
This commit is contained in:
Stenzek
2024-04-10 13:56:49 +10:00
parent e936e7498a
commit 4598bc789b
15 changed files with 2007 additions and 1405 deletions

View File

@ -64,6 +64,23 @@ QWidget* GetRootWidget(QWidget* widget, bool stop_at_window_or_dialog)
return widget;
}
void ShowOrRaiseWindow(QWidget* window)
{
if (!window)
return;
if (!window->isVisible())
{
window->show();
}
else
{
window->raise();
window->activateWindow();
window->setFocus();
}
}
template<typename T>
ALWAYS_INLINE_RELEASE static void ResizeColumnsForView(T* view, const std::initializer_list<int>& widths)
{