MuseScore  3.4
Music composition and notation
inspectorTextBase.h
Go to the documentation of this file.
1 //=============================================================================
2 // MuseScore
3 // Music Composition & Notation
4 //
5 // Copyright (C) 2017 Werner Schweer and others
6 //
7 // This program is free software; you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License version 2
9 // as published by the Free Software Foundation and appearing in
10 // the file LICENSE.GPL
11 //=============================================================================
12 
13 #ifndef __INSPECTOR_TEXT_BASE_H__
14 #define __INSPECTOR_TEXT_BASE_H__
15 
16 #include "inspectorElementBase.h"
17 #include "ui_inspector_text.h"
18 
19 namespace Ms {
20 
21 //---------------------------------------------------------
22 // InspectorTextBase
23 //---------------------------------------------------------
24 
26  Q_OBJECT
27 
28  void updateFrame();
29  QComboBox* style;
30 
31  protected:
32  Ui::InspectorText t;
33 
34  public:
35  InspectorTextBase(QWidget* parent);
36  virtual void setElement() override;
37  virtual void valueChanged(int, bool) override;
38  virtual const std::vector<Tid>& allowedTextStyles();
39  void populateStyle(QComboBox* style);
40  };
41 
42 } // namespace Ms
43 
44 
45 #endif
46 
47 
48 
virtual void valueChanged(int, bool) override
Definition: inspectorTextBase.cpp:74
QComboBox * style
Definition: inspectorTextBase.h:29
void updateFrame()
Definition: inspectorTextBase.cpp:64
void populateStyle(QComboBox *style)
Definition: inspectorTextBase.cpp:110
Definition: inspectorTextBase.h:25
InspectorTextBase(QWidget *parent)
Definition: inspectorTextBase.cpp:25
virtual void setElement() override
Definition: inspectorTextBase.cpp:88
Definition: aeolus.cpp:26
virtual const std::vector< Tid > & allowedTextStyles()
Definition: inspectorTextBase.cpp:101
Definition: inspectorElementBase.h:34
Ui::InspectorText t
Definition: inspectorTextBase.h:32