1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ 2 3 /* 4 Rosegarden 5 A MIDI and audio sequencer and musical notation editor. 6 Copyright 2000-2021 the Rosegarden development team. 7 8 Other copyrights also apply to some parts of this work. Please 9 see the AUTHORS file and individual file headers for details. 10 11 This program is free software; you can redistribute it and/or 12 modify it under the terms of the GNU General Public License as 13 published by the Free Software Foundation; either version 2 of the 14 License, or (at your option) any later version. See the file 15 COPYING included with this distribution for more information. 16 */ 17 18 19 #include "MatrixConfigurationPage.h" 20 21 #include "misc/ConfigGroups.h" 22 #include "document/RosegardenDocument.h" 23 #include "misc/ConfigGroups.h" 24 #include "gui/editors/matrix/MatrixView.h" 25 #include "TabbedConfigurationPage.h" 26 #include <QSettings> 27 #include <QFrame> 28 #include <QLabel> 29 #include <QString> 30 #include <QTabWidget> 31 #include <QWidget> 32 #include <QLayout> 33 34 namespace Rosegarden 35 { 36 MatrixConfigurationPage(QWidget * parent)37MatrixConfigurationPage::MatrixConfigurationPage(QWidget *parent) : 38 TabbedConfigurationPage(parent) 39 { 40 QFrame *frame = new QFrame(m_tabWidget); 41 frame->setContentsMargins(10, 10, 10, 10); 42 QGridLayout *layout = new QGridLayout(frame); 43 layout->setSpacing(5); 44 45 layout->addWidget(new QLabel("Nothing here yet", frame), 0, 0); 46 47 addTab(frame, tr("General")); 48 } 49 apply()50void MatrixConfigurationPage::apply() 51 { 52 //@@@ Next two lines not need. Commented out. 53 //@@@ QSettings settings; 54 //@@@ settings.beginGroup( MatrixViewConfigGroup ); 55 } 56 57 } 58