Lines Matching refs:fileMenu
177 QMenu* fileMenu = menuBar()->addMenu("&File");
178 fileMenu->addAction("New Window", this, SLOT(newWindow()), QKeySequence::New);
179 fileMenu->addAction(tr("Open File..."), this, SLOT(openFile()), QKeySequence::Open);
180 fileMenu->addAction(tr("Open Location..."), this, SLOT(openLocation()), QKeySequence(Qt::CTRL | Qt::Key_L));
181 fileMenu->addAction("Close Window", this, SLOT(close()), QKeySequence::Close);
182 fileMenu->addSeparator();
183 fileMenu->addAction("Take Screen Shot...", this, SLOT(screenshot()));
185 fileMenu->addAction(tr("Print..."), this, SLOT(print()), QKeySequence::Print);
187 fileMenu->addSeparator();
188 fileMenu->addAction("Quit", QApplication::instance(), SLOT(closeAllWindows()), QKeySequence(Qt::CTRL | Qt::Key_Q));