MuseScore/libmscore/text.h

39 lines
1 KiB
C
Raw Normal View History

2012-05-26 14:26:10 +02:00
//=============================================================================
// MuseScore
// Music Composition & Notation
//
2014-02-11 14:27:44 +01:00
// Copyright (C) 2014 Werner Schweer
2012-05-26 14:26:10 +02:00
//
// This program is free software; you can redistribute it and/or modify
// 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
//=============================================================================
#ifndef __TEXT_H__
#define __TEXT_H__
2012-05-26 14:26:10 +02:00
2018-08-01 11:46:07 +02:00
#include "textbase.h"
2012-05-26 14:26:10 +02:00
2013-05-13 18:49:17 +02:00
namespace Ms {
2017-12-27 11:51:00 +01:00
//---------------------------------------------------------
// Text
//---------------------------------------------------------
class Text final : public TextBase {
public:
2018-08-01 11:46:07 +02:00
Text(Score* s = 0, Tid tid = Tid::DEFAULT);
2017-12-27 11:51:00 +01:00
2020-03-21 15:03:04 +01:00
ElementType type() const override { return ElementType::TEXT; }
Text* clone() const override { return new Text(*this); }
void read(XmlReader&) override;
QVariant propertyDefault(Pid id) const override;
2017-12-27 11:51:00 +01:00
};
2013-05-13 18:49:17 +02:00
} // namespace Ms
2012-05-26 14:26:10 +02:00
#endif
2017-12-27 11:51:00 +01:00