Classes | |
class | TextBrowserDownloadCache |
class | TextBrowserDownloadQueue |
class | TextBrowserDownloadThread |
class | TextBrowser |
class TextBrowserDownloadCache |
Public Member Functions | |
TextBrowserDownloadCache () | |
bool | lookup (const QUrl &url, QByteArray &result) |
void | add (const QUrl &url, const QByteArray &data) |
void | beginRequest (const QUrl &url) |
void | endRequest (const QUrl &url) |
bool | isInProgress (const QUrl &url) |
TextBrowserDownloadCache::TextBrowserDownloadCache | ( | ) |
bool TextBrowserDownloadCache::lookup | ( | const QUrl & | url, |
QByteArray & | result ) |
void TextBrowserDownloadCache::add | ( | const QUrl & | url, |
const QByteArray & | data ) |
void TextBrowserDownloadCache::beginRequest | ( | const QUrl & | url | ) |
void TextBrowserDownloadCache::endRequest | ( | const QUrl & | url | ) |
bool TextBrowserDownloadCache::isInProgress | ( | const QUrl & | url | ) |
class TextBrowserDownloadQueue |
Signals | |
void | dataDownloaded (QUrl name, QByteArray contents) |
Public Member Functions | |
TextBrowserDownloadQueue (TextBrowser *owner) | |
void | stop () |
void | threadFinished () |
bool | processNextEvent (BinaryNinja::DownloadInstance *downloadInstance) |
void | downloadData (const QUrl &name) |
TextBrowserDownloadQueue::TextBrowserDownloadQueue | ( | TextBrowser * | owner | ) |
void TextBrowserDownloadQueue::stop | ( | ) |
void TextBrowserDownloadQueue::threadFinished | ( | ) |
bool TextBrowserDownloadQueue::processNextEvent | ( | BinaryNinja::DownloadInstance * | downloadInstance | ) |
void TextBrowserDownloadQueue::downloadData | ( | const QUrl & | name | ) |
|
signal |
class TextBrowserDownloadThread |
Public Member Functions | |
TextBrowserDownloadThread (TextBrowserDownloadQueue *queue) | |
Protected Member Functions | |
virtual void | run () override |
TextBrowserDownloadThread::TextBrowserDownloadThread | ( | TextBrowserDownloadQueue * | queue | ) |
|
overrideprotectedvirtual |
class TextBrowser |
Public Member Functions | |
TextBrowser (QSharedPointer< TextBrowserDownloadCache > cache=QSharedPointer< TextBrowserDownloadCache >()) | |
virtual | ~TextBrowser () |
void | reset () |
virtual QVariant | loadResource (int type, const QUrl &name) override |
void | resizeImagesToWidth () |
QSharedPointer< TextBrowserDownloadCache > | cache () |
void | downloadMarkdown (QUrl url, QString prefix=QString()) |
Protected Member Functions | |
virtual void | resizeEvent (QResizeEvent *e) override |
TextBrowser::TextBrowser | ( | QSharedPointer< TextBrowserDownloadCache > | cache = QSharedPointer< TextBrowserDownloadCache >() | ) |
|
virtual |
|
overrideprotectedvirtual |
void TextBrowser::reset | ( | ) |
|
overridevirtual |
void TextBrowser::resizeImagesToWidth | ( | ) |
|
inline |
void TextBrowser::downloadMarkdown | ( | QUrl | url, |
QString | prefix = QString() ) |