1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 11:23:51 +00:00
openmw-tes3mp/apps/opencs/view/widget/scenetoolrun.hpp

43 lines
898 B
C++
Raw Normal View History

#ifndef CSV_WIDGET_SCENETOOLRUN_H
#define CSV_WIDGET_SCENETOOLRUN_H
#include <vector>
#include <string>
#include "scenetool.hpp"
namespace CSVWidget
{
class SceneToolRun : public SceneTool
{
Q_OBJECT
std::vector<std::string> mProfiles;
int mCurrentIndex;
QString mToolTip;
QString mIcon;
QString mIconDisabled;
private:
void adjustToolTips();
void updateIcon();
public:
SceneToolRun (SceneToolbar *parent, const QString& toolTip, const QString& icon,
const QString& iconDisabled, const std::vector<std::string>& profiles);
virtual void showPanel (const QPoint& position);
void removeProfile (const std::string& profile);
signals:
void runRequest (const std::string& profile);
};
}
#endif