QElectroTech  0.70
propertieseditorwidget.cpp
Go to the documentation of this file.
1 /*
2  Copyright 2006-2019 The QElectroTech Team
3  This file is part of QElectroTech.
4 
5  QElectroTech is free software: you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation, either version 2 of the License, or
8  (at your option) any later version.
9 
10  QElectroTech 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 QElectroTech. If not, see <http://www.gnu.org/licenses/>.
17 */
18 #include "propertieseditorwidget.h"
19 #include <QUndoCommand>
20 
27  QWidget(parent),
28  m_live_edit(false)
29 {}
30 
37  return nullptr;
38 }
39 
45  return QString();
46 }
47 
59  Q_UNUSED(live_edit);
60  return false;
61 }
62 
69  return m_live_edit;
70 }
virtual QString title() const
PropertiesEditorWidget::title.
PropertiesEditorWidget(QWidget *parent=nullptr)
PropertiesEditorWidget::PropertiesEditorWidget Constructor.
bool isLiveEdit() const
PropertiesEditorWidget::isLiveEdit.
virtual bool setLiveEdit(bool live_edit)
PropertiesEditorWidget::setLiveEdit Set the editor in live edit mode. When an editor is in live edit ...
virtual QUndoCommand * associatedUndo() const
PropertiesEditorWidget::associatedUndo By default, return a nullptr.