MuseScore  3.4
Music composition and notation
alignSelect.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 __ALIGN_SELECT_H__
14 #define __ALIGN_SELECT_H__
15 
16 #include "ui_align_select.h"
17 
18 namespace Ms {
19 
20 enum class Align : char;
21 
22 //---------------------------------------------------------
23 // AlignSelect
24 //---------------------------------------------------------
25 
26 class AlignSelect : public QWidget, public Ui::AlignSelect {
27  Q_OBJECT
28 
29  QButtonGroup* g1;
30  QButtonGroup* g2;
31 
32  void blockAlign(bool val);
33 
34  private slots:
35  void _alignChanged();
36 
37  signals:
38  void alignChanged(Align);
39 
40  public:
41  AlignSelect(QWidget* parent);
42  Align align() const;
43  void setAlign(Align);
44  };
45 
46 }
47 
48 
49 #endif
50 
Definition: alignSelect.h:26
Definition: aeolus.cpp:26
QButtonGroup * g2
Definition: alignSelect.h:30
QButtonGroup * g1
Definition: alignSelect.h:29
Align
Definition: types.h:439