mirror of
https://github.com/Aitum/obs-aitum-multistream.git
synced 2024-11-21 18:02:33 +01:00
27 lines
680 B
C++
27 lines
680 B
C++
#pragma once
|
|
|
|
#include <QPushButton>
|
|
#include <QComboBox>
|
|
#include <QFormLayout>
|
|
#include <QVBoxLayout>
|
|
#include <QWidget>
|
|
#include <QGroupBox>
|
|
#include <QIcon>
|
|
#include <QString>
|
|
#include <QToolButton>
|
|
#include "obs.h"
|
|
|
|
class ConfigUtils {
|
|
public:
|
|
// UI generation
|
|
static QPushButton *generateButton(QString buttonText);
|
|
static QGroupBox *generateSettingsGroupBox(QString headingText);
|
|
static QToolButton *generateMenuButton(QString title, QIcon icon);
|
|
|
|
static QIcon generateEmojiQIcon(QString emoji);
|
|
|
|
static void updateButtonStyles(QPushButton *defaultButton, QPushButton *customButton, int activeIndex);
|
|
|
|
static QIcon getPlatformIconFromEndpoint(QString endpoint);
|
|
};
|