RetroArch
Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
ShaderParamsDialog Class Reference

#include <shaderparamsdialog.h>

Inheritance diagram for ShaderParamsDialog:
[legend]
Collaboration diagram for ShaderParamsDialog:
[legend]

Public Slots

void reload ()
 

Signals

void closed ()
 
void resized (QSize size)
 

Public Member Functions

 ShaderParamsDialog (QWidget *parent=0)
 
 ~ShaderParamsDialog ()
 

Protected Member Functions

void closeEvent (QCloseEvent *event)
 
void resizeEvent (QResizeEvent *event)
 
void paintEvent (QPaintEvent *event)
 

Private Slots

void onShaderParamCheckBoxClicked ()
 
void onShaderParamSliderValueChanged (int value)
 
void onShaderParamSpinBoxValueChanged (int value)
 
void onShaderParamDoubleSpinBoxValueChanged (double value)
 
void onFilterComboBoxIndexChanged (int index)
 
void onGroupBoxContextMenuRequested (const QPoint &pos)
 
void onParameterLabelContextMenuRequested (const QPoint &pos)
 
void onScaleComboBoxIndexChanged (int index)
 
void onShaderPassMoveDownClicked ()
 
void onShaderPassMoveUpClicked ()
 
void onShaderResetPass (int pass)
 
void onShaderResetAllPasses ()
 
void onShaderResetParameter (QString parameter)
 
void onShaderLoadPresetClicked ()
 
void onShaderAddPassClicked ()
 
void onShaderSavePresetAsClicked ()
 
void onShaderSaveCorePresetClicked ()
 
void onShaderSaveParentPresetClicked ()
 
void onShaderSaveGamePresetClicked ()
 
void onShaderClearAllPassesClicked ()
 
void onShaderRemovePassClicked ()
 
void onShaderApplyClicked ()
 
void clearLayout ()
 
void buildLayout ()
 

Private Member Functions

QString getFilterLabel (unsigned filter)
 
void addShaderParam (struct video_shader_parameter *param, QFormLayout *form)
 
void getShaders (struct video_shader **menu_shader, struct video_shader **video_shader)
 
void saveShaderPreset (const char *path, unsigned action_type)
 

Private Attributes

QPointer< QVBoxLayout > m_layout
 
QPointer< QScrollArea > m_scrollArea
 

Constructor & Destructor Documentation

◆ ShaderParamsDialog()

ShaderParamsDialog::ShaderParamsDialog ( QWidget *  parent = 0)
Here is the call graph for this function:

◆ ~ShaderParamsDialog()

ShaderParamsDialog::~ShaderParamsDialog ( )

Member Function Documentation

◆ addShaderParam()

void ShaderParamsDialog::addShaderParam ( struct video_shader_parameter param,
QFormLayout *  form 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ buildLayout

void ShaderParamsDialog::buildLayout ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ clearLayout

void ShaderParamsDialog::clearLayout ( )
privateslot
Here is the caller graph for this function:

◆ closed

void ShaderParamsDialog::closed ( )
signal
Here is the caller graph for this function:

◆ closeEvent()

void ShaderParamsDialog::closeEvent ( QCloseEvent *  event)
protected

◆ getFilterLabel()

QString ShaderParamsDialog::getFilterLabel ( unsigned  filter)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getShaders()

void ShaderParamsDialog::getShaders ( struct video_shader **  menu_shader,
struct video_shader **  video_shader 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onFilterComboBoxIndexChanged

void ShaderParamsDialog::onFilterComboBoxIndexChanged ( int  index)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onGroupBoxContextMenuRequested

void ShaderParamsDialog::onGroupBoxContextMenuRequested ( const QPoint &  pos)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onParameterLabelContextMenuRequested

void ShaderParamsDialog::onParameterLabelContextMenuRequested ( const QPoint &  pos)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onScaleComboBoxIndexChanged

void ShaderParamsDialog::onScaleComboBoxIndexChanged ( int  index)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onShaderAddPassClicked

void ShaderParamsDialog::onShaderAddPassClicked ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onShaderApplyClicked

void ShaderParamsDialog::onShaderApplyClicked ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onShaderClearAllPassesClicked

void ShaderParamsDialog::onShaderClearAllPassesClicked ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onShaderLoadPresetClicked

void ShaderParamsDialog::onShaderLoadPresetClicked ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onShaderParamCheckBoxClicked

void ShaderParamsDialog::onShaderParamCheckBoxClicked ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onShaderParamDoubleSpinBoxValueChanged

void ShaderParamsDialog::onShaderParamDoubleSpinBoxValueChanged ( double  value)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onShaderParamSliderValueChanged

void ShaderParamsDialog::onShaderParamSliderValueChanged ( int  value)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onShaderParamSpinBoxValueChanged

void ShaderParamsDialog::onShaderParamSpinBoxValueChanged ( int  value)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onShaderPassMoveDownClicked

void ShaderParamsDialog::onShaderPassMoveDownClicked ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onShaderPassMoveUpClicked

void ShaderParamsDialog::onShaderPassMoveUpClicked ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onShaderRemovePassClicked

void ShaderParamsDialog::onShaderRemovePassClicked ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onShaderResetAllPasses

void ShaderParamsDialog::onShaderResetAllPasses ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onShaderResetParameter

void ShaderParamsDialog::onShaderResetParameter ( QString  parameter)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onShaderResetPass

void ShaderParamsDialog::onShaderResetPass ( int  pass)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onShaderSaveCorePresetClicked

void ShaderParamsDialog::onShaderSaveCorePresetClicked ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onShaderSaveGamePresetClicked

void ShaderParamsDialog::onShaderSaveGamePresetClicked ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onShaderSaveParentPresetClicked

void ShaderParamsDialog::onShaderSaveParentPresetClicked ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onShaderSavePresetAsClicked

void ShaderParamsDialog::onShaderSavePresetAsClicked ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ paintEvent()

void ShaderParamsDialog::paintEvent ( QPaintEvent *  event)
protected

◆ reload

void ShaderParamsDialog::reload ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ resized

void ShaderParamsDialog::resized ( QSize  size)
signal
Here is the caller graph for this function:

◆ resizeEvent()

void ShaderParamsDialog::resizeEvent ( QResizeEvent *  event)
protected

◆ saveShaderPreset()

void ShaderParamsDialog::saveShaderPreset ( const char *  path,
unsigned  action_type 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_layout

QPointer<QVBoxLayout> ShaderParamsDialog::m_layout
private

◆ m_scrollArea

QPointer<QScrollArea> ShaderParamsDialog::m_scrollArea
private

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