qfedu-qt-level/qtdemo01/widget.h

20 lines
258 B
C++

#ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
#include <QPushButton>
#include <QDebug>
class Widget : public QWidget
{
Q_OBJECT
public:
Widget(QWidget *parent = nullptr);
~Widget();
public:
void toggleShow();
};
#endif // WIDGET_H