31 lines
636 B
C++
31 lines
636 B
C++
// Copyright (C) 2023-2024 Stdware Collections (https://www.github.com/stdware)
|
|
// Copyright (C) 2021-2023 wangwenx190 (Yuhang Zhao)
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
#ifndef WINDOWBUTTONPRIVATE_H
|
|
#define WINDOWBUTTONPRIVATE_H
|
|
|
|
#include "windowbutton.h"
|
|
|
|
namespace QWK {
|
|
|
|
class WindowButtonPrivate {
|
|
Q_DECLARE_PUBLIC(WindowButton)
|
|
public:
|
|
WindowButtonPrivate();
|
|
virtual ~WindowButtonPrivate();
|
|
|
|
void init();
|
|
|
|
WindowButton *q_ptr;
|
|
|
|
QIcon iconNormal;
|
|
QIcon iconChecked;
|
|
QIcon iconDisabled;
|
|
|
|
void reloadIcon();
|
|
};
|
|
|
|
}
|
|
|
|
#endif // WINDOWBUTTONPRIVATE_H
|