[Interest] Creating a hover form over a QGraphicsView
Ch'Gans
chgans at gna.org
Fri Feb 3 22:19:34 CET 2017
On 4 February 2017 at 07:55, Lisandro Damián Nicanor Pérez Meyer
<perezmeyer at gmail.com> wrote:
> Hi! I am creating a hover form over a QGraphicsView widget. For starters I
> used designer to create a QWidget with all the necessary hover form widgets in
> it. Then I created a grid layout, added the hover form to it and finally added
> it to the QGraphicsView widget. As I expected the hover form appears over the
> QGraphicsView.
>
> As the application runs on a touchscreen I was asked to let the user scroll it
> using her fingers... The above approach doesn't allows that as all the events
> end up in the widget containing the hover form.
>
> How could I achive a hover form over a QGraphicsView but letting the user
> scroll the QGView with her fingers?
Hi
I don't know what an "hover form" is supposed to be or do, but maybe
QWidget::setAttribute(Qt::WA_TransparentForMouseEvents) could help in
your case.
My 2 cents
>
> Thanks in advace, Lisandro.
>
>
> --
> Lisandro Damián Nicanor Pérez Meyer
> http://perezmeyer.com.ar/
> http://perezmeyer.blogspot.com/
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
More information about the Interest
mailing list