AddressRangeScrollBar

class AddressRangeScrollBar : public QScrollBar

Public Functions

AddressRangeScrollBar(QWidget *parent = nullptr)
void refreshRange()
void setPosition(RVA address)
RVA address()
RVA clampAddressToRange(RVA address)
RVA rangeSize()
void repostWheelEvent(QWheelEvent *event)

Reposts a wheel event to this scrollbar to synchronize its visual state.

This allows external widgets (like side panels or text edits) to notify the scrollbar of wheel activity. It is needed for systems which have the option to show the scrollbar only while scrolling (when using Cutter’s “Native” theme)

Parameters:

event – The original QWheelEvent to be processed by the scrollbar

Signals

void hideScrollBar()
void showScrollBar()
void scrolled(int lines)