refurbished old style item creation.

This commit is contained in:
2025-08-22 23:07:56 +02:00
parent c8e59b10db
commit 769ad2b002
5 changed files with 20 additions and 70 deletions

View File

@@ -34,8 +34,7 @@ public:
//XQItemList makeEmptyRow( const XQNodePtr& contentNode, const XQNodePtr& sheetNode );
XQItemList makeHeaderRow( const XQNodePtr& sheetNode, const QString& caption = c_Caption );
XQItemList makeContentRow( const XQNodePtr& sheetNode, const XQNodePtr& contentNode );
XQItemList makeRow( const XQNodePtr& sheetNode, const XQNodePtr& contentNode );
// wozu ist das gut?
//XQItemList createGenericRow( const XQNodePtr& contentNode, const XQNodePtr& sheetNode );
@@ -50,11 +49,7 @@ protected:
bool isValid();
XQItem* makeHeaderItem( const XQNodePtr& sheetNode, const QString& caption );
XQItem* makeContentItem( const XQNodePtr& sheetNode, const XQNodePtr& contentNode );
XQItem* makeItem( const XQNodePtr& sheetNode, const XQNodePtr& contentNode );
XQItem* makeItem( const XQNodePtr& sheetNode, const QString* contentPtr );
// shortcuts
using ItemConfigFunc = std::function<void( XQItem* item, const QString& attrValue, XQNodePtr contentNode, XQNodePtr sheetNode )>;