If they are not so complicated it's not such a big deal to create a custom, own widget for that, using the paint event for drawing...
You could also have a look at Charts for Qt4.
If they are not so complicated it's not such a big deal to create a custom, own widget for that, using the paint event for drawing...
You could also have a look at Charts for Qt4.
I get sample from http://www.wysota.eu.org/charts.html. I tried for add to my Dialog. But i always get crash.
Qt Code:
ColumnChartView *cv=new ColumnChartView(this); ... .... ui->myLayout->addWidget(cv);To copy to clipboard, switch view to plain text mode
ColumnChartView inherit from QAbstractItemView. And can't add to Dialog like a Widget ?
Is ui->myLayout valid? What does your debugger says?
NomyLayout just example.
I have a TextLabel on my Dialog. And Dialog use verticalLayout. btw, i use qt-creator.
Debuger ? I just run. And, after dialog show GNONE Bug Reporting tool will opening.
Bookmarks