| 30 | MesonRewriterInputBase::~MesonRewriterInputBase() {} |
| 31 | |
| 32 | int MesonRewriterInputBase::nameWidth() |
| 33 | { |
| 34 | // Make the name a bit (by 25) wider than it actually is to create a margin. Maybe do |
| 35 | // something smarter in the future (TODO) |
| 36 | return m_ui->l_name->fontMetrics().boundingRect(m_ui->l_name->text()).width() + 25; |
| 37 | } |
| 38 | |
| 39 | void MesonRewriterInputBase::setMinNameWidth(int width) |
| 40 | { |
no test coverage detected