~dawagenaar/uniword/trunk

« back to all changes in this revision

Viewing changes to src/CenterWindow.H

  • Committer: Daniel Wagenaar
  • Date: 2012-05-23 18:31:59 UTC
  • Revision ID: daw@caltech.edu-20120523183159-tybotqdp65wx4tgl
.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// MainWindow.H
 
1
// CenterWindow.H
2
2
 
3
3
/*
4
4
    Uniword: keyword-based unicode character selector
18
18
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
19
*/
20
20
 
21
 
#ifndef MAINWINDOW_H
 
21
#ifndef CENTERWINDOW_H
22
22
 
23
 
#define MAINWINDOW_H
 
23
#define CENTERWINDOW_H
24
24
 
25
25
#include <QString>
26
26
#include <QWidget>
27
27
 
28
 
class MainWindow: public QWidget {
 
28
class CenterWindow: public QWidget {
29
29
  Q_OBJECT;
30
30
public:
31
 
  MainWindow(class Universe const &uverse, QString fontname,
32
 
             QWidget *parent=0);
33
 
  virtual ~MainWindow();
 
31
  CenterWindow(class Universe const &uverse,
 
32
               QWidget *parent=0);
 
33
  virtual ~CenterWindow();
 
34
  QFont const &displayFont() const;
 
35
public slots:
 
36
  void setDisplayFont(QFont f);
34
37
private slots:
35
38
  void edited(QString const &s);
36
39
  void copyAvailable(bool s);
46
49
  class QTextEdit *comment;
47
50
  Universe const &uverse;
48
51
  bool copyAv;
49
 
  QString fontname;
50
52
  QString itsmine;
51
53
};
52
54