mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
34 lines
671 B
C++
34 lines
671 B
C++
#pragma once
|
|
|
|
#include "widgets/BaseWindow.hpp"
|
|
|
|
#include <QComboBox>
|
|
#include <QDialogButtonBox>
|
|
#include <QPushButton>
|
|
#include <QVBoxLayout>
|
|
|
|
namespace chatterino {
|
|
|
|
class QualityPopup : public BaseWindow
|
|
{
|
|
public:
|
|
QualityPopup(const QString &_channelName, QStringList options);
|
|
static void showDialog(const QString &_channelName, QStringList options);
|
|
|
|
private:
|
|
void okButtonClicked();
|
|
void cancelButtonClicked();
|
|
|
|
struct {
|
|
QVBoxLayout vbox;
|
|
QComboBox selector;
|
|
QDialogButtonBox buttonBox;
|
|
QPushButton okButton;
|
|
QPushButton cancelButton;
|
|
} ui_;
|
|
|
|
QString channelName_;
|
|
};
|
|
|
|
} // namespace chatterino
|