1 //========================================================= 2 // MusE 3 // Linux Music Editor 4 // Copyright (C) 1999-2011 by Werner Schweer and others 5 // 6 // menutitlewidgets.h 7 // (C) Copyright 2019 Tim E. Real (terminator356 on sourceforge) 8 // 9 // This program is free software; you can redistribute it and/or 10 // modify it under the terms of the GNU General Public License 11 // as published by the Free Software Foundation; version 2 of 12 // the License, or (at your option) any later version. 13 // 14 // This program is distributed in the hope that it will be useful, 15 // but WITHOUT ANY WARRANTY; without even the implied warranty of 16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 // GNU General Public License for more details. 18 // 19 // You should have received a copy of the GNU General Public License 20 // along with this program; if not, write to the Free Software 21 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 22 // 23 //========================================================= 24 25 #ifndef __MENU_TITLE_WIDGETS_H__ 26 #define __MENU_TITLE_WIDGETS_H__ 27 28 #include <QWidget> 29 #include <QLabel> 30 #include <QString> 31 32 namespace MusEGui { 33 34 //--------------------------------------------------------- 35 // MenuTitleLabel 36 //--------------------------------------------------------- 37 38 class MenuTitleLabel : public QLabel { 39 Q_OBJECT 40 41 public: 42 MenuTitleLabel(const QString &text, QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); 43 MenuTitleLabel(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); 44 }; 45 46 } // namespace MusEGui 47 #endif 48 49