looking better.

This commit is contained in:
2025-08-26 19:41:28 +02:00
parent 5057edb9ad
commit 6ee677c595
10 changed files with 107 additions and 129 deletions

View File

@@ -74,31 +74,6 @@ XQChildModel* createChildModel()
}
class DummyModel : public XQChildModel
{
public:
DummyModel()
{
initModel( c_ChildModelName );
XQNodeFactory treeLoader;
// xml daten laden
XQNodePtr rawTree = treeLoader.load_tree( qPrintable(c_DocumentFileName1) );
// versteckten root node ignorieren
XQNodePtr contentRoot = rawTree->first_child();
addModelData( contentRoot->first_child() );
//XQTreeTable* treeTable = new XQTreeTable;
//treeTable->setModel(this);
//setTreeTable( treeTable );
//treeTable->show();
}
};
using namespace Qt::Literals::StringLiterals;
int main(int argc, char *argv[])
@@ -106,8 +81,6 @@ int main(int argc, char *argv[])
/*
// Signal für einzelne QStandardItem-Änderungen
connect(model, &QStandardItemModel::itemChanged,
this, [](QStandardItem *changedItem){
@@ -116,17 +89,16 @@ connect(model, &QStandardItemModel::itemChanged,
});
*/
/*
QApplication app(argc, argv);
//app.setStyle("fusion");
XQMainWindow window;
window.show();
*/
/*
QApplication app(argc, argv);
XQMainWindow::setupWorkingDir();
XQItemFactory::instance().initItemFactory( c_ModelSheetFileName );
@@ -152,6 +124,7 @@ connect(model, &QStandardItemModel::itemChanged,
qDebug() << " hhakl!";
*/
return app.exec();
}