Code Documentation 3.3
Social Network Visualizer
Loading...
Searching...
No Matches
DialogWebCrawler Class Reference

#include <forms/dialogwebcrawler.h>

Inheritance diagram for DialogWebCrawler:
Collaboration diagram for DialogWebCrawler:

Public Slots

void checkErrors ()
 Checks crawler form for user input errors.
void getUserChoices ()
 gathers data from web crawler form
QStringList parseTextEditInput (const QString &html)
 Parses HTML-formatted input string and returns a list of all strings inside.

Signals

void userChoices (const QUrl &startUrl, const QStringList &, const QStringList &, const QStringList &, const int &maxNodes, const int &maxLinks, const bool &intLinks, const bool &childLinks, const bool &parentLinks, const bool &selfLinks, const bool &extLinksAllowed, const bool &extLinksCrawl, const bool &socialLinks, const bool &delayedRequests)
void webCrawlerDialogError (QString)

Public Member Functions

 DialogWebCrawler (QWidget *parent=Q_NULLPTR)

Private Attributes

Ui::DialogWebCrawler ui
QString seedUrlInputStr
QUrl seedUrl
int maxLinksPerPage
int maxUrlsToCrawl
bool extLinks
bool intLinks
bool extLinksAllowed
bool childLinks
bool parentLinks
bool socialLinks
QStringList linkClasses
QStringList urlPatternsIncluded
QStringList urlPatternsExcluded

Constructor & Destructor Documentation

◆ DialogWebCrawler()

DialogWebCrawler::DialogWebCrawler ( QWidget * parent = Q_NULLPTR)
explicit

Member Function Documentation

◆ checkErrors

void DialogWebCrawler::checkErrors ( )
slot

Checks crawler form for user input errors.

◆ getUserChoices

void DialogWebCrawler::getUserChoices ( )
slot

gathers data from web crawler form

◆ parseTextEditInput

QStringList DialogWebCrawler::parseTextEditInput ( const QString & html)
slot

Parses HTML-formatted input string and returns a list of all strings inside.

...

Parameters
html
Returns

◆ userChoices

void DialogWebCrawler::userChoices ( const QUrl & startUrl,
const QStringList & ,
const QStringList & ,
const QStringList & ,
const int & maxNodes,
const int & maxLinks,
const bool & intLinks,
const bool & childLinks,
const bool & parentLinks,
const bool & selfLinks,
const bool & extLinksAllowed,
const bool & extLinksCrawl,
const bool & socialLinks,
const bool & delayedRequests )
signal

◆ webCrawlerDialogError

void DialogWebCrawler::webCrawlerDialogError ( QString )
signal

Member Data Documentation

◆ childLinks

bool DialogWebCrawler::childLinks
private

◆ extLinks

bool DialogWebCrawler::extLinks
private

◆ extLinksAllowed

bool DialogWebCrawler::extLinksAllowed
private

◆ intLinks

bool DialogWebCrawler::intLinks
private

◆ linkClasses

QStringList DialogWebCrawler::linkClasses
private

◆ maxLinksPerPage

int DialogWebCrawler::maxLinksPerPage
private

◆ maxUrlsToCrawl

int DialogWebCrawler::maxUrlsToCrawl
private

◆ parentLinks

bool DialogWebCrawler::parentLinks
private

◆ seedUrl

QUrl DialogWebCrawler::seedUrl
private

◆ seedUrlInputStr

QString DialogWebCrawler::seedUrlInputStr
private

◆ socialLinks

bool DialogWebCrawler::socialLinks
private

◆ ui

Ui::DialogWebCrawler DialogWebCrawler::ui
private

◆ urlPatternsExcluded

QStringList DialogWebCrawler::urlPatternsExcluded
private

◆ urlPatternsIncluded

QStringList DialogWebCrawler::urlPatternsIncluded
private

The documentation for this class was generated from the following files: