2014-06-02 12:12:53 +02:00
|
|
|
#ifndef SELECTIONWINDOW_H
|
|
|
|
#define SELECTIONWINDOW_H
|
|
|
|
|
|
|
|
namespace Ms {
|
|
|
|
class Score;
|
|
|
|
|
|
|
|
|
|
|
|
class SelectionWindow : public QDockWidget {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
Score* _score;
|
2014-06-03 21:56:18 +02:00
|
|
|
QListWidget* _listWidget;
|
2014-08-15 17:20:20 +02:00
|
|
|
|
2014-06-02 12:12:53 +02:00
|
|
|
virtual void closeEvent(QCloseEvent*);
|
|
|
|
virtual void hideEvent (QHideEvent* event);
|
2014-06-03 21:56:18 +02:00
|
|
|
void updateFilteredElements();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void changeCheckbox(QListWidgetItem*);
|
|
|
|
|
2014-06-02 12:12:53 +02:00
|
|
|
signals:
|
|
|
|
void closed(bool);
|
|
|
|
public:
|
2014-06-03 21:56:18 +02:00
|
|
|
SelectionWindow(QWidget *parent = 0, Score* score = 0);
|
2014-06-02 12:12:53 +02:00
|
|
|
~SelectionWindow();
|
|
|
|
virtual QSize sizeHint() const {return QSize(170,170);}
|
2014-06-26 22:55:07 +02:00
|
|
|
void setScore(Score*);
|
2014-06-02 12:12:53 +02:00
|
|
|
|
|
|
|
};
|
|
|
|
} // namespace Ms
|
|
|
|
#endif // SELECTIONWINDOW_H
|