|
|
ui.setupUi(help); | ui.setupUi(help); |
QString docDir = QCoreApplication::applicationDirPath(); | QString docDir = QCoreApplication::applicationDirPath(); |
docDir.append("/../Resources/html"); | docDir.append("/../Resources/html"); |
ui.tb->setSearchPaths(QStringList("/usr/share/qtpfsgui/html") << "/usr/local/share/qtpfsgui/html" << "./html" << docDir << "/Applications/qtpfsgui.app/Contents/Resources/html"); |
ui.tb->setSearchPaths(QStringList("/usr/share/doc/qtpfsgui-1.9.2-r12/html") << "/usr/local/share/qtpfsgui/html" << "./html" << docDir << "/Applications/qtpfsgui.app/Contents/Resources/html"); |
ui.tb->setSource(QUrl("index.html")); | ui.tb->setSource(QUrl("index.html")); |
help->show(); | help->show(); |
} | } |
|
|
help->setAttribute(Qt::WA_DeleteOnClose); | help->setAttribute(Qt::WA_DeleteOnClose); |
Ui::HelpDialog ui; | Ui::HelpDialog ui; |
ui.setupUi(help); | ui.setupUi(help); |
ui.tb->setSearchPaths(QStringList("/usr/share/qtpfsgui/html") << "/usr/local/share/qtpfsgui/html" << "./html"); |
ui.tb->setSearchPaths(QStringList("/usr/share/doc/qtpfsgui-1.9.2-r12/html") << "/usr/local/share/qtpfsgui/html" << "./html"); |
ui.tb->setSource(QUrl("manual.html#copyexif")); | ui.tb->setSource(QUrl("manual.html#copyexif")); |
help->exec(); | help->exec(); |
} | } |
|
|
help->setAttribute(Qt::WA_DeleteOnClose); | help->setAttribute(Qt::WA_DeleteOnClose); |
Ui::HelpDialog ui; | Ui::HelpDialog ui; |
ui.setupUi(help); | ui.setupUi(help); |
ui.tb->setSearchPaths(QStringList("/usr/share/qtpfsgui/html") << "/usr/local/share/qtpfsgui/html" << "./html"); |
ui.tb->setSearchPaths(QStringList("/usr/share/doc/qtpfsgui-1.9.2-r12/html") << "/usr/local/share/qtpfsgui/html" << "./html"); |
ui.tb->setSource(QUrl("dcraw.html")); | ui.tb->setSource(QUrl("dcraw.html")); |
help->exec(); | help->exec(); |
} | } |