I started to familiarize myself with Qt about two weeks ago. I have designed a Network Backup Simulator's base data structure and its ability to pass messages in an undirected acyclic graph from vertice to vertice. All input and output is currently via cin and cout so it runs as a console program.
The data structure relies heavily on polymorphism and has private members defined at different levels in the subclassing.
It appears that Model/View implementation seems to like the data present itself as rows and columns via a QVector<QVariant> approach for each row. What would be the best way to adapt my current data structure? Should I rewrite it with all the data as a protected member in the base class of a type QVector<QVariant>?
FYI, I don't code as a profession. I'm just nutty enough to have this as a hobby after administering an enterprise sized Tivoli Storage Manager environment daily.
Bookmarks