little de-firzifikation.

This commit is contained in:
2025-08-07 18:49:18 +02:00
parent d70df0cbaa
commit 666a2a9440
6 changed files with 33 additions and 35 deletions

View File

@@ -20,6 +20,10 @@
#include <xqtreetable.h>
#include <xqitemfactory.h>
//! default konstruktor.
XQChildModel::XQChildModel( QObject *parent )
: XQViewModel{parent}
{
@@ -27,15 +31,8 @@ XQChildModel::XQChildModel( QObject *parent )
}
XQChildModel::~XQChildModel()
{
//! erzeugt die basisstruktur des models.
}
/**
* @brief XQChildModel::initModel: Create the own modelstructure
* using subtree 'Components'
*/
void XQChildModel::initModel(const QString& modelName)
{
// #0: Wir suchen die Model-Beschreibung
@@ -65,6 +62,8 @@ void XQChildModel::initModel(const QString& modelName)
}
//! erzegut den sichtbaren inhalt des models aus einem root-datenknoten.
void XQChildModel::setContent( const XQNodePtr& contentRoot )
{
@@ -105,6 +104,8 @@ void XQChildModel::setContent( const XQNodePtr& contentRoot )
}
//! firz
void XQChildModel::createModelContentChildRow( QStandardItem* parent, XQNodePtr contentNode )
{
/*
@@ -121,6 +122,8 @@ void XQChildModel::createModelContentChildRow( QStandardItem* parent, XQNodePtr
}
//! erzeugt ein adhoc-contextmenu, je nachdem welche aktionen gerade möflich sind.
void XQChildModel::initContextMenu()
{

View File

@@ -27,7 +27,7 @@ class XQChildModel : public XQViewModel
public:
explicit XQChildModel(QObject *parent = nullptr);
virtual ~XQChildModel();
virtual ~XQChildModel() = default;
void initModel(const QString& modelName) override;
void setContent(const XQNodePtr& contentRoot );