MuseScore  3.4
Music composition and notation
scoreInfo.h
Go to the documentation of this file.
1 //=============================================================================
2 // MuseScore
3 // Music Composition & Notation
4 //
5 // Copyright (C) 2014 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 __SCOREINFO_H__
14 #define __SCOREINFO_H__
15 
16 namespace Ms {
17 
18 //---------------------------------------------------------
19 // ScoreInfo
20 //---------------------------------------------------------
21 
22 class ScoreInfo : public QFileInfo {
23  mutable QPixmap _pixmap;
24 
25  public:
26  ScoreInfo() {}
27  ScoreInfo(const QFileInfo& fi) : QFileInfo(fi) {}
28  QPixmap pixmap() const;
29  void setPixmap(const QPixmap& pm) { _pixmap = pm; }
30  };
31 
32 }
33 
34 #endif
35 
QPixmap pixmap() const
Definition: scoreInfo.cpp:23
ScoreInfo(const QFileInfo &fi)
Definition: scoreInfo.h:27
Definition: aeolus.cpp:26
QPixmap _pixmap
Definition: scoreInfo.h:23
void setPixmap(const QPixmap &pm)
Definition: scoreInfo.h:29
Definition: scoreInfo.h:22
ScoreInfo()
Definition: scoreInfo.h:26