libs/libksane/libksane
ksane_widget_private.cpp
Go to the documentation of this file.
250 connect(m_optFilmType, SIGNAL(valueChanged()), this, SLOT(checkInvert()), Qt::QueuedConnection);
367 connect(m_commonGamma, SIGNAL(gammaChanged(int,int,int)), m_optGamR->widget(), SLOT(setValues(int,int,int)));
368 connect(m_commonGamma, SIGNAL(gammaChanged(int,int,int)), m_optGamG->widget(), SLOT(setValues(int,int,int)));
369 connect(m_commonGamma, SIGNAL(gammaChanged(int,int,int)), m_optGamB->widget(), SLOT(setValues(int,int,int)));
485 m_optsTabWidget->setMinimumWidth(min_width + m_basicScrollA->verticalScrollBar()->sizeHint().width() + 5);
539 m_optsTabWidget->setMinimumWidth(min_width + m_basicScrollA->verticalScrollBar()->sizeHint().width() + 5);
1008 emit (q->scanDone(KSaneWidget::ErrorGeneral, i18n(sane_strstatus(m_scanThread->saneStatus()))));
KSaneOption * m_optFilmType
Definition: ksane_widget_private.h:152
QTimer m_readValsTmr
Definition: ksane_widget_private.h:187
QToolButton * m_zOutBtn
Definition: ksane_widget_private.h:129
KSaneOption * m_optGamG
Definition: ksane_widget_private.h:164
KPushButton * m_cancelBtn
Definition: ksane_widget_private.h:139
QWidget * m_activityFrame
Definition: ksane_widget_private.h:136
QToolButton * m_zInBtn
Definition: ksane_widget_private.h:128
void setImageInverted(bool)
Definition: ksane_scan_thread.cpp:51
void clearDeviceOptions()
Definition: ksane_widget_private.cpp:97
KSaneOption * m_optGamB
Definition: ksane_widget_private.h:165
QToolButton * m_zSelBtn
Definition: ksane_widget_private.h:130
QList< KSaneOption * > m_optList
Definition: ksane_widget_private.h:148
virtual void createWidget(QWidget *parent)
Definition: ksane_option.cpp:59
KSaneOption * m_optMode
Definition: ksane_widget_private.h:153
QScrollArea * m_basicScrollA
Definition: ksane_widget_private.h:115
void signalDevListUpdate()
Definition: ksane_widget_private.cpp:159
void imageReady(QByteArray &data, int width, int height, int bytes_per_line, int format)
This Signal is emitted when a final scan is ready.
KTabWidget * m_optsTabWidget
Definition: ksane_widget_private.h:114
void previewScanDone()
Definition: ksane_widget_private.cpp:801
void setHighlightArea(float tl_x, float tl_y, float br_x, float br_y)
This function is used to darken everything except what is inside the given area.
Definition: ksane_viewer.cpp:294
void setBusy(bool busy)
Definition: ksane_widget_private.cpp:1022
static FindSaneDevicesThread * getInstance()
Definition: ksane_find_devices_thread.cpp:52
void setDefaultValues()
Definition: ksane_widget_private.cpp:488
KSaneWidget::ImageFormat getImgFormat(SANE_Parameters ¶ms)
Definition: ksane_widget_private.cpp:164
KSaneOption * m_optDepth
Definition: ksane_widget_private.h:154
QList< KSaneOption * > m_pollList
Definition: ksane_widget_private.h:149
int getBytesPerLines(SANE_Parameters ¶ms)
Definition: ksane_widget_private.cpp:197
bool imageResized()
Definition: ksane_preview_thread.cpp:463
void availableDevices(const QList< KSaneWidget::DeviceInfo > &deviceList)
This signal is emitted every time the device list is updated or after initGetDeviceList() is called...
int labelWidthHint()
Definition: ksane_option_widget.cpp:64
KPushButton * m_prevBtn
Definition: ksane_widget_private.h:134
One bit per pixel 1 = black 0 = white.
Definition: ksane.h:58
QWidget * m_otherOptsTab
Definition: ksane_widget_private.h:119
KSaneOption * m_optTlY
Definition: ksane_widget_private.h:159
bool saneStartDone()
Definition: ksane_preview_thread.cpp:458
bool m_closeDevicePending
Definition: ksane_widget_private.h:181
KSanePreviewThread * m_previewThread
Definition: ksane_widget_private.h:191
LabeledCheckbox * m_splitGamChB
Definition: ksane_widget_private.h:166
QToolButton * m_zFitBtn
Definition: ksane_widget_private.h:131
void setHighlightShown(int percentage, QColor hideColor=Qt::white)
This function sets the percentage of the highlighted area that is visible.
Definition: ksane_viewer.cpp:338
QByteArray m_scanData
Definition: ksane_widget_private.h:184
Every pixel consists of three colors in the order Read, Grean and Blue, with two bytes per color(no a...
Definition: ksane.h:64
QImage m_previewImg
Definition: ksane_widget_private.h:174
void startFinalScan()
Definition: ksane_widget_private.cpp:844
void findSelections(float area=10000.0)
Find selections in the picture.
Definition: ksane_viewer.cpp:797
QTimer m_optionPollTmr
Definition: ksane_widget_private.h:189
int scanProgress()
Definition: ksane_preview_thread.cpp:138
bool m_scanOngoing
Definition: ksane_widget_private.h:180
virtual bool getMaxValue(float &max)
Definition: ksane_option.cpp:197
The error string should contain an error message.
Definition: ksane.h:78
QWidget * m_colorOpts
Definition: ksane_widget_private.h:117
Definition: ksane_option.h:49
This enumeration value should never be returned to the user.
Definition: ksane.h:68
KSaneOption * m_optGamR
Definition: ksane_widget_private.h:163
QLabel * m_warmingUp
Definition: ksane_widget_private.h:137
KSaneOption * m_optPreview
Definition: ksane_widget_private.h:162
KSaneOption * m_optBrY
Definition: ksane_widget_private.h:161
KSaneWidgetPrivate(KSaneWidget *)
Definition: ksane_widget_private.cpp:50
QWidget * m_basicOptsTab
Definition: ksane_widget_private.h:116
KSaneScanThread * m_scanThread
Definition: ksane_widget_private.h:190
KSaneOption * m_optWaitForBtn
Definition: ksane_widget_private.h:168
Grayscale with one byte per pixel 0 = black 255 = white.
Definition: ksane.h:59
QProgressBar * m_progressBar
Definition: ksane_widget_private.h:138
KSaneOption * m_optBrX
Definition: ksane_widget_private.h:160
float m_previewWidth
Definition: ksane_widget_private.h:171
const QList< KSaneWidget::DeviceInfo > devicesList() const
Definition: ksane_find_devices_thread.cpp:102
ReadStatus frameStatus()
Definition: ksane_scan_thread.cpp:61
KSaneOption * m_optRes
Definition: ksane_widget_private.h:155
virtual bool getMinValue(float &max)
Definition: ksane_option.cpp:196
void updateProgress()
Definition: ksane_widget_private.cpp:1074
float m_previewDPI
Definition: ksane_widget_private.h:173
void scanDone(int status, const QString &strStatus)
This signal is emitted when the scanning has ended.
KSaneViewer * m_previewViewer
Definition: ksane_widget_private.h:126
KPushButton * m_scanBtn
Definition: ksane_widget_private.h:133
void setLabelWidth(int labelWidth)
Definition: ksane_option_widget.cpp:69
void devListUpdated()
Definition: ksane_widget_private.cpp:143
QScrollArea * m_otherScrollA
Definition: ksane_widget_private.h:118
SANE_Parameters saneParameters()
Definition: ksane_scan_thread.cpp:86
Grayscale withtTwo bytes per pixel.
Definition: ksane.h:60
bool selectionAt(int index, float &tl_x, float &tl_y, float &br_x, float &br_y)
Definition: ksane_viewer.cpp:441
void alertUser(int type, const QString &strStatus)
Definition: ksane_widget_private.cpp:1109
KSaneOption * m_optSource
Definition: ksane_widget_private.h:150
FindSaneDevicesThread * m_findDevThread
Definition: ksane_widget_private.h:196
LabeledCheckbox * m_invertColors
Definition: ksane_widget_private.h:120
void setPreviewInverted(bool)
Definition: ksane_preview_thread.cpp:60
float m_previewHeight
Definition: ksane_widget_private.h:172
QTimer m_updProgressTmr
Definition: ksane_widget_private.h:188
void oneFinalScanDone()
Definition: ksane_widget_private.cpp:887
void createOptInterface()
Definition: ksane_widget_private.cpp:231
KSaneOption * m_optTlX
Definition: ksane_widget_private.h:158
void scanProgress(int percent)
This Signal is emitted for progress information during a scan.
KSaneOption * m_optResX
Definition: ksane_widget_private.h:156
KSaneOption * m_optResY
Definition: ksane_widget_private.h:157
This class provides the widget containing the scan options and the preview.
Definition: ksane.h:48
void userMessage(int type, const QString &strStatus)
This signal is emitted when the user is to be notified about something.
LabeledGamma * m_commonGamma
Definition: ksane_widget_private.h:167
QWidget * m_btnFrame
Definition: ksane_widget_private.h:127
void updatePreviewSize()
Definition: ksane_widget_private.cpp:646
Every pixel consists of three colors in the order Read, Grean and Blue, with one byte per color (no a...
Definition: ksane.h:62
QToolButton * m_clearSelBtn
Definition: ksane_widget_private.h:132
KSaneOption * getOption(const QString &name)
Definition: ksane_widget_private.cpp:220
SANE_Handle m_saneHandle
Definition: ksane_widget_private.h:142
KSaneOption * m_optNegative
Definition: ksane_widget_private.h:151
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:23 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:23 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.