This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef QT_HELP_BUTTON_H
|
||||
#define QT_HELP_BUTTON_H
|
||||
|
||||
#include "QtHelpButtonInfo.h"
|
||||
#include "QtIconButton.h"
|
||||
|
||||
class QtHelpButton: public QtIconButton
|
||||
@@ -8,14 +9,13 @@ class QtHelpButton: public QtIconButton
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
QtHelpButton(const QString& helpTitle, const QString& helpText, QWidget* parent = nullptr);
|
||||
QtHelpButton(const QtHelpButtonInfo& info, QWidget* parent = nullptr);
|
||||
|
||||
private slots:
|
||||
void handleHelpPress();
|
||||
|
||||
private:
|
||||
QString m_helpTitle;
|
||||
QString m_helpText;
|
||||
QtHelpButtonInfo m_info;
|
||||
};
|
||||
|
||||
#endif // QT_HELP_BUTTON_H
|
||||
|
||||
Reference in New Issue
Block a user