Ejemplo n.º 1
0
void MainWindow::showHelp()
{
#ifdef Q_OS_ANDROID
	const QString manual_path = MapperResource::locate(MapperResource::MANUAL, QString::fromLatin1("index.html"));
	const QUrl help_url = QUrl::fromLocalFile(manual_path);
	TextBrowserDialog help_dialog(help_url, this);
	help_dialog.exec();
#else
	Util::showHelp(this);
#endif
}
Ejemplo n.º 2
0
void help(GtkWidget *widget,gpointer data)
{
	help_dialog(widget,data);
}