remove buttons in peephole
authorMjolnir <thomas.pietrzak@inria.fr>
Wed, 9 Sep 2015 16:01:35 +0000 (18:01 +0200)
committerMjolnir <thomas.pietrzak@inria.fr>
Wed, 9 Sep 2015 16:01:35 +0000 (18:01 +0200)
LivingDemos/Peephole.cpp

index 8522d382e71de9036ef623518d5349a09657e0cc..9295c38132a494dde5f4757a7289be76005bff64 100644 (file)
@@ -27,6 +27,10 @@ Peephole::Peephole(QWidget *parent) :
     ui->image->setDragMode(QGraphicsView::ScrollHandDrag);
     ui->image->setResizeAnchor(QGraphicsView::AnchorViewCenter);
 
+    ui->appbutton1->setVisible(false);
+    ui->appbutton2->setVisible(false);
+    ui->appbutton3->setVisible(false);
+
     connect(ui->image->horizontalScrollBar(), SIGNAL(valueChanged(int)), this, SLOT(scroll(int)));
 
     MenuPrincipal * menu = dynamic_cast<MenuPrincipal *>(parent);