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

Method CustomSplitterHandle

widgets/RefactorWidget.cpp:35–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33namespace QodeAssist {
34
35CustomSplitterHandle::CustomSplitterHandle(Qt::Orientation orientation, QSplitter *parent)
36 : QSplitterHandle(orientation, parent)
37{
38 if (orientation == Qt::Horizontal) {
39 setCursor(Qt::SplitHCursor);
40 } else {
41 setCursor(Qt::SplitVCursor);
42 }
43
44 setMouseTracking(true);
45}
46
47void CustomSplitterHandle::paintEvent(QPaintEvent *)
48{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected