mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-22 01:44:49 -05:00
33 lines
936 B
C++
33 lines
936 B
C++
#pragma once
|
|
#include "export-symbol-helper.hpp"
|
|
|
|
#include <QColor>
|
|
#include <QComboBox>
|
|
#include <QIcon>
|
|
#include <QListWidget>
|
|
#include <QPushButton>
|
|
#include <QString>
|
|
#include <QWidget>
|
|
#include <string>
|
|
|
|
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
|