Some checks failed
CodeQL Code Scanning / CodeQL (push) Has been cancelled
Build Application / Build Debug (push) Has been cancelled
Nix / Build (${{ matrix.system }}) (macos-13, x86_64-darwin) (push) Has been cancelled
Nix / Build (${{ matrix.system }}) (macos-14, aarch64-darwin) (push) Has been cancelled
Nix / Build (${{ matrix.system }}) (ubuntu-22.04, x86_64-linux) (push) Has been cancelled
Nix / Build (${{ matrix.system }}) (ubuntu-22.04-arm, aarch64-linux) (push) Has been cancelled
Update Flake Lockfile / update-flake (push) Has been cancelled
19 lines
471 B
C++
Executable File
19 lines
471 B
C++
Executable File
#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;
|
|
};
|