Hello all,
I would like to ask you how to crate a qwt plot which will appear in an already implemented dialog box (see below the code). The problem is i dont know anything about qwt and i dont know how to start. I read the documentation but not so big help for me. The one axis will be a time period (days of a month) and the other one will have only 2 values 0 or 1. Could you please show me an example?
thank you in advance!
Code:
#include <QtGui/QWidget> #include <QSqlQuery> #include <QString> #include "Product.h" #include "creatnewclient.h" { ui.setupUi(this); this->setWindowState(Qt::WindowFullScreen); connect(ui.CreateNewClient, SIGNAL( clicked() ), this, SLOT( creatnewclient() ) ) ; } Product::~Product() { } void Product::creatnewclient() { CreatNewClient dlg; dlg.exec(); }
