2009-07-15 12:42:09 +02:00
|
|
|
#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);
|
2009-07-15 16:23:07 +02:00
|
|
|
void setSingleRow(bool singleRow);
|
|
|
|
|
bool isSingleRow() const;
|
2009-07-15 12:42:09 +02:00
|
|
|
protected:
|
|
|
|
|
void paintEvent(QPaintEvent *event);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // Utils
|
|
|
|
|
} // Core
|
|
|
|
|
|
|
|
|
|
#endif // STYLEDBAR_H
|