mirror of
https://github.com/Aitum/obs-aitum-multistream.git
synced 2024-11-25 03:33:28 +01:00
25 lines
629 B
C++
25 lines
629 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 void updateButtonStyles(QPushButton *defaultButton, QPushButton *customButton, int activeIndex);
|
|
|
|
static QIcon getPlatformIconFromEndpoint(QString endpoint);
|
|
};
|