Seafood/mainwindow.h
author John Kern <johnk@symbian.org>
Wed, 24 Mar 2010 14:05:38 -0700
changeset 3 e6d1a78b6db9
child 7 7ee47a65f1ad
permissions -rw-r--r--
wip - start of an example for my forthcoming presentation

#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

class QTabWidget;
class QListWidget;

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow {
    Q_OBJECT
public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

    void createMenus();

public slots:
    void displayVersion();
    void displayPath();

protected:
    void changeEvent(QEvent *e);

private:
    Ui::MainWindow *ui;
    QTabWidget *tabWidget;
    QListWidget *bestList;
    QListWidget *okList;
    QListWidget *worstList;

    QAction *nuAction;
    QAction *verAction;
    QAction *exitAction;
};

#endif // MAINWINDOW_H