! Insert multiple empty columns left to the firt selected column */
| 2623 | Insert multiple empty columns left to the firt selected column |
| 2624 | */ |
| 2625 | void SpreadsheetView::insertColumnsLeft() { |
| 2626 | bool ok = false; |
| 2627 | int count = QInputDialog::getInt(nullptr, |
| 2628 | i18n("Insert empty columns"), |
| 2629 | i18n("Enter the number of columns to insert"), |
| 2630 | 1 /*value*/, |
| 2631 | 1 /*min*/, |
| 2632 | 1000 /*max*/, |
| 2633 | 1 /*step*/, |
| 2634 | &ok); |
| 2635 | if (!ok) |
| 2636 | return; |
| 2637 | |
| 2638 | insertColumnsLeft(count); |
| 2639 | } |
| 2640 | |
| 2641 | /*! |
| 2642 | * private helper function doing the actual insertion of columns to the left |
nothing calls this directly
no test coverage detected