PresetChooser

Search for usage in LXR

PresetChooser Class Reference

#include <PresetChooser.h>

Signals

void presetClicked (Resource resource)
 
void presetSelected (Resource resource)
 

Public Slots

ResourcecurrentPreset () const
 
void setCurrentPreset (Resource *resource)
 

Public Member Functions

 PresetChooser (QWidget *parent=0)
 

Detailed Description

The PresetChooser widget wraps the KisPresetChooser widget.

The widget provides for selecting brush presets. It has a tagging bar and a filter field. It is not automatically synchronized with the currently selected preset in the current Windows.

Definition at line 25 of file PresetChooser.h.

Constructor & Destructor Documentation

◆ PresetChooser()

PresetChooser::PresetChooser ( QWidget * parent = 0)

Definition at line 12 of file PresetChooser.cpp.

◆ ~PresetChooser()

PresetChooser::~PresetChooser ( )
inlineoverride

Definition at line 30 of file PresetChooser.h.

Member Function Documentation

◆ currentPreset

Resource * PresetChooser::currentPreset ( ) const
slot
Returns
a Resource wrapper around the currently selected preset.

Definition at line 27 of file PresetChooser.cpp.

◆ presetClicked

void PresetChooser::presetClicked ( Resource resource)
signal

Emitted whenever a user clicks on the given preset.

◆ presetSelected

void PresetChooser::presetSelected ( Resource resource)
signal

Emitted whenever a user selects the given preset.

◆ setCurrentPreset

void PresetChooser::setCurrentPreset ( Resource * resource)
slot

Make the given preset active.

Definition at line 21 of file PresetChooser.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:09 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.