今天在自定义组件的时候,重写的button继承qpushbutton错误,经过改成后的代码如下
#pragma once
#include <QObject>
//头文件保护大师,防止头文件二次调用
#ifndef BUTTON_H
#define BUTTON_H
#
今天在自定义组件的时候,重写的button继承qpushbutton错误,经过改成后的代码如下
#pragma once
#include <QObject>
//头文件保护大师,防止头文件二次调用
#ifndef BUTTON_H
#define BUTTON_H
#