Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

@@ -0,0 +1,54 @@
/**
* @RDE_HEADER@
* GUI Plugin for FileManagement - FlmComboBox
* $Id$
* $HeadURL$
* $Author$
* Created by Iuliana Ojog, SLSE, 2017-05-29
*/
#include "flm_combobox_gui_plugin.h"
namespace FileManagement
{
std::shared_ptr<GuiPluginBase::Interface> GuiPlugin::createGuiInterface(LtsSession::LtsSession *session)
{
return std::make_shared<InterfaceImpl>(session);
}
InterfaceImpl::InterfaceImpl(LtsSession::LtsSession *session)
: GuiPluginBase::Interface(session, getLogger("Plugins.Gui.FlmCombobox"))
{}
bool InterfaceImpl::fetchInterfaces()
{
return true;
}
void InterfaceImpl::clearInterfaces()
{
}
bool InterfaceImpl::fillFileCategoryComboBox(LtsWidgets::LtsComboBox *cbx)
{
return fillFlmComboBox(cbx, FlmComboBoxType::CbFileCategory);
}
bool InterfaceImpl::fillFileStatusComboBox(LtsWidgets::LtsComboBox *cbx)
{
return fillFlmComboBox(cbx, FlmComboBoxType::CbFileStatus);
}
bool InterfaceImpl::fillFileTypeComboBox(LtsWidgets::LtsComboBox *cbx)
{
return fillFlmComboBox(cbx, FlmComboBoxType::CbFileType);
}
//private
bool InterfaceImpl::fillFlmComboBox(LtsWidgets::LtsComboBox *cbx, FlmComboBoxType type)
{
return FlmComboBox::fill(cbx, type);
}
} // namespace FileManagement