PrismLauncher/launcher/ui/widgets/LineSeparator.h
Sefa Eyeoglu 1d468ac35a
chore: reformat
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-08-02 18:35:35 +02:00

19 lines
471 B
C++

#pragma once
#include <QWidget>
class QStyleOption;
class LineSeparator : public QWidget {
Q_OBJECT
public:
/// Create a line separator. orientation is the orientation of the line.
explicit LineSeparator(QWidget* parent, Qt::Orientation orientation = Qt::Horizontal);
QSize sizeHint() const;
void paintEvent(QPaintEvent*);
void initStyleOption(QStyleOption* option) const;
private:
Qt::Orientation m_orientation = Qt::Horizontal;
};