dde-dock/plugins/network/item/applet/horizontalseperator.h
石博文 ea04ee5226 optimize ui details
Change-Id: I9ad3312423a757f44ea8cc04afceb86d522a172d
2016-08-09 14:51:03 +08:00

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