Ok if you insist you can loop through the children of your mainwidget! But thats not really good design! But definitely better than hard coding!
JohQt Code:
int i = 1; QDateEdit *de; do { if (de) { ... } ++i; } while (de);To copy to clipboard, switch view to plain text mode
Bookmarks