| 31 | } |
| 32 | |
| 33 | void CommonTest::listStack(QUndoStack* stack) { |
| 34 | qDebug() << "--------------------------"; |
| 35 | qDebug() << "Begin list Undostack History"; |
| 36 | if (stack) { |
| 37 | for (int i = 0; i < stack->count(); i++) { |
| 38 | qDebug() << stack->text(i); |
| 39 | } |
| 40 | } |
| 41 | qDebug() << "End list Undostack History"; |
| 42 | qDebug() << "--------------------------"; |
| 43 | } |
| 44 | |
| 45 | void CommonTest::wait(int milliseconds) { |
| 46 | QTimer timer(this); |