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_ELEMENT_BASE_H__
14 #define __INSPECTOR_ELEMENT_BASE_H__
15 
16 #include "ui_inspector_element.h"
17 #include "inspectorBase.h"
18 
19 namespace Ms {
20 
21 //---------------------------------------------------------
22 //   UiInspectorElement
23 //---------------------------------------------------------
24 
25 class UiInspectorElement: public Ui::InspectorElement {
26    public:
27       void setupUi(QWidget *InspectorElement);
28       };
29 
30 //---------------------------------------------------------
31 //   InspectorElementBase
32 //---------------------------------------------------------
33 
34 class InspectorElementBase : public InspectorBase {
35       Q_OBJECT
36 
37    protected:
38       UiInspectorElement e;
39 
40    private slots:
41 
42    public:
43       InspectorElementBase(QWidget* parent);
44       virtual void setElement() override;
45       };
46 
47 } // namespace Ms
48 
49 
50 #endif
51 
52 
53