1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-30 22:51:16 +01:00
GPXSee/src/GUI/stylecombobox.h

23 lines
320 B
C++

#ifndef STYLECOMBOBOX_H
#define STYLECOMBOBOX_H
#include <QComboBox>
class StyleComboBox : public QComboBox
{
Q_OBJECT
public:
StyleComboBox(QWidget *parent = 0);
void setValue(Qt::PenStyle value);
protected:
void changeEvent(QEvent *e);
private:
QIcon icon(Qt::PenStyle style);
};
#endif // STYLECOMBOBOX_H