38 #include <QHBoxLayout>
39 #include <QVBoxLayout>
40 #include <QFormLayout>
107 std::list< ItemColorComboboxData > iListExistingID,
108 std::string iCollectionIDtoSelect)
115 if ( !iCollectionIDtoSelect.empty() )
118 SetItemsFromListWithColor( iListExistingID,
121 SetCurrentItemAndActivate(iCollectionIDtoSelect);
126 InitializeTheListWithColor( iListExistingID,
135 std::list< ItemColorComboboxData > iListColors, std::string iColorToSelect)
138 iListColors, iColorToSelect);
139 this->m_SelectedColorComboBox->SetCurrentItemAndActivate(iColorToSelect);
146 std::list< ItemColorComboboxData > iListColors)
156 std::string iCellTypeToSelect)
159 iCellTypesData, iCellTypeToSelect);
160 this->m_ChoseCellType->SetCurrentItemAndActivate(iCellTypeToSelect);
178 std::string iSubCellTypeToSelect)
181 iSubCellTypesData, iSubCellTypeToSelect);
182 this->m_ChoseSubCellType->SetCurrentItemAndActivate(iSubCellTypeToSelect);
202 QString Tooltip(
tr(
"Color to be applied to your new traces") );
218 SIGNAL( AddNewColorActivated() ),
222 SIGNAL( DeleteActivated() ),
233 QString Tooltip(
tr(
"Current trace you are working on") );
238 ListTraces.
append(
"contour");
239 ListTraces.
append(
"mesh");
240 ListTraces.
append(
"track");
241 ListTraces.
append(
"lineage");
250 QString Tooltip2(
tr(
"Corresponding collection for the selected trace") );
254 QString Tooltip3(
tr(
"ID of the collection your new traces will belong to") );
265 iLayoutTraceCollection->
addWidget(iLabel);
277 SIGNAL( NewCollectionToCreate() ),
281 SIGNAL( currentIndexChanged (
int ) ),
294 QString Tooltip(
tr(
"Celltype that will be applied to your new meshes") );
305 iCellLayout->
addLayout(HLayoutForCellType);
310 SIGNAL( ItemSelected(std::string) ),
314 SIGNAL( AddANewOneActivated() ),
318 SIGNAL( DeleteActivated() ),
329 QString Tooltip(
tr(
"SubCellulartype that will be applied to your new meshes") );
340 SIGNAL( ItemSelected(std::string) ),
344 SIGNAL( AddANewOneActivated() ),
348 SIGNAL( DeleteActivated() ),
356 std::string iCellTypeText)
373 std::string iSubCellTypeText)
424 std::string iCollection)
483 std::pair<std::string, QColor> iNewCollectionID)
528 std::string CollectionID = iCollectionData.first;
530 if ( CollectionID.size() > 9 )
532 if ( CollectionID.substr(0, 9) ==
"Add a new" )