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!
#include <QtGui/QWidget>
#include <QSqlQuery>
#include <QString>
#include "Product.h"
#include "creatnewclient.h"
Product
::Product(QWidget *parent, Qt
::WFlags flags
){
ui.setupUi(this);
this->setWindowState(Qt::WindowFullScreen);
connect(ui.CreateNewClient, SIGNAL( clicked() ), this, SLOT( creatnewclient() ) ) ;
}
Product::~Product()
{
}
void Product::creatnewclient()
{
CreatNewClient dlg;
dlg.exec();
}
#include <QtGui/QWidget>
#include <QSqlQuery>
#include <QString>
#include "Product.h"
#include "creatnewclient.h"
Product::Product(QWidget *parent, Qt::WFlags flags)
: QDialog(parent, flags)
{
ui.setupUi(this);
this->setWindowState(Qt::WindowFullScreen);
connect(ui.CreateNewClient, SIGNAL( clicked() ), this, SLOT( creatnewclient() ) ) ;
}
Product::~Product()
{
}
void Product::creatnewclient()
{
CreatNewClient dlg;
dlg.exec();
}
To copy to clipboard, switch view to plain text mode
Bookmarks