Code Documentation 3.3
Social Network Visualizer
Loading...
Searching...
No Matches
dialogwebcrawler.h
Go to the documentation of this file.
1
15
16
17#ifndef WEBCRAWLERDIALOG_H
18#define WEBCRAWLERDIALOG_H
19
20class QUrl;
21
22#include <QDialog>
23
24#include "ui_dialogwebcrawler.h"
25
26
27class DialogWebCrawler: public QDialog
28{
29 Q_OBJECT
30public:
31 explicit DialogWebCrawler (QWidget *parent = Q_NULLPTR);
32
33public slots:
34 void checkErrors ();
35 void getUserChoices ();
36 QStringList parseTextEditInput(const QString &html);
37signals:
38 void userChoices( const QUrl &startUrl,
39 const QStringList &,
40 const QStringList &,
41 const QStringList &,
42 const int &maxNodes,
43 const int &maxLinks,
44 const bool &intLinks,
45 const bool &childLinks,
46 const bool &parentLinks,
47 const bool &selfLinks,
48 const bool &extLinksAllowed,
49 const bool &extLinksCrawl,
50 const bool &socialLinks,
51 const bool &delayedRequests
52 );
53 void webCrawlerDialogError(QString);
54private:
55 Ui::DialogWebCrawler ui;
57 QUrl seedUrl ;
63 QStringList linkClasses;
66
67};
68
69
70
71#endif
void getUserChoices()
gathers data from web crawler form
Definition dialogwebcrawler.cpp:330
bool childLinks
Definition dialogwebcrawler.h:61
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)
QStringList parseTextEditInput(const QString &html)
Parses HTML-formatted input string and returns a list of all strings inside.
Definition dialogwebcrawler.cpp:274
int maxUrlsToCrawl
Definition dialogwebcrawler.h:58
bool parentLinks
Definition dialogwebcrawler.h:61
QStringList urlPatternsIncluded
Definition dialogwebcrawler.h:64
QUrl seedUrl
Definition dialogwebcrawler.h:57
bool intLinks
Definition dialogwebcrawler.h:59
int maxLinksPerPage
Definition dialogwebcrawler.h:58
QStringList linkClasses
Definition dialogwebcrawler.h:63
bool extLinksAllowed
Definition dialogwebcrawler.h:60
QStringList urlPatternsExcluded
Definition dialogwebcrawler.h:65
bool socialLinks
Definition dialogwebcrawler.h:62
Ui::DialogWebCrawler ui
Definition dialogwebcrawler.h:55
bool extLinks
Definition dialogwebcrawler.h:59
DialogWebCrawler(QWidget *parent=Q_NULLPTR)
Definition dialogwebcrawler.cpp:25
void webCrawlerDialogError(QString)
void checkErrors()
Checks crawler form for user input errors.
Definition dialogwebcrawler.cpp:107
QString seedUrlInputStr
Definition dialogwebcrawler.h:56