MuseScore  3.4
Music composition and notation
inspectorFret.h
Go to the documentation of this file.
1 //=============================================================================
2 // MuseScore
3 // Music Composition & Notation
4 //
5 // Copyright (C) 2012 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_FRET_H__
14 #define __INSPECTOR_FRET_H__
15 
16 #include "inspector.h"
17 #include "inspectorBase.h"
18 #include "ui_inspector_fret.h"
19 
20 namespace Ms {
21 
22 //---------------------------------------------------------
23 // InspectorFretDiagram
24 //---------------------------------------------------------
25 
27  Q_OBJECT
28 
29  Ui::InspectorFretDiagram f;
30  virtual void setElement() override;
31  void genericButtonToggled(QPushButton* b, bool v, FretDotType dtype);
32  std::vector<QPushButton*> dotTypeButtons;
33 
34  private slots:
35  virtual void valueChanged(int idx) override;
36  void fretNumberChanged(int fretNumber);
37  void resetFretNumber();
38 
39  void circleButtonToggled(bool v);
40  void crossButtonToggled(bool v);
41  void squareButtonToggled(bool v);
42  void triangleButtonToggled(bool v);
43  void barreButtonToggled(bool v);
44  void multidotButtonToggled(bool v);
45  void clearButtonClicked();
46 
47  public:
48  InspectorFretDiagram(QWidget* parent);
49  };
50 
51 
52 } // namespace Ms
53 #endif
54 
void crossButtonToggled(bool v)
Definition: inspectorFret.cpp:154
void triangleButtonToggled(bool v)
Definition: inspectorFret.cpp:172
InspectorFretDiagram(QWidget *parent)
Definition: inspectorFret.cpp:23
void genericButtonToggled(QPushButton *b, bool v, FretDotType dtype)
Definition: inspectorFret.cpp:124
Definition: inspectorFret.h:26
void circleButtonToggled(bool v)
Definition: inspectorFret.cpp:145
virtual void valueChanged(int idx) override
Definition: inspectorFret.cpp:72
std::vector< QPushButton * > dotTypeButtons
Definition: inspectorFret.h:32
void fretNumberChanged(int fretNumber)
Definition: inspectorFret.cpp:94
void resetFretNumber()
Definition: inspectorFret.cpp:108
Definition: aeolus.cpp:26
void squareButtonToggled(bool v)
Definition: inspectorFret.cpp:163
void clearButtonClicked()
Definition: inspectorFret.cpp:199
FretDotType
Definition: fret.h:26
Definition: inspectorElementBase.h:34
void multidotButtonToggled(bool v)
Definition: inspectorFret.cpp:190
void barreButtonToggled(bool v)
Definition: inspectorFret.cpp:181
Ui::InspectorFretDiagram f
Definition: inspectorFret.h:29
virtual void setElement() override
Definition: inspectorFret.cpp:83