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 showTransientScrollBar()¶
Sends fake wheelEvent to the parent QScrollBar.
This allows external widgets (like side panels or text edits) to notify the scrollbar of wheel activity. It is needed for systems (like MacOS) which have the option to enable transient scrollbars meaning the ability to show the scrollbar only while scrolling and hiding it later (when using Cutter’s “Native” theme)
-
AddressRangeScrollBar(QWidget *parent = nullptr)¶