examples/painting/svgviewer/mainwindow.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   101 
   101 
   102     menuBar()->addMenu(rendererMenu);
   102     menuBar()->addMenu(rendererMenu);
   103 
   103 
   104     connect(openAction, SIGNAL(triggered()), this, SLOT(openFile()));
   104     connect(openAction, SIGNAL(triggered()), this, SLOT(openFile()));
   105     connect(quitAction, SIGNAL(triggered()), qApp, SLOT(quit()));
   105     connect(quitAction, SIGNAL(triggered()), qApp, SLOT(quit()));
   106     connect(rendererGroup, SIGNAL(triggered(QAction *)),
   106     connect(rendererGroup, SIGNAL(triggered(QAction*)),
   107             this, SLOT(setRenderer(QAction *)));
   107             this, SLOT(setRenderer(QAction*)));
   108 
   108 
   109     setCentralWidget(m_view);
   109     setCentralWidget(m_view);
   110     setWindowTitle(tr("SVG Viewer"));
   110     setWindowTitle(tr("SVG Viewer"));
   111 }
   111 }
   112 
   112