MuseScore  3.4
Music composition and notation
albummanager.h
Go to the documentation of this file.
1 //=============================================================================
2 // MuseScore
3 // Music Composition & Notation
4 //
5 // Copyright (C) 2011-2017 Werner Schweer
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 LICENCE.GPL
11 //=============================================================================
12 
13 #ifndef __ALBUMMANAGER_H__
14 #define __ALBUMMANAGER_H__
15 
16 #include "ui_albummanager.h"
17 #include "abstractdialog.h"
18 
19 namespace Ms {
20 
21 class Movements;
22 
23 //---------------------------------------------------------
24 // AlbumManager
25 //---------------------------------------------------------
26 
27 class AlbumManager : public AbstractDialog, public Ui::AlbumManager {
28  Q_OBJECT
30 
31  virtual void hideEvent(QHideEvent*);
32 
33  private slots:
34  void addClicked();
35  void addNewClicked();
36  void upClicked();
37  void downClicked();
38  void removeClicked();
39  void currentScoreChanged(int);
40  void itemChanged(QListWidgetItem*); // score name in list is edited
41  void buttonBoxClicked(QAbstractButton*);
42 
43  protected:
44  virtual void retranslate() { retranslateUi(this); }
45 
46  public:
47  AlbumManager(QWidget* parent = 0);
48  void setAlbum(Movements*);
49  };
50 }
51 
52 #endif
53 
virtual void hideEvent(QHideEvent *)
Definition: albummanager.cpp:260
Definition: score.h:342
void itemChanged(QListWidgetItem *)
Definition: albummanager.cpp:233
void removeClicked()
Definition: albummanager.cpp:178
void upClicked()
Definition: albummanager.cpp:143
virtual void retranslate()
Definition: albummanager.h:44
AlbumManager(QWidget *parent=0)
Definition: albummanager.cpp:29
Definition: abstractdialog.h:29
void downClicked()
Definition: albummanager.cpp:160
void addClicked()
Definition: albummanager.cpp:85
Definition: aeolus.cpp:26
Movements * album
Definition: albummanager.h:29
void buttonBoxClicked(QAbstractButton *)
Definition: albummanager.cpp:58
void currentScoreChanged(int)
Definition: albummanager.cpp:215
void setAlbum(Movements *)
Definition: albummanager.cpp:193
void addNewClicked()
Definition: albummanager.cpp:119
Definition: albummanager.h:27