| 102 | } |
| 103 | |
| 104 | static bool gridItemPosition( |
| 105 | QGridLayout* layout, QWidget* widget, int& row, int& column, int& row_span, int& column_span) { |
| 106 | const int index = layout->indexOf(widget); |
| 107 | if (index < 0) { |
| 108 | return false; |
| 109 | } |
| 110 | layout->getItemPosition(index, &row, &column, &row_span, &column_span); |
| 111 | return true; |
| 112 | } |
| 113 | |
| 114 | static bool gridSegmentContainsOnlyPairOrSpacer( |
| 115 | QGridLayout* layout, QRadioButton* first, QRadioButton* second, int& row, int& column, int& column_span) { |
no test coverage detected