VivoQuant 6.5.0
Loading...
Searching...
No Matches
Grid Class Reference

Description

Lays out label/widget pairs in a grid, filling left to right, then top to bottom. Each of the columns holds one pair; a node spanning several columns takes that many pairs' width. A node without a label also uses the label cell. Appending places the new item after the others; removing an item or changing the number of columns rebuilds the grid, so a removed item leaves no gap.

Classes

struct  Placement
 Where an item is in the grid, counted in label/widget pairs. More...

Public Member Functions

 Grid (QBoxLayout *parent, int index, int stretch)
 The grid is inserted into parent at position index, with stretch.
void removeAt (int i)
 Removes item i and deletes its widgets later, since this may run from one of their signals.