5#ifndef DIMAGEBUTTON_P_H
6#define DIMAGEBUTTON_P_H
10#if DTK_VERSION < DTK_VERSION_CHECK(6, 0, 0, 0)
12#include <DObjectPrivate>
14DWIDGET_BEGIN_NAMESPACE
16class DImageButtonPrivate :
public DTK_CORE_NAMESPACE::DObjectPrivate
19 explicit DImageButtonPrivate(DImageButton *qq);
20 ~DImageButtonPrivate();
23 void setState(DImageButton::State state);
24 QPixmap loadPixmap(
const QString &path);
26 DImageButton::State m_state = DImageButton::Normal;
28 bool m_isChecked =
false;
29 bool m_isCheckable =
false;
34 QString m_disabledPic;
36 D_DECLARE_PUBLIC(DImageButton)