1 Debian patch touch this file
-
Fix #304466: The “I/O” tab of the “Preferences” dialog should use radio buttons instead of checkboxes
- Author
- J. Edward Sanchez <[email protected]>
- Origin
- upstream: commit:406b7b6bf23de8248f77015b8c38ec6d876c04cd
| •1 | //============================================================================= |
| 2 | // MuseScore |
| 3 | // Music Composition & Notation |
| 4 | // |
| 5 | // Copyright (C) 2020 MuseScore BVBA and others |
| 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 | // |
| 10 | // This program is distributed in the hope that it will be useful, |
| 11 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | // GNU General Public License for more details. |
| 14 | // |
| 15 | // You should have received a copy of the GNU General Public License |
| 16 | // along with this program; if not, write to the Free Software |
| 17 | // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 18 | //============================================================================= |
| 19 | |
| 20 | #ifndef RADIOBUTTONGROUPBOX_H |
| 21 | #define RADIOBUTTONGROUPBOX_H |
| 22 | |
| 23 | namespace Ms { |
| 24 | |
| 25 | class RadioButtonGroupBox : public QGroupBox { |
| 26 | Q_OBJECT |
| 27 | |
| 28 | void paintEvent(QPaintEvent* event) override; |
| 29 | |
| 30 | public: |
| 31 | explicit RadioButtonGroupBox(QWidget* parent = nullptr) : QGroupBox(parent) { } |
| 32 | explicit RadioButtonGroupBox(const QString& title, QWidget* parent = nullptr) : QGroupBox(title, parent) { } |
| 33 | }; |
| 34 | |
| 35 | } |
| 36 | |
| 37 | #endif |