mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Replace potentially unterminated std::string::data() for pre-c++11
This commit is contained in:
28
custom_widgets/help_about_dialog.h
Normal file
28
custom_widgets/help_about_dialog.h
Normal file
@ -0,0 +1,28 @@
|
||||
#ifndef HELP_ABOUT_DIALOG_H
|
||||
#define HELP_ABOUT_DIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
class QTabWidget;
|
||||
class QTextBrowser;
|
||||
|
||||
class HelpAboutDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
HelpAboutDialog(QWidget * parent=0);
|
||||
HelpAboutDialog(const QString & pathAbout,const QString & pathHelp,QWidget * parent =0);
|
||||
~HelpAboutDialog();
|
||||
public slots:
|
||||
void loadAboutInformation(const QString & path);
|
||||
void loadHelp(const QString & path);
|
||||
|
||||
private:
|
||||
QTabWidget *tabWidget;
|
||||
QTextBrowser *aboutText;
|
||||
QTextBrowser *helpText;
|
||||
QString fileToString(const QString & path);
|
||||
};
|
||||
|
||||
|
||||
#endif // HELP_ABOUT_DIALOG_H
|
Reference in New Issue
Block a user