MuseScore/mscore/albummanager.h

54 lines
1.4 KiB
C
Raw Normal View History

2014-11-28 14:49:46 +01:00
//=============================================================================
// MuseScore
// Music Composition & Notation
//
2017-02-28 14:26:19 +01:00
// Copyright (C) 2011-2017 Werner Schweer
2014-11-28 14:49:46 +01:00
//
// This program is free software; you can redistribute it and/or modify
2017-02-28 14:26:19 +01:00
// it under the terms of the GNU General Public License version 2
// as published by the Free Software Foundation and appearing in
// the file LICENCE.GPL
2014-11-28 14:49:46 +01:00
//=============================================================================
#ifndef __ALBUMMANAGER_H__
#define __ALBUMMANAGER_H__
#include "ui_albummanager.h"
2016-06-30 15:34:02 +02:00
#include "abstractdialog.h"
2014-11-28 14:49:46 +01:00
namespace Ms {
2017-01-31 12:21:44 +01:00
class Movements;
2014-11-28 14:49:46 +01:00
//---------------------------------------------------------
// AlbumManager
//---------------------------------------------------------
2016-06-30 15:34:02 +02:00
class AlbumManager : public AbstractDialog, public Ui::AlbumManager {
2014-11-28 14:49:46 +01:00
Q_OBJECT
2017-01-31 12:21:44 +01:00
Movements* album;
2014-11-28 14:49:46 +01:00
virtual void hideEvent(QHideEvent*);
2017-01-31 12:21:44 +01:00
2014-11-28 14:49:46 +01:00
private slots:
void addClicked();
2017-01-31 12:21:44 +01:00
void addNewClicked();
2014-11-28 14:49:46 +01:00
void upClicked();
void downClicked();
void removeClicked();
void currentScoreChanged(int);
void itemChanged(QListWidgetItem*); // score name in list is edited
void buttonBoxClicked(QAbstractButton*);
2016-06-30 15:34:02 +02:00
protected:
virtual void retranslate() { retranslateUi(this); }
2014-11-28 14:49:46 +01:00
public:
AlbumManager(QWidget* parent = 0);
2017-01-31 12:21:44 +01:00
void setAlbum(Movements*);
2014-11-28 14:49:46 +01:00
};
}
#endif