1 #ifndef _KVI_HTMLDIALOG_H_
2 #define _KVI_HTMLDIALOG_H_
33 #include <QTextBrowser>
42 m_pDoc =
new QTextDocument();
49 m_pDoc =
new QTextDocument();
52 m_pDoc->addResource(2, url, pix);
94 : QTextBrowser(par),
m_pHt(ht){};
99 qDebug(
"resource %s type %d and page %s", name.path().toUtf8().data(),
type, p.toUtf8().data());
129 void button1Pressed();
130 void button2Pressed();
131 void button3Pressed();
134 virtual void reject();
QTextDocument * m_pDoc
Definition: KviHtmlDialog.h:79
KviTextBrowser(QWidget *par, KviHtmlDialogData *ht)
Definition: KviHtmlDialog.h:93
#define KVIRC_API
Definition: kvi_settings.h:128
int iMinimumHeight
Definition: KviHtmlDialog.h:82
virtual QVariant loadResource(int type, const QUrl &name)
Definition: KviHtmlDialog.h:96
int iSelectedButton
Definition: KviHtmlDialog.h:87
int iDefaultButton
Definition: KviHtmlDialog.h:68
~KviTextBrowser()
Definition: KviHtmlDialog.h:95
QPixmap pixIcon
Definition: KviHtmlDialog.h:84
QString szCaption
Definition: KviHtmlDialog.h:73
int iMinimumWidth
Definition: KviHtmlDialog.h:81
~KviHtmlDialogData()
Definition: KviHtmlDialog.h:44
QString type()
Definition: KviRuntimeInfo.cpp:646
Definition: KviHtmlDialog.h:37
KviHtmlDialogData * m_pData
Definition: KviHtmlDialog.h:123
QString szButton3Text
Definition: KviHtmlDialog.h:78
int iFlags
Definition: KviHtmlDialog.h:67
QString szButton2Text
Definition: KviHtmlDialog.h:77
QHash< QString, QString > htmlResource
Definition: KviHtmlDialog.h:80
Definition: KviHtmlDialog.h:112
Flags
Definition: KviHtmlDialog.h:63
QString szLowerLabelText
Definition: KviHtmlDialog.h:75
KviHtmlDialogData()
Definition: KviHtmlDialog.h:40
QString szUpperLabelText
Definition: KviHtmlDialog.h:74
Definition: KviHtmlDialog.h:90
Definition: KviHtmlDialog.h:65
void addHtmlResource(const QString key, const QString value)
Definition: KviHtmlDialog.h:55
QString name()
Definition: KviRuntimeInfo.cpp:655
KviHtmlDialogData * m_pHt
Definition: KviHtmlDialog.h:109
int iCancelButton
Definition: KviHtmlDialog.h:69
This file contains compile time settings.
#define p
Definition: detector.cpp:80
Helper functions for the QString class.
void addImageResource(const QString &key, const QPixmap &pix)
Definition: KviHtmlDialog.h:46
QString szHtmlText
Definition: KviHtmlDialog.h:70
QString szButton1Text
Definition: KviHtmlDialog.h:76