summaryrefslogtreecommitdiff
path: root/muse2/muse/widgets/fontsel.h
blob: 1b906aab4d759c2553a1447b7893afbf335d5f76 (plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
//=========================================================
//  MusE
//  Linux Music Editor
//    $Id: fontsel.h,v 1.1.1.1.2.1 2008/01/19 13:33:46 wschweer Exp $
//  (C) Copyright 1999 Werner Schweer (ws@seh.de)
//=========================================================

#ifndef __FONTSEL_H__
#define __FONTSEL_H__

#include <qwidget.h>
#include "song.h"

class QFont;
class QSpinBox;
class QToolButton;
class QComboBox;

//---------------------------------------------------------
//   FontSel
//---------------------------------------------------------

class FontSel : public QWidget {
      Q_OBJECT

      QFont _font;
      QSpinBox* s1;
      QToolButton* fcb1;
      QToolButton* fcb2;
      QToolButton* fcb3;
      QComboBox* cb;

      void setFont();

   private slots:
      void fontSelect();

   public:
      FontSel(QWidget* parent, const QFont&, const QString&);
      const QFont& font();
      };


#endif