Privacy
An open-source, flexible 3D physical simulation framework
mars::cfg_manager_gui::MainCfgGui Class Reference

#include <MainCfgGui.h>

Public Member Functions

 MainCfgGui (lib_manager::LibManager *theManager)
 
void setupGUI (std::string path=".")
 
virtual ~MainCfgGui (void)
 
virtual void menuAction (int action, bool checked=false)
 Called whenever a menu item is selected. More...
 
int getLibVersion () const
 
const std::string getLibName () const
 
 CREATE_MODULE_INFO ()
 
virtual void cfgUpdateProperty (cfg_manager::cfgPropertyStruct _propertyS)
 
virtual void cfgParamCreated (cfg_manager::cfgParamId _id)
 
virtual void cfgParamRemoved (cfg_manager::cfgParamId _id)
 
void unsetWidget ()
 
- Public Member Functions inherited from lib_manager::LibInterface
 LibInterface (LibManager *theManager)
 
virtual ~LibInterface (void)
 
ModuleInfo getModuleInfo () const
 
virtual void newLibLoaded (const std::string &libName)
 
virtual void createModuleInfo (void)
 
- Public Member Functions inherited from mars::main_gui::MenuInterface
virtual ~MenuInterface ()
 
- Public Member Functions inherited from mars::cfg_manager::CFGClient
 CFGClient ()
 
virtual ~CFGClient ()
 

Protected Slots

void timerEvent (QTimerEvent *event)
 
void geometryChanged ()
 

Private Attributes

main_gui::GuiInterfacegui
 
cfg_manager::CFGManagerInterfacecfg
 
CfgWidgetcfgWidget
 
cfg_manager::cfgPropertyStruct cfgW_top
 
cfg_manager::cfgPropertyStruct cfgW_left
 
cfg_manager::cfgPropertyStruct cfgW_height
 
cfg_manager::cfgPropertyStruct cfgW_width
 
bool set_window_prop
 
bool ignore_next
 
std::list< cfg_manager::cfgParamIdregisteredParams
 

Additional Inherited Members

- Protected Attributes inherited from lib_manager::LibInterface
LibManagerlibManager
 
ModuleInfo moduleInfo
 

Detailed Description

Definition at line 49 of file MainCfgGui.h.

Constructor & Destructor Documentation

◆ MainCfgGui()

mars::cfg_manager_gui::MainCfgGui::MainCfgGui ( lib_manager::LibManager theManager)

Definition at line 38 of file MainCfgGui.cpp.

◆ ~MainCfgGui()

mars::cfg_manager_gui::MainCfgGui::~MainCfgGui ( void  )
virtual

Definition at line 86 of file MainCfgGui.cpp.

Member Function Documentation

◆ cfgParamCreated()

void mars::cfg_manager_gui::MainCfgGui::cfgParamCreated ( cfg_manager::cfgParamId  _id)
virtual

Reimplemented from mars::cfg_manager::CFGClient.

Definition at line 138 of file MainCfgGui.cpp.

◆ cfgParamRemoved()

void mars::cfg_manager_gui::MainCfgGui::cfgParamRemoved ( cfg_manager::cfgParamId  _id)
virtual

Reimplemented from mars::cfg_manager::CFGClient.

Definition at line 147 of file MainCfgGui.cpp.

◆ cfgUpdateProperty()

void mars::cfg_manager_gui::MainCfgGui::cfgUpdateProperty ( cfg_manager::cfgPropertyStruct  _propertyS)
virtual

Reimplemented from mars::cfg_manager::CFGClient.

Definition at line 125 of file MainCfgGui.cpp.

◆ CREATE_MODULE_INFO()

mars::cfg_manager_gui::MainCfgGui::CREATE_MODULE_INFO ( )

◆ geometryChanged

void mars::cfg_manager_gui::MainCfgGui::geometryChanged ( )
protectedslot

Definition at line 135 of file MainCfgGui.cpp.

◆ getLibName()

const std::string mars::cfg_manager_gui::MainCfgGui::getLibName ( ) const
inlinevirtual

Implements lib_manager::LibInterface.

Definition at line 66 of file MainCfgGui.h.

◆ getLibVersion()

int mars::cfg_manager_gui::MainCfgGui::getLibVersion ( ) const
inlinevirtual

Implements lib_manager::LibInterface.

Definition at line 65 of file MainCfgGui.h.

◆ menuAction()

void mars::cfg_manager_gui::MainCfgGui::menuAction ( int  action,
bool  checked = false 
)
virtual

Called whenever a menu item is selected.

Parameters
actionThe action that is passed to the GuiInterface via addGenericMenuAction function.
checkedIndicates if the menu/menu item is checked or not.

Implements mars::main_gui::MenuInterface.

Definition at line 103 of file MainCfgGui.cpp.

◆ setupGUI()

void mars::cfg_manager_gui::MainCfgGui::setupGUI ( std::string  path = ".")

Definition at line 48 of file MainCfgGui.cpp.

◆ timerEvent

void mars::cfg_manager_gui::MainCfgGui::timerEvent ( QTimerEvent *  event)
protectedslot

Definition at line 121 of file MainCfgGui.cpp.

◆ unsetWidget()

void mars::cfg_manager_gui::MainCfgGui::unsetWidget ( )
inline

Definition at line 72 of file MainCfgGui.h.

Member Data Documentation

◆ cfg

cfg_manager::CFGManagerInterface* mars::cfg_manager_gui::MainCfgGui::cfg
private

Definition at line 76 of file MainCfgGui.h.

◆ cfgW_height

cfg_manager::cfgPropertyStruct mars::cfg_manager_gui::MainCfgGui::cfgW_height
private

Definition at line 79 of file MainCfgGui.h.

◆ cfgW_left

cfg_manager::cfgPropertyStruct mars::cfg_manager_gui::MainCfgGui::cfgW_left
private

Definition at line 78 of file MainCfgGui.h.

◆ cfgW_top

cfg_manager::cfgPropertyStruct mars::cfg_manager_gui::MainCfgGui::cfgW_top
private

Definition at line 78 of file MainCfgGui.h.

◆ cfgW_width

cfg_manager::cfgPropertyStruct mars::cfg_manager_gui::MainCfgGui::cfgW_width
private

Definition at line 79 of file MainCfgGui.h.

◆ cfgWidget

CfgWidget* mars::cfg_manager_gui::MainCfgGui::cfgWidget
private

Definition at line 77 of file MainCfgGui.h.

◆ gui

main_gui::GuiInterface* mars::cfg_manager_gui::MainCfgGui::gui
private

Definition at line 75 of file MainCfgGui.h.

◆ ignore_next

bool mars::cfg_manager_gui::MainCfgGui::ignore_next
private

Definition at line 82 of file MainCfgGui.h.

◆ registeredParams

std::list<cfg_manager::cfgParamId> mars::cfg_manager_gui::MainCfgGui::registeredParams
private

Definition at line 83 of file MainCfgGui.h.

◆ set_window_prop

bool mars::cfg_manager_gui::MainCfgGui::set_window_prop
private

Definition at line 81 of file MainCfgGui.h.


The documentation for this class was generated from the following files: