int main( int argc, char ** argv ) { QApplication::setColorSpec( QApplication::ManyColor ); QApplication a(argc, argv); QString home; if (argc > 1) { home = argv[1]; } else { // Use a hard coded path. It is only an example. home = QDir( "../../doc/html/index.html" ).absPath(); } HelpWindow *help = new HelpWindow(home, ".", 0, "help viewer"); help->setCaption("Qt Example - Helpviewer"); if ( QApplication::desktop()->width() > 400 && QApplication::desktop()->height() > 500 ) help->show(); else help->showMaximized(); QObject::connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) ); return a.exec(); }
void ScannerPage::slotHelp () { QString s = "workwithscanner.html"; HelpWindow *hw = new HelpWindow(this, s); hw->show(); }
/** * handleHelpButton() * Handles the help button dialog */ void MainWindow::handleHelpButton() { HelpWindow* help = new HelpWindow(); help->show(); }
void CSV::help () { HelpWindow *hw = new HelpWindow(this, helpFile); hw->show(); }
void TestPage::slotHelp () { QString s = "workwithbacktest.html"; HelpWindow *hw = new HelpWindow(this, s); hw->show(); }
void MainWindow::menu_help_clicked() { HelpWindow *hlp = new HelpWindow( this ); hlp->setWindowTitle( "Help" ); hlp->show(); }
void StocksDialog::help () { HelpWindow *hw = new HelpWindow(this, helpFile); hw->show(); }
void IndexDialog::help () { HelpWindow *hw = new HelpWindow(this, helpFile); hw->show(); }
void MainWindow::on_rules_triggered() { HelpWindow *helpWind = new HelpWindow(); helpWind->setModal(true); helpWind->show(); }
void Chintz_base::Help(){ HelpWindow *help = new HelpWindow("index.html", "docs", 0, "help viewer"); help->show(); }
void MainWindow::helpWindow() { HelpWindow *helpWindow; helpWindow = new HelpWindow(this); helpWindow->show(); }
void FuturesDialog::help () { HelpWindow *hw = new HelpWindow(this, helpFile); hw->show(); }
void Preferences::slotHelp() { HelpWindow *hw = new HelpWindow(this, helpFile); hw->show(); }