35 #ifndef __QGoDBColorManager_h
36 #define __QGoDBColorManager_h
64 virtual bool DeleteEntity(vtkMySQLDatabase *iDatabaseConnector);
71 vtkMySQLDatabase *iDatabaseConnector);
81 virtual void ValidateName(std::string iName, std::string iDescription);
virtual bool DeleteEntity(vtkMySQLDatabase *iDatabaseConnector)
show the list of the existing entities so the user can choose the ones he wants to delete...
QGoDBColorManager(QWidget *iParent=0)
std::pair< std::string, QColor > ItemColorComboboxData
this class manages the map with the keys matching the fields of the Color gofiguredatabase table and ...
Abstract class : the QGoDBNameDescEntityManager manages the interactions between the user and the dat...
ItemColorComboboxData AddANewColor(vtkMySQLDatabase *iDatabaseConnector)
ask the user the color he wants, the name, description of the new color and saves it in the database...
ItemColorComboboxData m_NewColorData
the QGoDBColorManager manages the interactions between the user and the database for the color DBTabl...
QGoDeleteFromListDialog::ItemColorComboboxData ItemColorComboboxData
std::list< ItemColorComboboxData > GetListExistingColors(vtkMySQLDatabase *iDatabaseConnector)
get the list of the existing colors from the database
virtual void SaveNewEntityInDB()
Pure Virtual method : save the new entity in the database, the m_DatabaseConnectorForNewEntity needs ...
virtual void ValidateName(std::string iName, std::string iDescription)