mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
1d664f88e5
Co-authored-by: zneix <zneix@zneix.eu>
34 lines
639 B
C++
34 lines
639 B
C++
#pragma once
|
|
|
|
#include "widgets/BasePopup.hpp"
|
|
|
|
#include <QComboBox>
|
|
#include <QDialogButtonBox>
|
|
#include <QVBoxLayout>
|
|
|
|
namespace chatterino {
|
|
|
|
class QualityPopup : public BasePopup
|
|
{
|
|
public:
|
|
QualityPopup(const QString &channelURL, QStringList options);
|
|
static void showDialog(const QString &channelURL, QStringList options);
|
|
|
|
protected:
|
|
void keyPressEvent(QKeyEvent *e) override;
|
|
|
|
private:
|
|
void okButtonClicked();
|
|
void cancelButtonClicked();
|
|
|
|
struct {
|
|
QVBoxLayout *vbox;
|
|
QComboBox *selector;
|
|
QDialogButtonBox *buttonBox;
|
|
} ui_;
|
|
|
|
QString channelURL_;
|
|
};
|
|
|
|
} // namespace chatterino
|