From 52cbc9e133b66afe1b513de4e2ae827956bd5c1c Mon Sep 17 00:00:00 2001 From: Mjolnir Date: Wed, 9 Sep 2015 18:01:35 +0200 Subject: [PATCH] remove buttons in peephole --- LivingDemos/Peephole.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/LivingDemos/Peephole.cpp b/LivingDemos/Peephole.cpp index 8522d38..9295c38 100644 --- a/LivingDemos/Peephole.cpp +++ b/LivingDemos/Peephole.cpp @@ -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(parent); -- 2.30.2