source: trunk/qt/stats-dialog.h @ 14391

Last change on this file since 14391 was 14391, checked in by mikedld, 8 years ago

Rework statistics dialog in Qt client to load from .ui

Fix "Started %n time(s)" phrase (remove space in "time (s)", add proper
English translation for numeric forms).

  • Property svn:keywords set to Date Rev Author Id
File size: 616 bytes
Line 
1/*
2 * This file Copyright (C) 2009-2014 Mnemosyne LLC
3 *
4 * It may be used under the GNU GPL versions 2 or 3
5 * or any future license endorsed by Mnemosyne LLC.
6 *
7 * $Id: stats-dialog.h 14391 2014-12-21 13:57:15Z mikedld $
8 */
9
10#ifndef STATS_DIALOG_H
11#define STATS_DIALOG_H
12
13#include <QDialog>
14
15#include "ui_stats-dialog.h"
16
17class Session;
18class QTimer;
19
20class StatsDialog: public QDialog
21{
22    Q_OBJECT
23
24  private slots:
25    void updateStats ();
26
27  public:
28    StatsDialog (Session&, QWidget * parent = 0);
29    ~StatsDialog ();
30    virtual void setVisible (bool visible);
31
32  private:
33    Session & mySession;
34    QTimer * myTimer;
35    Ui::StatsDialog ui;
36};
37
38#endif
Note: See TracBrowser for help on using the repository browser.