SceneSwitcher/plugins/base/utils/profile-helpers.hpp
WarmUpTill 5e3ab19940 Add ProfileSelectionWidget
Refreshes list of profiles when widget becomes visible to support widget
caching.
2025-05-27 22:37:46 +02:00

22 lines
386 B
C++

#pragma once
#include "filter-combo-box.hpp"
#include <string>
namespace advss {
void PopulateProfileSelection(QComboBox *list);
std::string GetPathInProfileDir(const char *filePath);
class ProfileSelectionWidget : public FilterComboBox {
Q_OBJECT
public:
ProfileSelectionWidget(QWidget *parent);
protected:
void showEvent(QShowEvent *event) override;
};
} // namespace advss