Use PropertiesEditorWidget instead of QWidget for some widget (widget used to edit propertie of element)

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3932 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2015-05-03 17:32:28 +00:00
parent a123a50e18
commit 67189f49f3
10 changed files with 351 additions and 198 deletions

View File

@@ -28,10 +28,19 @@ PropertiesEditorWidget::PropertiesEditorWidget(QWidget *parent) :
{}
/**
* @brief PropertiesEditorWidget::assosiatedUndo
* By default, return an empty undo command
* @return an empty undo command
* @brief PropertiesEditorWidget::associatedUndo
* By default, return a nullptr
* @return nullptr
*/
QUndoCommand *PropertiesEditorWidget::assosiatedUndo() {
return new QUndoCommand();
QUndoCommand *PropertiesEditorWidget::associatedUndo() const{
return nullptr;
}
/**
* @brief PropertiesEditorWidget::title
* @return the title of this editor
*/
QString PropertiesEditorWidget::title() const
{
return QString();
}