digiKam
Digikam::DIntRangeBox Class Reference
+ Inheritance diagram for Digikam::DIntRangeBox:

Signals

void maxChanged (int)
 
void minChanged (int)
 

Public Member Functions

 DIntRangeBox (QWidget *const parent=nullptr)
 
int maxValue ()
 
int minValue ()
 
void setEnabled (bool enabled)
 
void setInterval (int min, int max)
 
void setRange (int min, int max)
 
void setSuffix (const QString &suffix)
 
 ~DIntRangeBox () override
 

Constructor & Destructor Documentation

◆ DIntRangeBox()

Digikam::DIntRangeBox::DIntRangeBox ( QWidget *const  parent = nullptr)
explicit

References maxChanged(), and minChanged().

◆ ~DIntRangeBox()

Digikam::DIntRangeBox::~DIntRangeBox ( )
override

Member Function Documentation

◆ maxChanged

void Digikam::DIntRangeBox::maxChanged ( int  )
signal

Referenced by DIntRangeBox().

◆ maxValue()

int Digikam::DIntRangeBox::maxValue ( )

This method returns the maximum value of the interval.

Returns
the maximum value.

Referenced by Digikam::FuzzySearchView::doSaveState(), and Digikam::FuzzySearchView::dropEvent().

◆ minChanged

void Digikam::DIntRangeBox::minChanged ( int  )
signal

Referenced by DIntRangeBox().

◆ minValue()

int Digikam::DIntRangeBox::minValue ( )

This method returns the minimum value of the interval.

Returns
the minimum value.

Referenced by Digikam::FuzzySearchView::doSaveState(), and Digikam::FuzzySearchView::dropEvent().

◆ setEnabled()

void Digikam::DIntRangeBox::setEnabled ( bool  enabled)

This method enables or disables the embedded spinboxes.

Parameters
enabledIf the interval boxes should be enabled.

◆ setInterval()

void Digikam::DIntRangeBox::setInterval ( int  min,
int  max 
)

This method sets the minimum and maximum of the interval.

Parameters
minThe minimum value of the interval.
maxThe maximum value of the interval.

Referenced by Digikam::FuzzySearchView::doLoadState().

◆ setRange()

void Digikam::DIntRangeBox::setRange ( int  min,
int  max 
)

This method sets the lower and upper threshold of possible interval minimum and maximum values.

Parameters
minthe lowest value to which the interval can be expanded.
maxthe highest value to which the interval can be expanded.

◆ setSuffix()

void Digikam::DIntRangeBox::setSuffix ( const QString &  suffix)

This method sets the suffix for the minimum and maximum value boxes.

Parameters
suffixThe suffix.

References suffix.


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