trashed it.

This commit is contained in:
2025-08-20 23:04:09 +02:00
parent 0ec1f7a7c0
commit 306a68f6c9
4 changed files with 62 additions and 16 deletions

View File

@@ -123,8 +123,8 @@ void XQMainWindow::initMainWindow()
_mainModelView.initModel( c_MainModelName );
// #2. load demo data
loadDocument( c_DocumentFileName1 );
loadDocument( c_DocumentFileName2 );
//loadDocument( c_DocumentFileName1 );
//loadDocument( c_DocumentFileName2 );
qDebug() << " --- all here: " << XQNode::s_Count;
@@ -261,6 +261,10 @@ void XQMainWindow::onTreeItemClicked(const QModelIndex& index )
_mainTreeView->selectionModel()->select(index, QItemSelectionModel::Select);
//entry.setBackground( QBrush( Qt::green ) );
QVariant variant = entry.QStandardItem::data( XQItem::ContentNodeRole );
XQNodePtr ptr = variant.value<XQNodePtr>();
QString key = entry.attribute(c_ProjectID);
qDebug() << " --- FIRZ: key: " << key;