LibreOffice Module extensions (master) 1
Classes | Macros | Functions
sanedlg.cxx File Reference
#include <stdlib.h>
#include <o3tl/sprintf.hxx>
#include <tools/config.hxx>
#include <unotools/resmgr.hxx>
#include <vcl/bitmapex.hxx>
#include <vcl/customweld.hxx>
#include <vcl/dibtools.hxx>
#include <vcl/lineinfo.hxx>
#include <vcl/weld.hxx>
#include <vcl/svapp.hxx>
#include <vcl/event.hxx>
#include "sanedlg.hxx"
#include "grid.hxx"
#include <math.h>
#include <sal/macros.h>
#include <sal/log.hxx>
#include <rtl/strbuf.hxx>
#include <memory>
#include <strings.hrc>
Include dependency graph for sanedlg.cxx:

Go to the source code of this file.

Classes

class  ScanPreview
 

Macros

#define PREVIEW_WIDTH   113
 
#define PREVIEW_HEIGHT   160
 
#define RECT_SIZE_PIX   7
 

Functions

 IMPL_LINK (SaneDlg, ClickBtnHdl, weld::Button &, rButton, void)
 
 IMPL_LINK (SaneDlg, ToggleBtnHdl, weld::Toggleable &, rButton, void)
 
 IMPL_LINK (SaneDlg, SelectHdl, weld::ComboBox &, rListBox, void)
 
 IMPL_LINK_NOARG (SaneDlg, OptionsBoxSelectHdl, weld::TreeView &, void)
 
 IMPL_LINK (SaneDlg, ModifyHdl, weld::Entry &, rEdit, void)
 
 IMPL_LINK (SaneDlg, ValueModifyHdl, weld::ComboBox &, rEdit, void)
 
 IMPL_LINK (SaneDlg, MetricValueModifyHdl, weld::MetricSpinButton &, rEdit, void)
 
 IMPL_LINK_NOARG (SaneDlg, ReloadSaneOptionsHdl, Sane &, void)
 

Macro Definition Documentation

◆ PREVIEW_HEIGHT

#define PREVIEW_HEIGHT   160

Definition at line 41 of file sanedlg.cxx.

◆ PREVIEW_WIDTH

#define PREVIEW_WIDTH   113

Definition at line 40 of file sanedlg.cxx.

◆ RECT_SIZE_PIX

#define RECT_SIZE_PIX   7

Definition at line 43 of file sanedlg.cxx.

Function Documentation

◆ IMPL_LINK() [1/6]

IMPL_LINK ( SaneDlg  ,
ClickBtnHdl  ,
weld::Button ,
rButton  ,
void   
)

◆ IMPL_LINK() [2/6]

IMPL_LINK ( SaneDlg  ,
MetricValueModifyHdl  ,
weld::MetricSpinButton ,
rEdit  ,
void   
)

Definition at line 826 of file sanedlg.cxx.

◆ IMPL_LINK() [3/6]

IMPL_LINK ( SaneDlg  ,
ModifyHdl  ,
weld::Entry ,
rEdit  ,
void   
)

Definition at line 751 of file sanedlg.cxx.

References o3tl::sprintf().

◆ IMPL_LINK() [4/6]

IMPL_LINK ( SaneDlg  ,
SelectHdl  ,
weld::ComboBox ,
rListBox  ,
void   
)

Definition at line 658 of file sanedlg.cxx.

References Sane::CountDevices(), and Sane::IsSane().

◆ IMPL_LINK() [5/6]

IMPL_LINK ( SaneDlg  ,
ToggleBtnHdl  ,
weld::Toggleable ,
rButton  ,
void   
)

Definition at line 642 of file sanedlg.cxx.

◆ IMPL_LINK() [6/6]

IMPL_LINK ( SaneDlg  ,
ValueModifyHdl  ,
weld::ComboBox ,
rEdit  ,
void   
)

Definition at line 790 of file sanedlg.cxx.

References i.

◆ IMPL_LINK_NOARG() [1/2]

IMPL_LINK_NOARG ( SaneDlg  ,
OptionsBoxSelectHdl  ,
weld::TreeView ,
void   
)

Definition at line 686 of file sanedlg.cxx.

References Sane::IsSane(), nElements, nType, and OUStringToOString().

◆ IMPL_LINK_NOARG() [2/2]

IMPL_LINK_NOARG ( SaneDlg  ,
ReloadSaneOptionsHdl  ,
Sane ,
void   
)

Definition at line 853 of file sanedlg.cxx.