KSaneCore
7#ifndef KSANE_PAGESIZE_OPTION_H
8#define KSANE_PAGESIZE_OPTION_H
12#include "baseoption.h"
17static const QString PageSizeOptionName = QStringLiteral(
"KSane::PageSize");
19class PageSizeOption :
public BaseOption
24 PageSizeOption(BaseOption *m_optionTopLeftX,
25 BaseOption *m_optionTopLeftY,
26 BaseOption *m_optionBottomRightX,
27 BaseOption *m_optionBottomRightY,
28 BaseOption *m_optionResolution);
31 QString valueAsString()
const override;
36 QString description()
const override;
37 QVariantList valueList()
const override;
40 bool setValue(
const QVariant &value)
override;
43 void optionTopLeftXUpdated();
44 void optionTopLeftYUpdated();
45 void optionBottomRightXUpdated();
46 void optionBottomRightYUpdated();
49 double ensureMilliMeter(BaseOption *option,
double value);
51 BaseOption *m_optionTopLeftX;
52 BaseOption *m_optionTopLeftY;
53 BaseOption *m_optionBottomRightX;
54 BaseOption *m_optionBottomRightY;
55 BaseOption *m_optionResolution;
56 int m_currentIndex = -1;
58 QVariantList m_availableSizesListNames;
OptionState
This enumeration describes the current statue of the value of the option, indicating if this option s...
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:34 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.