Issue #108: Add accessibility options in pdf reader [enhancement] - settings in ui, finish work

This commit is contained in:
Jakub Melka
2023-11-19 14:28:23 +01:00
parent 6f6ddaab04
commit 65fd88aa71
10 changed files with 256 additions and 18 deletions

View File

@ -197,6 +197,26 @@ void PDFColorConvertor::calculateSigmoidParams()
m_sigmoidParamC_Range = sigmoidParamC_Range();
}
QColor PDFColorConvertor::getForegroundColor() const
{
return m_foregroundColor;
}
QColor PDFColorConvertor::getBackgroundColor() const
{
return m_backgroundColor;
}
void PDFColorConvertor::setForegroundColor(const QColor& newForegroundColor)
{
m_foregroundColor = newForegroundColor;
}
void PDFColorConvertor::setBackgroundColor(const QColor& newBackgroundColor)
{
m_backgroundColor = newBackgroundColor;
}
int PDFColorConvertor::getBitonalThreshold() const
{
return m_bitonalThreshold;