⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mainwindow.h

📁 QWT5.01用于Qt开发的二维图形库程序
💻 H
字号:
#ifndef _MAINWINDOW_H_
#define _MAINWINDOW_H_ 1

#include <qmainwindow.h>
#if QT_VERSION < 0x040000
#include <qtoolbutton.h>
#else
#include <qaction.h>
#endif

class QSpinBox;
class QPushButton;
class RandomPlot;
class Counter;

class MainWindow: public QMainWindow
{
    Q_OBJECT
public:
    MainWindow();

private slots:
    void showRunning(bool);
    void appendPoints(bool);

private:
    QToolBar *toolBar();
    void initWhatsThis();

private:
    Counter *d_randomCount;
    Counter *d_timerCount;
#if QT_VERSION < 0x040000
    QToolButton *d_startBtn;
    QToolButton *d_clearBtn;
#else
    QAction *d_startAction;
    QAction *d_clearAction;
#endif

    RandomPlot *d_plot;
};

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -