1 #ifndef _KVI_IMAGEDIALOG_H_
2 #define _KVI_IMAGEDIALOG_H_
35 #include <QStringList>
56 virtual void paint(QPainter *
p);
59 #define KID_TYPE_BUILTIN_IMAGES_SMALL 1
60 #define KID_TYPE_FULL_PATH 2
62 #define KID_TYPE_ALL 3
69 const QString & szCaption = QString(),
72 const QString & szInitialDir = QString(),
73 int maxPreviewFileSize = 256000,
bool modal =
false);
99 void startJob(
int type,
const QString & szInitialPath = QString());
100 void jobTerminated();
101 virtual void closeEvent(QCloseEvent *
e);
104 void cancelClicked();
106 void jobTypeSelected(
int index);
107 void itemDoubleClicked(QListWidgetItem * it);
111 #endif //_KVI_IMAGEDIALOG_H_
QString m_szInitialPath
Definition: KviImageDialog.h:92
KviDynamicToolTip * m_pTip
Definition: KviImageDialog.h:94
virtual int width(const KviTalListWidget *) const
Definition: KviImageDialog.cpp:44
const QString & selectedImage()
Definition: KviImageDialog.h:97
#define KVIRC_API
Definition: kvi_settings.h:128
QString m_szImageId
Definition: KviImageDialog.h:42
QString m_szTipText
Definition: KviImageDialog.h:43
Definition: KviImageDialog.h:64
bool m_bIsFolder
Definition: KviImageDialog.h:41
QTimer * m_pTimer
Definition: KviImageDialog.h:80
QString type()
Definition: KviRuntimeInfo.cpp:646
QString m_szJobPath
Definition: KviImageDialog.h:85
#define e
Definition: detector.cpp:69
QComboBox * m_pTypeComboBox
Definition: KviImageDialog.h:77
Definition: KviImageDialog.h:38
int m_iMaxPreviewFileSize
Definition: KviImageDialog.h:83
QString m_szSelectedImage
Definition: KviImageDialog.h:90
int m_iJobIndexHelper
Definition: KviImageDialog.h:88
int m_iJobType
Definition: KviImageDialog.h:81
virtual int height(const KviTalListWidget *) const
Definition: KviImageDialog.cpp:39
KviTalListWidget * m_pListBox
Definition: KviImageDialog.h:79
#define KID_TYPE_ALL
Definition: KviImageDialog.h:62
const QString & imageId()
Definition: KviImageDialog.h:52
~KviImageDialogItem()
Definition: KviImageDialog.h:48
KviImageDialogItem(KviTalListWidget *b, const QPixmap &thumb, const QString &szFile, const QString &image_id, const QString &szTipText=QString(), bool bIsFolder=false)
Definition: KviImageDialog.h:46
This file contains compile time settings.
const QString & tipText()
Definition: KviImageDialog.h:53
QStringList m_lJobFileList
Definition: KviImageDialog.h:86
#define p
Definition: detector.cpp:80
QList< int > * m_pTypeList
Definition: KviImageDialog.h:78
bool isFolder()
Definition: KviImageDialog.h:51
virtual void paint(QPainter *p)
Definition: KviImageDialog.cpp:57