| 102 | } |
| 103 | |
| 104 | RefactorWidget::RefactorWidget(TextEditor::TextEditorWidget *sourceEditor, QWidget *parent) |
| 105 | : QWidget(parent) |
| 106 | , m_sourceEditor(sourceEditor) |
| 107 | , m_leftEditor(nullptr) |
| 108 | , m_rightEditor(nullptr) |
| 109 | , m_leftContainer(nullptr) |
| 110 | , m_splitter(nullptr) |
| 111 | , m_statsLabel(nullptr) |
| 112 | , m_applyButton(nullptr) |
| 113 | , m_declineButton(nullptr) |
| 114 | , m_editorWidth(800) |
| 115 | , m_syncingScroll(false) |
| 116 | , m_isClosing(false) |
| 117 | , m_linesAdded(0) |
| 118 | , m_linesRemoved(0) |
| 119 | { |
| 120 | setupUi(); |
| 121 | applyEditorSettings(); |
| 122 | setWindowFlags(Qt::Popup | Qt::FramelessWindowHint); |
| 123 | setAttribute(Qt::WA_DeleteOnClose); |
| 124 | setFocusPolicy(Qt::StrongFocus); |
| 125 | } |
| 126 | |
| 127 | RefactorWidget::~RefactorWidget() |
| 128 | { |
nothing calls this directly
no outgoing calls
no test coverage detected