| 33 | namespace QodeAssist { |
| 34 | |
| 35 | CustomSplitterHandle::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 | |
| 47 | void CustomSplitterHandle::paintEvent(QPaintEvent *) |
| 48 | { |
nothing calls this directly
no outgoing calls
no test coverage detected