1 /****************************************************************************************************** 2 * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released * 3 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file * 4 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. * 5 ******************************************************************************************************/ 6 7 #ifndef HELP_WINDOW_H 8 #define HELP_WINDOW_H 9 10 #include <QDockWidget> 11 12 /// Dockable help window. Despite a lot of work trying to work with the OSX sandbox, support for the 13 /// sandbox was never completed since QHelpEngine requires WRITE-access to the collection file. Even 14 /// trying to create a temporary directory does not work since copying would involve QHelpEngine::copyCollectionFile 15 /// which copys from the CURRENT collection file (versus just some arbitrary file name) 16 class HelpWindow : public QDockWidget 17 { 18 Q_OBJECT; 19 20 public: 21 /// Single constructor 22 HelpWindow (QWidget *parent); 23 24 private: 25 HelpWindow (); 26 27 #if !defined(OSX_DEBUG) && !defined(OSX_RELEASE) 28 QString helpPath() const; 29 #endif 30 31 }; 32 33 #endif // HELP_WINDOW_H 34