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 |