| 126 | } |
| 127 | |
| 128 | void OutputWidget::startExecution(const QString& label) |
| 129 | { |
| 130 | _checkerOutput.clear(); |
| 131 | |
| 132 | TextLayoutLock lock(this); |
| 133 | auto c = ui->textBrowser->textCursor(); |
| 134 | c.movePosition(QTextCursor::End); |
| 135 | |
| 136 | // Create table containing heading |
| 137 | auto* table = c.insertTable(1, 3, _headerTableFormat); |
| 138 | |
| 139 | auto leftSideCursor = table->cellAt(0, 0).firstCursorPosition(); |
| 140 | leftSideCursor.insertText(QString(QChar::ObjectReplacementCharacter), _arrowFormat); |
| 141 | |
| 142 | auto headerCursor = table->cellAt(0, 1).firstCursorPosition(); |
| 143 | headerCursor.insertText(label, noticeCharFormat()); |
| 144 | |
| 145 | auto rightSideCursor = table->cellAt(0, 2).firstCursorPosition(); |
| 146 | rightSideCursor.setBlockFormat(_rightAlignBlockFormat); |
| 147 | _statusCursor = rightSideCursor; |
| 148 | |
| 149 | // Create frame which will contain children |
| 150 | c.movePosition(QTextCursor::End); |
| 151 | _frame = c.insertFrame(_frameFormat); |
| 152 | |
| 153 | _hadServerUrl = false; |
| 154 | |
| 155 | _solutionCount = 0; |
| 156 | _effectiveSolutionLimit = _solutionLimit; |
| 157 | } |
| 158 | |
| 159 | void OutputWidget::associateProfilerExecution(int executionId) |
| 160 | { |
no test coverage detected