hello every one this is my code
myplot * p = new myplot(gao.structpayloadgraph,gao1.structpayloadgraph, gao.structcol-2, "payload");
myplot * p1 = new myplot(gao.structsessiongraph,gao.structsessiongraph ,gao.structcol-2, "session");
ui->horizontalLayout_3->addWidget(p);
ui->horizontalLayout_3->addWidget(p1);
myplot * p = new myplot(gao.structpayloadgraph,gao1.structpayloadgraph, gao.structcol-2, "payload");
myplot * p1 = new myplot(gao.structsessiongraph,gao.structsessiongraph ,gao.structcol-2, "session");
ui->horizontalLayout_3->addWidget(p);
ui->horizontalLayout_3->addWidget(p1);
To copy to clipboard, switch view to plain text mode
its working fine my graph are shown side by size but the problem is that it is good for small graphs having 5 ,6 points but when i try to show some bigger graph the window(in which graph is shown) become extremely large the it didn't fit on screen so is there a way by which i can take the size of horizontal layout and then resize my p , p1 to fit in to that area something like that
thankss
Bookmarks