aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/styledbar.h
blob: 8a86fad0c19e190c81e548c7e8faf1b4a22aa48c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef STYLEDBAR_H
#define STYLEDBAR_H

#include "utils_global.h"

#include <QtGui/QWidget>

namespace Core {
namespace Utils {

class QTCREATOR_UTILS_EXPORT StyledBar : public QWidget
{
public:
    StyledBar(QWidget *parent = 0);
    void setSingleRow(bool singleRow);
    bool isSingleRow() const;
protected:
    void paintEvent(QPaintEvent *event);
};

} // Utils
} // Core

#endif // STYLEDBAR_H