added window always on top option

This commit is contained in:
fourtf
2017-12-17 16:45:15 +01:00
parent c7feec20d8
commit 1ca4fb46d6
10 changed files with 63 additions and 27 deletions
+11 -8
View File
@@ -1,22 +1,25 @@
#ifndef QUALITYPOPUP_H
#define QUALITYPOPUP_H
#include <QWidget>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QComboBox>
#include <QDialogButtonBox>
#include <QHBoxLayout>
#include <QPushButton>
#include <QVBoxLayout>
#include <QWidget>
#include "basewidget.hpp"
namespace chatterino {
namespace widgets {
class QualityPopup : public QWidget
class QualityPopup : public BaseWidget
{
public:
QualityPopup(const QString &channel, const QString &path, QStringList options);
static void showDialog(const QString &channel, const QString &path, QStringList options);
private:
struct {
QVBoxLayout vbox;
@@ -25,7 +28,7 @@ private:
QPushButton okButton;
QPushButton cancelButton;
} ui;
QString channel;
QString path;
@@ -33,7 +36,7 @@ private:
void cancelButtonClicked();
};
} // namespace widgets
} // namespace chatterino
} // namespace widgets
} // namespace chatterino
#endif // QUALITYPOPUP_H
#endif // QUALITYPOPUP_H