Loading...
Searching...
No Matches
AddressIndicator

Detailed Description

Classes

struct  DisplayOptions
 Options for displaying an address or address range. More...
 
class  AddressIndicator
 

Enumerations

enum class  OffsetFormat : char {
  OffsetFormat::VirtualAddress , OffsetFormat::FileStart , OffsetFormat::SegmentStart , OffsetFormat::SectionStart ,
  OffsetFormat::FunctionStart
}
 Format for displaying offsets. More...
 
enum class  RangeFormat : char { RangeFormat::StartOnly , RangeFormat::EndOnly , RangeFormat::StartAndLength , RangeFormat::StartAndEnd }
 Format for displaying an address range. More...
 

Class Documentation

◆ DisplayOptions

struct DisplayOptions

Options for displaying an address or address range.

Class Members
OffsetFormat format = OffsetFormat::VirtualAddress
RangeFormat rangeFormat = RangeFormat::StartAndEnd

◆ AddressIndicator

class AddressIndicator

Public Member Functions

 AddressIndicator (QWidget *parent)
 
void clear ()
 
void setOffsets (uint64_t begin, uint64_t end, BinaryViewRef view)
 
- Public Member Functions inherited from MenuHelper
 MenuHelper ()
 
 MenuHelper (QWidget *parent)
 
void setBackgroundColorRole (QPalette::ColorRole role)
 
void setActiveBackgroundColorRole (QPalette::ColorRole role)
 
void setPressedBackgroundColorRole (QPalette::ColorRole role)
 
void setForegroundColorRole (QPalette::ColorRole role)
 
void setActiveForegroundColorRole (QPalette::ColorRole role)
 
void setPressedForegroundColorRole (QPalette::ColorRole role)
 

Protected Member Functions

virtual void showMenu ()
 
- Protected Member Functions inherited from MenuHelper
void enterEvent (QEnterEvent *event) override
 
void leaveEvent (QEvent *event) override
 
void mousePressEvent (QMouseEvent *event) override
 
void mouseReleaseEvent (QMouseEvent *event) override
 
void updateColors ()
 

Additional Inherited Members

- Signals inherited from MenuHelper
void clicked ()
 
- Protected Slots inherited from MenuHelper
- Protected Attributes inherited from MenuHelper
Menu m_menu
 
ContextMenuManagerm_contextMenuManager
 
QTimer * m_timer
 
bool m_active
 
bool m_pressed
 

Constructor & Destructor Documentation

◆ AddressIndicator()

AddressIndicator::AddressIndicator ( QWidget * parent)

Member Function Documentation

◆ clear()

void AddressIndicator::clear ( )

◆ setOffsets()

void AddressIndicator::setOffsets ( uint64_t begin,
uint64_t end,
BinaryViewRef view )

◆ showMenu()

virtual void AddressIndicator::showMenu ( )
protectedvirtual

Implements MenuHelper.

Enumeration Type Documentation

◆ OffsetFormat

enum class OffsetFormat : char
strong

Format for displaying offsets.

Enumerator
VirtualAddress 
FileStart 
SegmentStart 
SectionStart 
FunctionStart 

◆ RangeFormat

enum class RangeFormat : char
strong

Format for displaying an address range.

Enumerator
StartOnly 
EndOnly 
StartAndLength 
StartAndEnd