71 lines
1.2 KiB
C++
71 lines
1.2 KiB
C++
|
/***************************************************************************
|
||
|
|
||
|
source::worx xtree
|
||
|
Copyright © 2024-2025 c.holzheuer
|
||
|
christoph.holzheuer@gmail.com
|
||
|
|
||
|
This program is free software; you can redistribute it and/or modify
|
||
|
it under the terms of the GNU General Public License as published by
|
||
|
the Free Software Foundation; either version 2 of the License, or
|
||
|
(at your option) any later version.
|
||
|
|
||
|
***************************************************************************/
|
||
|
|
||
|
|
||
|
#include <QDebug>
|
||
|
#include <QApplication>
|
||
|
|
||
|
#include <xqmainwindow.h>
|
||
|
|
||
|
|
||
|
/*
|
||
|
|
||
|
TODO:
|
||
|
|
||
|
- kann ich die Enums auto generieren?
|
||
|
- entries einfach abzählen,
|
||
|
- einen enum als type
|
||
|
- auf diesen type drauf-casten, siehe qtglobal.h
|
||
|
|
||
|
- FIX! in reality, we have nested types, also.
|
||
|
- done: reference style
|
||
|
- done: shared_ptr
|
||
|
|
||
|
- try QML
|
||
|
- try 'model->readMore'
|
||
|
|
||
|
doc:
|
||
|
- vorhandenes xnode konzept soll am qt angebunden werden
|
||
|
- datensparsam: flyweight pattern & pointer auf orig
|
||
|
|
||
|
who is who:
|
||
|
|
||
|
- item
|
||
|
-itemtype
|
||
|
- factory
|
||
|
- model
|
||
|
- section
|
||
|
|
||
|
*/
|
||
|
|
||
|
|
||
|
int main(int argc, char *argv[])
|
||
|
{
|
||
|
|
||
|
QApplication app(argc, argv);
|
||
|
//qDebug() << " lebt";
|
||
|
|
||
|
//app.setStyle("fusion");
|
||
|
XQMainWindow window;
|
||
|
window.show();
|
||
|
|
||
|
return app.exec();
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|