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){};
98 QString
p =
m_pHt->htmlResource.value(name.path());
Helper functions for the QString class.
Definition KviHtmlDialog.h:38
int iFlags
Definition KviHtmlDialog.h:67
QString szButton1Text
Definition KviHtmlDialog.h:76
Flags
Definition KviHtmlDialog.h:64
@ ForceMinimumSize
Definition KviHtmlDialog.h:65
int iSelectedButton
Definition KviHtmlDialog.h:87
QString szLowerLabelText
Definition KviHtmlDialog.h:75
QString szHtmlText
Definition KviHtmlDialog.h:70
QString szButton2Text
Definition KviHtmlDialog.h:77
void addImageResource(const QString &key, const QPixmap &pix)
Definition KviHtmlDialog.h:46
int iDefaultButton
Definition KviHtmlDialog.h:68
QString szButton3Text
Definition KviHtmlDialog.h:78
KviHtmlDialogData()
Definition KviHtmlDialog.h:40
QString szCaption
Definition KviHtmlDialog.h:73
QTextDocument * m_pDoc
Definition KviHtmlDialog.h:79
int iCancelButton
Definition KviHtmlDialog.h:69
~KviHtmlDialogData()
Definition KviHtmlDialog.h:44
void addHtmlResource(const QString key, const QString value)
Definition KviHtmlDialog.h:55
QHash< QString, QString > htmlResource
Definition KviHtmlDialog.h:80
int iMinimumWidth
Definition KviHtmlDialog.h:81
QPixmap pixIcon
Definition KviHtmlDialog.h:84
int iMinimumHeight
Definition KviHtmlDialog.h:82
QString szUpperLabelText
Definition KviHtmlDialog.h:74
void button2Pressed()
Definition KviHtmlDialog.cpp:131
void button1Pressed()
Definition KviHtmlDialog.cpp:125
KviHtmlDialog(QWidget *pParent, KviHtmlDialogData *pData)
Definition KviHtmlDialog.cpp:33
void button3Pressed()
Definition KviHtmlDialog.cpp:137
virtual void reject()
Definition KviHtmlDialog.cpp:143
static int display(QWidget *pParent, KviHtmlDialogData *pData)
Definition KviHtmlDialog.cpp:149
KviHtmlDialogData * m_pData
Definition KviHtmlDialog.h:122
~KviTextBrowser()
Definition KviHtmlDialog.h:95
KviHtmlDialogData * m_pHt
Definition KviHtmlDialog.h:108
KviTextBrowser(QWidget *par, KviHtmlDialogData *ht)
Definition KviHtmlDialog.h:93
virtual QVariant loadResource(int type, const QUrl &name)
Definition KviHtmlDialog.h:96
#define p
Definition detector.cpp:81
This file contains compile time settings.
#define KVIRC_API
Definition kvi_settings.h:127