blob: c5f287a10da251242e16567919f42da98edefeb9 (
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
25
26
27
|
#ifndef DETAILSBUTTON_H
#define DETAILSBUTTON_H
#include <QtGui/QPushButton>
#include <QtGui/QToolButton>
#include "utils_global.h"
namespace Utils {
class QTCREATOR_UTILS_EXPORT DetailsButton
#ifdef Q_OS_MAC
: public QPushButton
#else
: public QToolButton
#endif
{
Q_OBJECT
public:
DetailsButton(QWidget *parent=0);
public slots:
void onClicked();
private:
bool m_checked;
};
}
#endif // DETAILSBUTTON_H
|