HAL  v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
hal::ContentLayout Namespace Reference

Enumerations

enum  Position { Center , Left , Right , Bottom }
 

Functions

QString positionToString (Position pos)
 
Position positionFromString (const QString &s)
 

Detailed Description

The positions within the main content area of the GUI that a content widget can be docked to.

Enumeration Type Documentation

◆ Position

Enumerator
Center 
Left 
Right 
Bottom 

Definition at line 44 of file content_anchor.h.

Function Documentation

◆ positionFromString()

ContentLayout::Position hal::ContentLayout::positionFromString ( const QString s)

Definition at line 30 of file content_anchor.cpp.

References QMetaEnum::key(), and Right.

Referenced by hal::SettingsManager::widgetPlacement().

◆ positionToString()

QString hal::ContentLayout::positionToString ( Position  pos)

Definition at line 24 of file content_anchor.cpp.

References QMetaEnum::key().

Referenced by hal::SettingsManager::widgetsSaveGeometry().