MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / RefactorWidget

Method RefactorWidget

widgets/RefactorWidget.cpp:104–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104RefactorWidget::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
127RefactorWidget::~RefactorWidget()
128{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected