SceneSwitcher/tests/stubs/ui-helpers.cpp
WarmUpTill 7a0e08b0d8
Some checks are pending
debian-build / build (push) Waiting to run
Push to master / Check Formatting 🔍 (push) Waiting to run
Push to master / Build Project 🧱 (push) Waiting to run
Push to master / Create Release 🛫 (push) Blocked by required conditions
Adapt to enable testing and add more tests
2026-03-14 13:34:50 +01:00

56 lines
937 B
C++

#include "ui-helpers.hpp"
class QObejct;
namespace advss {
QObject *HighlightWidget(QWidget *widget, QColor startColor, QColor endColor,
bool once)
{
return nullptr;
}
void SetHeightToContentHeight(QListWidget *list) {}
void SetButtonIcon(QAbstractButton *button, const char *path) {}
int FindIdxInRagne(QComboBox *list, int start, int stop,
const std::string &value, Qt::MatchFlags flags)
{
return -1;
}
void SetRowMatchingValueVisible(QComboBox *list, const QString &value,
bool show)
{
}
bool DisplayMessage(const QString &msg, bool question, bool modal)
{
return false;
}
void DisplayTrayMessage(const QString &title, const QString &msg,
const QIcon &icon)
{
}
std::string GetThemeTypeName()
{
return "Dark";
}
void QueueUITask(void (*task)(void *param), void *) {}
QWidget *GetSettingsWindow()
{
return nullptr;
}
bool IsCursorInWidgetArea(QWidget *widget)
{
return false;
}
} // namespace advss