mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
23 lines
358 B
C++
23 lines
358 B
C++
#ifndef HORIZONTALSEPERATOR_H
|
|
#define HORIZONTALSEPERATOR_H
|
|
|
|
#include <QWidget>
|
|
|
|
class HorizontalSeperator : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit HorizontalSeperator(QWidget *parent = 0);
|
|
|
|
void setColor(const QColor color);
|
|
|
|
protected:
|
|
void paintEvent(QPaintEvent *e);
|
|
|
|
private:
|
|
QColor m_color;
|
|
};
|
|
|
|
#endif // HORIZONTALSEPERATOR_H
|