mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
This makes it easier to select the intended settings value as the underlying value often has no direct connection to the user facing name. It also makes it possible to select list entries whos underlying value changes frequently, but the user facing value does not. (E.g. device IDs based on the input port compared to the device name)
51 lines
873 B
C++
51 lines
873 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 QeueUITask(void (*task)(void *param), void *) {}
|
|
|
|
QWidget *GetSettingsWindow()
|
|
{
|
|
return nullptr;
|
|
}
|
|
|
|
} // namespace advss
|