1 // Copyright (c) Warwick Allison, 1999.
2 // Qt4 conversion copyright (c) Ray Chason, 2012-2014.
3 // NetHack may be freely redistributed. See license for details.
5 // qt4set.h -- the Qt settings
10 namespace nethack_qt4 {
12 class NetHackQtGlyphs;
14 class NetHackQtSettings : public QDialog {
17 // Size of window - used to decide default sizes
18 NetHackQtSettings(int width, int height);
20 NetHackQtGlyphs& glyphs();
21 const QFont& normalFont();
22 const QFont& normalFixedFont();
23 const QFont& largeFont();
32 void toggleGlyphSize();
33 void setGlyphSize(bool);
45 QFont normal, normalfixed, large;
47 NetHackQtGlyphs* theglyphs;
53 extern NetHackQtSettings* qt_settings;
55 } // namespace nethack_qt4