#pragma once #include "export-symbol-helper.hpp" #include #include #include #include #include #include #include #include namespace advss { EXPORT QMetaObject::Connection PulseWidget(QWidget *widget, QColor startColor, QColor endColor = QColor(0, 0, 0, 0), bool once = false); EXPORT void SetHeightToContentHeight(QListWidget *list); EXPORT void SetButtonIcon(QPushButton *button, const char *path); EXPORT int FindIdxInRagne(QComboBox *list, int start, int stop, const std::string &value, Qt::MatchFlags = Qt::MatchExactly | Qt::MatchCaseSensitive); EXPORT bool DisplayMessage(const QString &msg, bool question = false, bool modal = true); EXPORT void DisplayTrayMessage(const QString &title, const QString &msg, const QIcon &icon = QIcon()); EXPORT std::string GetThemeTypeName(); } // namespace advss