Open 3D Engine AzQtComponents API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzQtComponents::Menu Class Reference

Class to handle styling and painting of QMenu controls. More...

#include <Menu.h>

Classes

struct  Config
 Style configuration for the Menu class. More...
 
struct  Margins
 Settings for margins around the menu. More...
 

Static Public Member Functions

static Config loadConfig (QSettings &settings)
 
static Config defaultConfig ()
 Gets the default Menu style configuration.
 

Friends

class Style
 

Detailed Description

Class to handle styling and painting of QMenu controls.

Member Function Documentation

◆ loadConfig()

static Config AzQtComponents::Menu::loadConfig ( QSettings &  settings)
static

Sets the Menu style configuration.

Parameters
settingsThe settings object to load the configuration from.
Returns
The new configuration of the Menu.

The documentation for this class was generated from the following file: