Hi,
Thanks for your suggestion
As i have mentioned i am using Designer and addded QGraphicsview from designer ...
My code on header beginning
class PPI_Wid
: public QMainWindow ,
private Ui
::PPIWindow {
Q_OBJECT
public:
class PPI_Wid : public QMainWindow , private Ui::PPIWindow
{
Q_OBJECT
public:
PPI_Wid(QWidget *parent = 0);
To copy to clipboard, switch view to plain text mode
My CPP code beginning :
{
setupUi(this);
PPI_Wid::PPI_Wid(QWidget *parent) : QMainWindow(parent)
{
setupUi(this);
To copy to clipboard, switch view to plain text mode
I tried changing my QmainWindow to QGraphicsview etc.....But SetupUi(this) gives me an Error .......
Now how do i sublass QGraphicsview and override the drawforeground .....Please provide some code snippets
Advise me...
Bookmarks