Files
Sourcetrail/src/lib_gui/qt/element/button/QtHelpButton.h
T
Eberhard GrätherandGitHub 260f1227bc Removed multiple dialog steps in Source Group setup (issue #723) (#913)
* removed QtSourceGroupWizard, QtSourceGroupWizardPage and context types
* removed isInForm flag of QtProjectWizardContent
* added check of empty source paths
* set project window as parent for message boxes, so they don't get hidden behind main window
* fixed issues when removing and duplicating source groups
* updated project setup tests to no steps
2020-02-10 20:00:36 +01:00

25 lines
446 B
C++

#ifndef QT_HELP_BUTTON_H
#define QT_HELP_BUTTON_H
#include "QtHelpButtonInfo.h"
#include "QtIconButton.h"
class QtHelpButton: public QtIconButton
{
Q_OBJECT
public:
QtHelpButton(const QtHelpButtonInfo& info, QWidget* parent = nullptr);
void setMessageBoxParent(QWidget* messageBoxParent);
private slots:
void handleHelpPress();
private:
QtHelpButtonInfo m_info;
QWidget* m_messageBoxParent = nullptr;
};
#endif // QT_HELP_BUTTON_H