src/radioGroup.cpp

changeset 984
a7b6f987d269
parent 968
4b93b7963456
child 988
ac4a2ae54f76
equal deleted inserted replaced
983:05ba93066194 984:a7b6f987d269
55 { 55 {
56 m_vert = orient == Qt::Vertical; 56 m_vert = orient == Qt::Vertical;
57 57
58 m_buttonGroup = new QButtonGroup; 58 m_buttonGroup = new QButtonGroup;
59 m_oldId = m_curId = 0; 59 m_oldId = m_curId = 0;
60 m_coreLayout = null; 60 m_coreLayout = nullptr;
61 61
62 m_coreLayout = new QBoxLayout ( (orient == Qt::Vertical) ? QBoxLayout::LeftToRight : QBoxLayout::TopToBottom); 62 m_coreLayout = new QBoxLayout ( (orient == Qt::Vertical) ? QBoxLayout::LeftToRight : QBoxLayout::TopToBottom);
63 setLayout (m_coreLayout); 63 setLayout (m_coreLayout);
64 64
65 // Init the first row with a break 65 // Init the first row with a break

mercurial