| 52 | } |
| 53 | |
| 54 | int IdealButtonBarLayout::buttonSpacing() const |
| 55 | { |
| 56 | if (!m_styleParentWidget) { |
| 57 | return 0; |
| 58 | } |
| 59 | return m_styleParentWidget->style()->pixelMetric(QStyle::PM_ToolBarItemSpacing); |
| 60 | } |
| 61 | |
| 62 | bool IdealButtonBarLayout::eventFilter(QObject* watched, QEvent* event) |
| 63 | { |