about.h 526 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
#ifndef _ABOUT_H_
#define _ABOUT_H_

#include "ui_about.h"

class About : public QDialog, public Ui::About
{
  Q_OBJECT

  public:
    QPoint widgetPos;
    QSize widgetSize;
    bool widgetPosValid;
    bool ignoreResizeAndMove;
#if defined(Q_WS_MAC)
    QString macVersion;
#elif defined(Q_WS_WIN)
    QString winVersion;
#endif

    About(QWidget *parent = 0);
    ~About();

  public slots:

  protected:
    void showEvent(QShowEvent *);
    void moveEvent(QMoveEvent *);
    void resizeEvent(QResizeEvent *);
};

#endif