23 radioStyleTabs =
false;
46 const int & tabCountBeforeAddition = tabs->size();
48 connect(newTab, SIGNAL(clicked(
const int &)),
this,
50 tabs->push_back(newTab);
77 return radioStyleTabs;
100 if (index >= 0 && index < tabs->
size())
101 (*tabs)[index]->setSelected(status);
113 if (index >= 0 && index < tabs->
size() && (*tabs)[index]->
isSelected())
125 for (
int i = 0; i < tabs->size(); i++)
141 QToolBar::setEnabled(newEnabledStatus);
143 for (
int i = 0; i <
size(); i++)
144 (*tabs)[i]->setEnabled(newEnabledStatus);
167 (*tabs)[index]->setSelected(!(*tabs)[index]->
isSelected());
172 (*tabs)[index]->setSelected(
true);
186 const int & thisGrp = tabs->at(index)->getRadioGroup();
187 for (
int i = 0; i < tabs->size(); i++)
191 const int & otherGrp = tabs->at(i)->getRadioGroup();
192 if (otherGrp == thisGrp && tabs->at(i)->isSelected())
208 const int & thisGrp = tabs->at(index)->getRadioGroup();
209 for (
int i = 0; i < tabs->size(); i++)
213 const int & otherGrp = tabs->at(i)->getRadioGroup();
214 if (otherGrp == thisGrp)
215 (*tabs)[i]->setSelected(
false);