Fullscreen child widget

  • Hi guys,
    I have problem with fullscreen child widget. The event(doubleClick) on child widget(VideoScene) is reached correctly, but nothing happened after call showFullScreen(). When I call same method on mainWindow widget, it works fine. Could you please write me where could be problem. Implementation of child widget is bellow. Thank you

    @namespace Ui {
    class VideoScene;

    class VideoScene : public QWidget

    explicit VideoScene(QWidget *parent = 0);

    private slots:
    void on_VideoScene_customContextMenuRequested(const QPoint &pos);
    void mouseDoubleClickEvent(QMouseEvent *);

    Ui::VideoScene *ui;

    and implementation for event:
    void VideoScene::mouseDoubleClickEvent(QMouseEvent *event)
    qDebug()<<"Videoscene fullscreen off";
    qDebug()<<"Videoscene fullscreen on";

  • Franku, thanks for responce. I have already seen this docs, but I didn't get any hint from there.

  • Ok - just to be crear: It says that Windows - other than mainwindows - cannot be used in fullscreen mode.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.