31#include <QNetworkReply>
34#include <QtCharts/QChartGlobal>
52class QNetworkAccessManager;
111 MainWindow(
const QString &m_fileName=QString(),
const bool &forceProgress=
false,
const bool &maximized=
false,
const bool &fullscreen=
false,
const int &debugLevel=0);
128 QMap<QString, QString>
initSettings(
const int &debugLevel=0,
const bool &forceProgress=
false);
148 const bool &checkSelectFileType =
true);
154 void slotNetworkFileLoad (
const QString &fileNameToLoad,
const QString &codeName,
const int &fileFormat);
156 const QString &fName=QString(),
157 const QString &netName=QString(),
158 const int &totalNodes=0,
159 const int &totalEdges=0,
160 const qreal &density=0,
161 const qint64 &elapsedTime=0,
162 const QString &message=QString());
176 const int &vertices,
const int &edges,
177 const qreal &density,
178 const bool &needsSaving=
true);
188 const QByteArray &format,
190 const int &compression
195 const QPageLayout::Orientation &orientation,
197 const QPrinter::PrinterMode printerMode,
198 const QPageSize &pageSize);
217 const QString &mode,
const bool &diag);
225 const int &initialNodes,
226 const int &edgesPerStep,
227 const qreal &zeroAppeal,
228 const QString &mode);
243 const int &dimension,
246 const bool &circular);
251 const QStringList &urlPatternsIncluded,
252 const QStringList &urlPatternsExcluded,
253 const QStringList &linkClasses,
255 const int &maxLinksPerPage,
256 const bool &intLinks,
257 const bool &childLinks,
258 const bool &parentLinks,
259 const bool &selfLinks,
260 const bool &extLinks,
261 const bool &extLinksCrawl,
262 const bool &socialLinks,
263 const bool &delayedRequests);
287 const QString &label,
289 const int &outDegree);
295 const QString &searchType,
296 const QString &indexStr=QString());
303 const QString &shape,
304 const QString &iconPath,
305 const QHash<QString, QString> &customAttributes
314 QString shape=QString(),
315 QString nodeIconPath=QString());
324 const bool &openMenu=
false);
329 const qreal &weight=1);
417 QAbstractAxis *axisX,
420 QAbstractAxis *axisY=Q_NULLPTR,
430 const QString &varLocation,
431 const QString &metric,
432 const QString &method,
433 const bool &diagonal=
false,
434 const bool &diagram=
false);
438 const QString &varLocation,
439 const bool &diagonal);
443 const QString &varLocation,
444 const QString &measure,
445 const bool &diagonal);
449 const QString &varLocation,
450 const bool &diagonal=
false);
511 const QString statusMsg=QString(),
512 const QString text=QString(),
513 const QString info=QString(),
514 QMessageBox::StandardButtons buttons=QMessageBox::NoButton,
515 QMessageBox::StandardButton defBtn=QMessageBox::Ok,
516 const QString btn1=QString(),
517 const QString btn2=QString(),
518 const QString btn3=QString()
Definition dialogclusteringhierarchical.h:24
Definition dialogdatasetselect.h:24
Definition dialogdissimilarities.h:24
Definition dialogedgedichotomization.h:25
Definition dialogexportimage.h:26
Definition dialogexportpdf.h:30
Definition dialogfilteredgesbyweight.h:26
Definition dialogfilternodesbycentrality.h:28
Definition dialognodeedit.h:28
Definition dialognodefind.h:27
Definition dialogpreviewfile.h:31
Definition dialogranderdosrenyi.h:25
Definition dialograndlattice.h:25
Definition dialograndregular.h:25
Definition dialograndscalefree.h:25
Definition dialograndsmallworld.h:25
Definition dialogsettings.h:30
Definition dialogsimilaritymatches.h:24
Definition dialogsimilaritypearson.h:24
Definition dialogsysteminfo.h:24
Definition dialogwebcrawler.h:28
The Graph class This is the main class for a Graph, used in conjuction with GraphVertex,...
Definition graph.h:72
Definition graphicsedge.h:49
Definition graphicsnode.h:47
The base window of SocNetV contains all widgets and functionality.
Definition mainwindow.h:104
QAction * editNodeNumbersSizeAct
Definition mainwindow.h:669
void slotOptionsBackgroundColor(QColor color=QColor())
Called from Options menu and Settings dialog.
Definition mainwindow.cpp:14585
DialogWebCrawler * m_WebCrawlerDialog
Definition mainwindow.h:591
QAction * analyzeMatrixDegreeAct
Definition mainwindow.h:702
void slotLayoutColorationStrongStructural()
Definition mainwindow.cpp:11346
QAction * optionsEdgeWeightConsiderAct
Definition mainwindow.h:684
void slotAnalyzePrestigeDegree()
Definition mainwindow.cpp:13345
QAction * editRelationRenameAct
Definition mainwindow.h:735
void slotNetworkFileLoaded(const int &type, const QString &fName=QString(), const QString &netName=QString(), const int &totalNodes=0, const int &totalEdges=0, const qreal &density=0, const qint64 &elapsedTime=0, const QString &message=QString())
Informs the user (and the MW) about the type of the network loaded.
Definition mainwindow.cpp:7338
void slotEditNodeSizeAll(int newSize=0, const bool &normalized=false)
Changes the size of nodes to newSize.
Definition mainwindow.cpp:9838
QAction * layoutNodeColorProminence_PC_Act
Definition mainwindow.h:726
QString fileName
Definition mainwindow.h:565
QLabel * rightPanelClickedEdgeNameLCD
Definition mainwindow.h:756
void slotAnalyzeDistance()
Handles requests to compute the graph/geodesic distance between two user-specified nodes.
Definition mainwindow.cpp:12233
void slotEditNodeSelectedToLine()
Creates a line subgraph from selected nodes.
Definition mainwindow.cpp:9765
void slotHelpCheckUpdateParse()
Parses the reply from the network request we do in slotHelpCheckUpdateDialog.
Definition mainwindow.cpp:14969
QAction * networkWebCrawlerAct
Definition mainwindow.h:660
void slotOptionsEdgeOffsetFromNode(const int &offset, const int &v1=0, const int &v2=0)
Changes the distance of edge arrows from nodes Called from Edit menu option and DialogSettings if off...
Definition mainwindow.cpp:14129
QAction * editFilterEdgesUnilateralAct
Definition mainwindow.h:673
QAction * networkImportAdjAct
Definition mainwindow.h:648
QAction * cBetweennessAct
Definition mainwindow.h:706
QStringList recentFiles
Definition mainwindow.h:571
QPrinter * printer
Definition mainwindow.h:583
void slotAnalyzeStrEquivalenceDissimilaritiesTieProfile(const QString &metric, const QString &varLocation, const bool &diagonal)
Invokes calculation of pair-wise tie profile dissimilarities of the network, then displays it.
Definition mainwindow.cpp:12985
QAction * cProximityPrestigeAct
Definition mainwindow.h:707
void slotNetworkRandomScaleFree(const int &newNodes, const int &power, const int &initialNodes, const int &edgesPerStep, const qreal &zeroAppeal, const QString &mode)
Creates a scale-free random network.
Definition mainwindow.cpp:8509
void slotNetworkManagerSslErrors(QNetworkReply *reply, const QList< QSslError > &errors)
Shows a message box to the user when the Network Manager encounters any SSL error.
Definition mainwindow.cpp:9071
QAction * analyzeGraphWalksAct
Definition mainwindow.h:698
QNetworkAccessManager * networkManager
Definition mainwindow.h:585
QAction * netDensity
Definition mainwindow.h:693
QToolBar * toolBar
Definition mainwindow.h:612
void slotEditNodeShape(const int &vertex=0, QString shape=QString(), QString nodeIconPath=QString())
Change the shape of a node or all nodes. If shape == null, prompts the user a list of available node ...
Definition mainwindow.cpp:9879
void slotEditRelationAddPrompt()
Prompts the user to enter the name of a new relation.
Definition mainwindow.cpp:7522
void slotOptionsCanvasCacheBackground(const bool &toggle=false)
Turns caching of canvas background on or off.
Definition mainwindow.cpp:14381
QAction * editNodeRemoveAct
Definition mainwindow.h:666
void slotNetworkChanged(const bool &directed, const int &vertices, const int &edges, const qreal &density, const bool &needsSaving=true)
Refreshes LCD values and toggles the networkSave icon, when the network has been modified.
Definition mainwindow.cpp:9100
QAction * editRelationPreviousAct
Definition mainwindow.h:734
void toolBoxLayoutForceDirectedApplyBtnPressed()
Called when the user selects a model in the Layout by Force Directed selectbox of left panel.
Definition mainwindow.cpp:6311
QAction * layoutGuidesAct
Definition mainwindow.h:708
QComboBox * editRelationChangeCombo
Definition mainwindow.h:616
void slotNetworkNew()
Starts a new network (closing the current one).
Definition mainwindow.cpp:6346
void slotEditNodeSelectedToCycle()
Creates a cycle subgraph from selected nodes.
Definition mainwindow.cpp:9730
QAction * editNodeSizeAllAct
Definition mainwindow.h:670
QAction * editNodeNumbersColorAct
Definition mainwindow.h:678
void slotNetworkRandomErdosRenyiDialog()
Shows a dialog to create an Erdos-Renyi random network.
Definition mainwindow.cpp:8393
void slotNetworkTextEditor()
Opens the embedded text editor.
Definition mainwindow.cpp:8206
DialogExportImage * m_dialogExportImage
Definition mainwindow.h:594
DialogPreviewFile * m_dialogPreviewFile
Definition mainwindow.h:610
QMenu * strEquivalenceMenu
Definition mainwindow.h:621
QLabel * rightPanelEdgesLCD
Definition mainwindow.h:743
void slotEditEdgeSymmetrizeCocitation()
Adds a new cocitation symmetric relation to the network.
Definition mainwindow.cpp:11020
QAction * optionsNodeNumbersVisibilityAct
Definition mainwindow.h:681
QAction * editEdgeWeightAct
Definition mainwindow.h:671
bool slotNetworkExportList()
Definition mainwindow.cpp:8104
void slotOptionsBackgroundImage()
Enables/disables displaying a user-defined custom image in the background Called from Settings Dialog...
Definition mainwindow.cpp:14644
QAction * layoutRadialProminence_IC_Act
Definition mainwindow.h:711
QAction * layoutNodeColorProminence_IC_Act
Definition mainwindow.h:726
QAction * editEdgeColorAct
Definition mainwindow.h:671
QAction * layoutNodeSizeProminence_EC_Act
Definition mainwindow.h:720
void slotAnalyzeStrEquivalenceDissimilaritiesDialog()
Displays the DialogDissimilarities dialog.
Definition mainwindow.cpp:12962
void slotAnalyzeSymmetryCheck()
Definition mainwindow.cpp:11935
QAction * editEdgeLabelAct
Definition mainwindow.h:671
QAction * layoutRadialProminence_CC_Act
Definition mainwindow.h:710
void slotAnalyzeCentralityBetweenness()
Definition mainwindow.cpp:13305
void slotAnalyzeClusteringCoefficient()
Calls Graph::writeClusteringCoefficient() to write Clustering Coefficients into a file,...
Definition mainwindow.cpp:12765
void slotOptionsWindowToolbarVisibility(bool toggle)
Turns Toolbar on or off.
Definition mainwindow.cpp:14683
QAction * layoutNodeSizeProminence_CC_Act
Definition mainwindow.h:720
QMenu * nodeOptionsMenu
Definition mainwindow.h:619
void slotHelpTips()
Definition mainwindow.cpp:14819
void initSignalSlots()
Connects signals & slots between various parts of the app.
Definition mainwindow.cpp:5294
void slotAnalyzeCentralityInformation()
MainWindow::slotAnalyzeCentralityInformation Writes Informational Centralities into a file,...
Definition mainwindow.cpp:13466
QAction * filterNodesByCentralityAct
Definition mainwindow.h:672
void toolBoxAnalysisCommunitiesSelectChanged(const int &selectedIndex)
Called when the user selects something in the Communities selectbox of the toolbox.
Definition mainwindow.cpp:6159
QAction * layoutNodeColorProminence_BC_Act
Definition mainwindow.h:726
QAction * optionsNodeLabelsVisibilityAct
Definition mainwindow.h:681
QAction * zoomInAct
Definition mainwindow.h:638
QAction * helpAboutApp
Definition mainwindow.h:690
void setLastPath(const QString &filePath)
Sets the last path used by user to open/save a network and adds the file to recent files....
Definition mainwindow.cpp:6369
QAction * editEdgeColorAllAct
Definition mainwindow.h:677
void slotEditNodeProperties(const QString &label, const int &size, const QColor &color, const QString &shape, const QString &iconPath, const QHash< QString, QString > &customAttributes)
Applies the selected properties to one or multiple nodes in the graph.
Definition mainwindow.cpp:9576
void slotOptionsEdgeWeightNumbersVisibility(bool toggle)
Turns on/off displaying edge weight numbers.
Definition mainwindow.cpp:14168
QAction * layoutRadialProminence_EC_Act
Definition mainwindow.h:710
void slotAnalyzeCentralityClosenessIR()
MainWindow::slotAnalyzeCentralityClosenessIR Writes Centrality Closeness (based on Influence Range) i...
Definition mainwindow.cpp:13265
QLabel * rightPanelClickedNodeOutDegreeLCD
Definition mainwindow.h:748
QAction * optionsEdgeLabelsAct
Definition mainwindow.h:685
QAction * optionsEdgeArrowsAct
Definition mainwindow.h:684
QAction * layoutNodeColorProminence_DC_Act
Definition mainwindow.h:724
void slotEditEdgeDichotomization(const qreal threshold)
Calls Graph::graphDichotomization() to create a new binary relation in a valued network using edge di...
Definition mainwindow.cpp:11068
QThread graphThread
Definition mainwindow.h:107
void slotEditFilterNodesIsolates(bool checked)
Toggles the status of all isolated vertices.
Definition mainwindow.cpp:11268
QMenu * centrlMenu
Definition mainwindow.h:620
void slotEditNodeSelectAll()
Selects all nodes.
Definition mainwindow.cpp:9259
QAction * layoutNodeColorProminence_PRP_Act
Definition mainwindow.h:728
void slotAnalyzeReachabilityMatrix()
Definition mainwindow.cpp:12726
QMenu * filterMenu
Definition mainwindow.h:623
QAction * clusteringCoefAct
Definition mainwindow.h:699
QAction * layoutRadialProminence_BC_Act
Definition mainwindow.h:711
void slotOptionsEmbedLogoExporting(bool toggle)
MainWindow::slotOptionsEmbedLogoExporting.
Definition mainwindow.cpp:14525
void slotNetworkImportGML()
Imports a network from a GML formatted file.
Definition mainwindow.cpp:6986
int nodesEstimatedSize
Definition mainwindow.h:558
QPushButton * toolBoxLayoutByIndexApplyButton
Definition mainwindow.h:636
QAction * tipsApp
Definition mainwindow.h:690
QAction * helpSystemInfoAct
Definition mainwindow.h:691
QAction * layoutRadialProminence_DC_Act
Definition mainwindow.h:709
QAction * layoutRadialProminence_DP_Act
Definition mainwindow.h:709
QAction * editFilterEdgesByWeightAct
Definition mainwindow.h:672
void toolBoxAnalysisCohesionSelectChanged(const int &selectedIndex)
Called when user selects something in the Cohesion selectbox of the toolbox to compute basic graph th...
Definition mainwindow.cpp:6098
void slotNetworkRandomSmallWorldDialog()
Shows a dialog to create a small-world random network.
Definition mainwindow.cpp:8538
void slotEditEdgeUndirectedAll(const bool &toggle)
Transforms all directed arcs to undirected edges. The result is a undirected and symmetric network.
Definition mainwindow.cpp:11133
DialogDissimilarities * m_dialogdissimilarities
Definition mainwindow.h:606
QString initTextCodecName
Definition mainwindow.h:566
void slotEditNodeInfoStatusBar(const int &number, const QPointF &p, const QString &label, const int &inDegree, const int &outDegree)
Displays information about the given node on the statusbar.
Definition mainwindow.cpp:10250
QMenu * layoutMenu
Definition mainwindow.h:620
QAction * analyzeStrEquivalenceClusteringHierarchicalAct
Definition mainwindow.h:703
QAction * layoutNodeSizeProminence_DC_Act
Definition mainwindow.h:719
void slotEditEdgeLabel()
Changes the label of an edge.
Definition mainwindow.cpp:10662
QMenu * importSubMenu
Definition mainwindow.h:618
bool slotNetworkExportDL()
TODO Exports the network to a DL-formatted file.
Definition mainwindow.cpp:8047
QMenu * recentFilesSubMenu
Definition mainwindow.h:623
QAction * layoutNodeSizeProminence_BC_Act
Definition mainwindow.h:721
void slotProgressBoxDestroy(const int &max=0)
Destroys the first in queue Progress dialog.
Definition mainwindow.cpp:13888
QMenu * randomNetworkMenu
Definition mainwindow.h:623
void slotAnalyzeWalksLength()
Definition mainwindow.cpp:12623
QAction * networkImportListAct
Definition mainwindow.h:648
void slotNetworkFileLoad(const QString &fileNameToLoad, const QString &codeName, const int &fileFormat)
Loads the given network file.
Definition mainwindow.cpp:7203
void slotLayoutNodeSizeByProminenceIndex()
Runs when the user selects a color layout menu option.
Definition mainwindow.cpp:11670
void slotNetworkFileDialogRejected()
Displays a status message when the user aborts the file dialog.
Definition mainwindow.cpp:6673
DialogSystemInfo * m_systemInfoDialog
Definition mainwindow.h:609
QAction * networkExportGWAct
Definition mainwindow.h:646
QAction * analyzeMatrixLaplacianAct
Definition mainwindow.h:702
QMenu * layoutNodeSizeProminenceMenu
Definition mainwindow.h:625
QAction * transformNodes2EdgesAct
Definition mainwindow.h:674
void slotNetworkRandomLatticeDialog()
Shows a dialog to create a "random" lattice network.
Definition mainwindow.cpp:8729
void slotEditDragModeScroll(bool)
Toggles the non-interactive scrollhand drag mode.
Definition mainwindow.cpp:7488
QAction * recentFileActs[MaxRecentFiles]
Definition mainwindow.h:736
QMenu * helpMenu
Definition mainwindow.h:618
int fileType
Definition mainwindow.h:557
QMenu * cohesionMenu
Definition mainwindow.h:621
QMap< QString, QString > initSettings(const int &debugLevel=0, const bool &forceProgress=false)
Reads user-defined settings (or uses defaults) and initializes some app settings.
Definition mainwindow.cpp:427
QAction * openSettingsAct
Definition mainwindow.h:688
void slotHelpCreateTips()
Definition mainwindow.cpp:14829
QToolButton * rotateLeftBtn
Definition mainwindow.h:639
void slotLayoutFruchterman()
Calls Graph::layoutForceDirectedFruchtermanReingold to embed the Fruchterman-Reingold model of repell...
Definition mainwindow.cpp:11439
QAction * cStressAct
Definition mainwindow.h:707
bool slotNetworkFilePreview(const QString &, const int &)
Opens the preview dialog with the selected file contents.
Definition mainwindow.cpp:7148
void slotNetworkDataSetSelect()
Displays the dataset selection dialog.
Definition mainwindow.cpp:8323
QAction * layoutFDP_FR_Act
Definition mainwindow.h:731
QLabel * rightPanelSelectedNodesLCD
Definition mainwindow.h:750
void slotAnalyzeStrEquivalenceSimilarityByMeasure(const QString &matrix, const QString &varLocation, const QString &measure, const bool &diagonal)
Calls Graph::writeMatrixSimilarityMatching() to write a similarity matrix according to given measure ...
Definition mainwindow.cpp:12899
int fortuneCookiesCounter
Definition mainwindow.h:561
QMenu * layoutRadialProminenceMenu
Definition mainwindow.h:624
void slotEditNodeNumberSize(int v1=0, int newSize=0, const bool prompt=true)
Changes the size of one or all node numbers. Called from Edit menu option and DialogSettings if newSi...
Definition mainwindow.cpp:9943
QAction * networkSaveAct
Definition mainwindow.h:643
DialogRandErdosRenyi * m_randErdosRenyiDialog
Definition mainwindow.h:599
QAction * editMouseModeScrollAct
Definition mainwindow.h:662
void slotOptionsProgressDialogVisibility(bool toggle)
Turns progress dialogs on or off.
Definition mainwindow.cpp:14541
QLabel * rightPanelNetworkTypeLCD
Definition mainwindow.h:738
void slotOptionsCanvasSmoothPixmapTransform(const bool &toggle=false)
Turns smooth pixmap transformations on or off.
Definition mainwindow.cpp:14323
QAction * editNodeSelectedToStarAct
Definition mainwindow.h:664
void slotOptionsEdgesBezier(bool toggle)
Definition mainwindow.cpp:14065
void slotNetworkImportEdgeList()
Imports a network from a simple List or weighted List formatted file.
Definition mainwindow.cpp:7038
void slotAnalyzeMatrixAdjacencyInverse()
Writes the adjacency matrix inverse.
Definition mainwindow.cpp:11965
QAction * layoutNodeColorProminence_SC_Act
Definition mainwindow.h:725
void slotLayoutLevelByProminenceIndex()
Runs when the user selects a radial layout menu option.
Definition mainwindow.cpp:11574
QAction * editNodeLabelsColorAct
Definition mainwindow.h:678
DialogExportPDF * m_dialogExportPDF
Definition mainwindow.h:593
QAction * layoutLevelProminence_CC_Act
Definition mainwindow.h:715
QAction * networkRandomLatticeRingAct
Definition mainwindow.h:655
void slotNetworkManagerReplyError(const QNetworkReply::NetworkError &code)
Shows a message box to the user when a NetworkReply encounters errors.
Definition mainwindow.cpp:8937
void toolBoxEditEdgeTransformSelectChanged(const int &selectedIndex)
Called when user selects something in the Edge Transform selectbox of the toolbox.
Definition mainwindow.cpp:6028
int initZoomIndex
Definition mainwindow.h:562
void slotOptionsEdgeArrowsVisibility(bool toggle)
Turns on/off the arrows of edges.
Definition mainwindow.cpp:14030
QGraphicsScene * scene
Definition mainwindow.h:586
QLabel * rightPanelDensityLCD
Definition mainwindow.h:744
QComboBox * toolBoxEditEdgeModeSelect
Definition mainwindow.h:629
bool askedAboutWeights
Definition mainwindow.h:563
QMenu * editMenu
Definition mainwindow.h:618
QStringList tempFileNameNoPath
Definition mainwindow.h:569
QAction * networkRandomErdosRenyiAct
Definition mainwindow.h:653
void slotLayoutRadialRandom()
Calls Graph::layoutRadialRandom to reposition all nodes on a radial layout randomly.
Definition mainwindow.cpp:11381
void initPanels()
Creates docked panels for instant access to main app functionalities and displaying statistics.
Definition mainwindow.cpp:4155
QAction * analyzeMatrixAdjTransposeAct
Definition mainwindow.h:700
void slotEditEdgeDichotomizationDialog()
Opens up the edge dichotomization dialog.
Definition mainwindow.cpp:11042
QAction * strongColorationAct
Definition mainwindow.h:730
QComboBox * toolBoxLayoutByIndexTypeSelect
Definition mainwindow.h:633
void slotEditOpenContextMenu(const QPointF &mPos)
Popups a context menu with options when the user right-clicks on the canvas.
Definition mainwindow.cpp:9190
QAction * networkImportTwoModeSM
Definition mainwindow.h:649
void slotOptionsNodeNumbersInside(bool toggle)
MainWindow::slotOptionsNodeNumbersInside Turns on/off displaying the nodenumbers inside the nodes.
Definition mainwindow.cpp:13943
void slotAnalyzeMatrixAdjacencyCocitation()
Writes the cocitation matrix.
Definition mainwindow.cpp:12035
QAction * editEdgeUndirectedAllAct
Definition mainwindow.h:675
void slotHelpSystemInfo()
Shows a dialog with system information for bug reporting purposes.
Definition mainwindow.cpp:15046
QString settingsFilePath
Definition mainwindow.h:567
void slotEditNodeNumbersColor(const int &v1=0, QColor color=QColor())
Changes the text color of all node numbers Called from Edit menu option and Settings dialog....
Definition mainwindow.cpp:9974
void slotOptionsNodeLabelsVisibility(bool toggle)
MainWindow::slotOptionsNodeLabelsVisibility Turns on/off displaying labels.
Definition mainwindow.cpp:13975
QAction * layoutLevelProminence_PRP_Act
Definition mainwindow.h:718
QAction * editEdgeSymmetrizeAllAct
Definition mainwindow.h:674
void slotLayoutColorationRegular()
Definition mainwindow.cpp:11353
QAction * layoutNodeSizeProminence_EVC_Act
Definition mainwindow.h:722
void slotAnalyzeCentralityStress()
MainWindow::slotAnalyzeCentralityStress Writes Stress Centralities into a file, then displays it.
Definition mainwindow.cpp:13580
void slotAnalyzeConnectedness()
Reports the network connectedness.
Definition mainwindow.cpp:12546
QAction * networkExportPDFAct
Definition mainwindow.h:646
void slotOptionsNodeNumbersVisibility(bool toggle)
MainWindow::slotOptionsNodeNumbersVisibility Turns on/off displaying the numbers of nodes (outside on...
Definition mainwindow.cpp:13917
DialogDataSetSelect * m_datasetSelectDialog
Definition mainwindow.h:592
void slotAnalyzeCentralityPower()
MainWindow::slotAnalyzeCentralityPower Writes Gil-Schmidt Power Centralities into a file,...
Definition mainwindow.cpp:13622
QAction * editNodeSelectedToLineAct
Definition mainwindow.h:665
void slotHelp()
Opens the system web browser to load the online Manual.
Definition mainwindow.cpp:14919
void slotNetworkViewSociomatrix()
Displays the adjacency matrix of the network.
Definition mainwindow.cpp:8228
QAction * networkImportUcinetAct
Definition mainwindow.h:649
QAction * layoutLevelProminence_PP_Act
Definition mainwindow.h:718
void slotEditEdgeAdd()
Opens dialogs for the user to specify the source and the target node of a new edge.
Definition mainwindow.cpp:10405
void slotEditEdgeRemove()
Removes a clicked edge. Otherwise asks the user to specify one edge.
Definition mainwindow.cpp:10525
QAction * networkPrintAct
Definition mainwindow.h:644
void slotEditRelationAdd(const QString &newRelationName)
Adds a new relation to the relations combo.
Definition mainwindow.cpp:7610
void slotLayoutSpringEmbedder()
Embed the Eades spring-gravitational model to the network. Called from menu or toolbox checkbox.
Definition mainwindow.cpp:11405
DialogFilterEdgesByWeight * m_DialogEdgeFilterByWeight
Definition mainwindow.h:598
int progressCounter
Definition mainwindow.h:556
QAction * analyzeMatrixDistancesGeodesicAct
Definition mainwindow.h:695
QAction * layoutRadialProminence_PC_Act
Definition mainwindow.h:711
void slotEditEdgeSymmetrizeAll()
Symmetrizes the ties between every two connected nodes. If there is an arc from Node A to Node B,...
Definition mainwindow.cpp:11000
QStringList fortuneCookie
Definition mainwindow.h:568
void slotAnalyzeReciprocity()
Definition mainwindow.cpp:11903
void slotHelpAbout()
Definition mainwindow.cpp:15060
QAction * editFilterNodesIsolatesAct
Definition mainwindow.h:672
void slotNetworkImportGraphviz()
Imports a network from a Dot (GraphViz) formatted file.
Definition mainwindow.cpp:7016
QAction * networkSaveAsAct
Definition mainwindow.h:643
void initGraph()
Initializes the Graph.
Definition mainwindow.cpp:936
QLabel * rightPanelClickedEdgeReciprocalWeightLCD
Definition mainwindow.h:760
void slotNetworkRandomErdosRenyi(const int N, const QString model, const int edges, const qreal eprob, const QString mode, const bool diag)
Creates an Erdos-Renyi random symmetric network.
Definition mainwindow.cpp:8428
QAction * analyzeGraphDistanceAct
Definition mainwindow.h:694
void slotEditEdgeMode(const int &mode)
Toggles between directed (mode=0) and undirected edges (mode=1)
Definition mainwindow.cpp:11174
QAction * cPowerAct
Definition mainwindow.h:707
void createFortuneCookies()
Definition mainwindow.cpp:15099
void initToolBar()
Initializes the toolbar.
Definition mainwindow.cpp:4067
QAction * zoomOutAct
Definition mainwindow.h:638
QAction * cPageRankAct
Definition mainwindow.h:706
QStringList iconPathList
Definition mainwindow.h:572
void slotAnalyzeCommunitiesCliqueCensus()
Calls Graph:: writeCliqueCensus() to write the Clique Census into a file, then displays it.
Definition mainwindow.cpp:12803
void slotEditNodeLabelsColor(QColor color=QColor())
Changes the color of all node labels. Asks the user to enter a new node label color.
Definition mainwindow.cpp:10078
QComboBox * toolBoxEditEdgeTransformSelect
Definition mainwindow.h:629
void slotEditFilterEdgesByWeightDialog()
Shows a dialog where the user can specify how to filter edges by their weight.
Definition mainwindow.cpp:11291
QAction * editRotateRightAct
Definition mainwindow.h:638
void askAboutEdgeWeights(const bool userTriggered=false)
If the network has weighted / valued edges, it asks the user if the app should consider weights or no...
Definition mainwindow.cpp:12139
void slotAnalyzePrestigePageRank()
Definition mainwindow.cpp:13393
void slotOptionsCanvasAntialiasing(bool toggle)
Turns antialiasing on or off.
Definition mainwindow.cpp:14268
QAction * analyzeCommunitiesCliquesAct
Definition mainwindow.h:699
QAction * optionsNodeNumbersInsideAct
Definition mainwindow.h:681
QAction * layoutLevelProminence_DC_Act
Definition mainwindow.h:714
DialogNodeEdit * m_nodeEditDialog
Definition mainwindow.h:595
void slotNetworkSaveAs()
Prompts the user to save the network in a new file. Always uses the GraphML format and extension.
Definition mainwindow.cpp:6839
QAction * networkViewSociomatrixPlotAct
Definition mainwindow.h:651
QAction * layoutNodeColorProminence_PP_Act
Definition mainwindow.h:728
void initApp()
Initializes the default app parameters.
Definition mainwindow.cpp:5587
void slotEditNodeNumberDistance(int v1=0, int newSize=0)
Changes the distance of one or all node numbers from their nodes. Called from Edit menu option and Di...
Definition mainwindow.cpp:10013
void slotNetworkManagerRequest(const QUrl &url, const NetworkRequestType &requestType)
Makes a network request to the given url.
Definition mainwindow.cpp:8888
QComboBox * toolBoxEditNodeSubgraphSelect
Definition mainwindow.h:628
void slotAnalyzeProminenceDistributionChartUpdate(QAbstractSeries *series, QAbstractAxis *axisX, const qreal &min, const qreal &max, QAbstractAxis *axisY=Q_NULLPTR, const qreal &minF=0, const qreal &maxF=0)
Updates the prominence distribution miniChart Called from Graph after computing the prominence index ...
Definition mainwindow.cpp:13706
void statusMessage(const QString)
Shows a message in the status bar, with the given duration.
Definition mainwindow.cpp:5784
void slotNetworkExportPDF(QString &pdfName, const QPageLayout::Orientation &orientation, const int &dpi, const QPrinter::PrinterMode printerMode, const QPageSize &pageSize)
Exports the visible part of the network to a PDF Document.
Definition mainwindow.cpp:7865
QAction * analyzeStrEquivalencePearsonAct
Definition mainwindow.h:703
QAction * layoutFDP_KamadaKawai_Act
Definition mainwindow.h:732
QSlider * rotateSlider
Definition mainwindow.h:641
void slotEditNodeSelectedToClique()
Creates a complete subgraph (clique) from selected nodes.
Definition mainwindow.cpp:9643
void slotOptionsEdgeWeightsDuringComputation(bool)
Toggles edge weights during computations.
Definition mainwindow.cpp:14054
QAction * editNodeSelectedToCycleAct
Definition mainwindow.h:664
void slotEditNodeColorAll(QColor color=QColor())
Changes the color of all nodes to parameter color.
Definition mainwindow.cpp:9805
QGroupBox * leftPanel
Definition mainwindow.h:614
QAction * layoutNodeColorProminence_CC_Act
Definition mainwindow.h:725
void slotNetworkExportImageDialog()
Opens the Export to Image Dialog.
Definition mainwindow.cpp:7704
void slotAnalyzeMatrixDistances()
Invokes calculation of the matrix of geodesic distances for the loaded network, then displays it.
Definition mainwindow.cpp:12316
void slotOptionsCustomStylesheet(const bool checked)
Toggles the use of our own Qt StyleSheet.
Definition mainwindow.cpp:14772
void slotProgressBoxCreate(const int &max=0, const QString &msg="Please wait...")
Creates a Qt Progress Dialog. If max = 0, then max becomes equal to active vertices....
Definition mainwindow.cpp:13827
void slotHelpCheckUpdateDialog()
On user demand, makes a network request to SocNetV website to download the latest version text file.
Definition mainwindow.cpp:14931
void slotNetworkRandomSmallWorld(const int &newNodes, const int °ree, const qreal &beta, const QString &mode, const bool &diag)
Creates a small-world random network.
Definition mainwindow.cpp:8568
void slotNetworkImportUcinet()
Imports a network from a UCINET formatted file.
Definition mainwindow.cpp:7028
QComboBox * toolBoxLayoutForceDirectedSelect
Definition mainwindow.h:634
QAction * layoutRandomAct
Definition mainwindow.h:708
QAction * layoutLevelProminence_DP_Act
Definition mainwindow.h:714
void slotEditNodeLabelSize(const int v1=0, int newSize=0)
Changes the size of one or all node Labels. Called from Edit menu option and DialogSettings if newSiz...
Definition mainwindow.cpp:10046
QPushButton * toolBoxLayoutForceDirectedApplyButton
Definition mainwindow.h:636
DialogEdgeDichotomization * m_edgeDichotomizationDialog
Definition mainwindow.h:597
QComboBox * toolBoxLayoutByIndexSelect
Definition mainwindow.h:633
void slotAnalyzeStrEquivalencePearsonDialog()
Calls the m_dialogSimilarityPearson to display the Pearson statistics dialog.
Definition mainwindow.cpp:13043
void slotNetworkSave(const int &fileFormat=-1)
Saves the network to a file.
Definition mainwindow.cpp:6759
void slotNetworkWebCrawlerDialog()
Shows the web crawler dialog.
Definition mainwindow.cpp:8790
QAction * networkImportPajekAct
Definition mainwindow.h:648
QAction * editNodeColorAll
Definition mainwindow.h:677
void slotOptionsCanvasEdgeHighlighting(const bool &toggle=false)
Turns selected edge highlighting.
Definition mainwindow.cpp:14412
QLabel * rightPanelClickedEdgeWeightLabel
Definition mainwindow.h:757
QString previous_fileName
Definition mainwindow.h:565
void toolBoxNetworkAutoCreateSelectChanged(const int &selectedIndex)
Called when user selects something in the Network Auto Create selectbox of the toolbox.
Definition mainwindow.cpp:5954
QMenu * optionsMenu
Definition mainwindow.h:619
QAction * cInfluenceRangeClosenessAct
Definition mainwindow.h:705
void slotEditDragModeSelection(bool)
Toggles the interactive/selection mouse drag mode.
Definition mainwindow.cpp:7463
QAction * layoutNodeColorProminence_EVC_Act
Definition mainwindow.h:727
QAction * editNodeSelectAllAct
Definition mainwindow.h:663
void slotEditNodeFindDialog()
Opens the Find Node dialog.
Definition mainwindow.cpp:9313
void slotOptionsCanvasOpenGL(const bool &toggle=false)
Turns opengl on or off.
Definition mainwindow.cpp:14245
QMenu * editEdgeMenu
Definition mainwindow.h:620
QMenu * connectivityMenu
Definition mainwindow.h:621
QString settingsDir
Definition mainwindow.h:567
QAction * editNodeShapeAll
Definition mainwindow.h:670
void slotLayoutRadialByProminenceIndex()
Runs when the user selects a radial layout menu option.
Definition mainwindow.cpp:11479
QPrinter * printerPDF
Definition mainwindow.h:583
QAction * layoutNodeColorProminence_EC_Act
Definition mainwindow.h:725
QAction * layoutLevelProminence_IC_Act
Definition mainwindow.h:716
QString getLastPath()
Returns the last path used by user to open/save something.
Definition mainwindow.cpp:6355
QMenu * matrixMenu
Definition mainwindow.h:622
QAction * networkViewSociomatrixAct
Definition mainwindow.h:650
QList< QTextCodec * > codecs
Definition mainwindow.h:577
QAction * networkRandomScaleFreeAct
Definition mainwindow.h:656
QAction * layoutRadialProminence_SC_Act
Definition mainwindow.h:710
void slotAnalyzeMatrixGeodesics()
Invokes calculation of the geodedics matrix (the number of shortest paths between each pair of nodes ...
Definition mainwindow.cpp:12357
void slotAnalyzeMatrixDegree()
Writes the degree matrix of the graph.
Definition mainwindow.cpp:12069
void slotAnalyzeStrEquivalenceClusteringHierarchical(const QString &matrix, const QString &varLocation, const QString &metric, const QString &method, const bool &diagonal=false, const bool &diagram=false)
Called from DialogClusteringHierarchical with user choices. Calls Graph::writeClusteringHierarchical(...
Definition mainwindow.cpp:13131
DialogRandLattice * m_randLatticeDialog
Definition mainwindow.h:603
QLabel * rightPanelClickedEdgeWeightLCD
Definition mainwindow.h:758
void slotEditRelationChange(const int &relIndex=RAND_MAX)
Changes the editRelations combo box index to relIndex.
Definition mainwindow.cpp:7642
void slotOptionsSaveZeroWeightEdges(bool toggle)
Turns on/off saving zero-edge edge weights (only for GraphML at the moment)
Definition mainwindow.cpp:14223
QAction * networkExportSMAct
Definition mainwindow.h:646
int edgesPerNodeEstimatedSize
Definition mainwindow.h:559
QMenu * exportSubMenu
Definition mainwindow.h:618
QGroupBox * rightPanel
Definition mainwindow.h:614
QAction * layoutLevelProminence_EC_Act
Definition mainwindow.h:715
QAction * networkRandomLatticeAct
Definition mainwindow.h:659
QAction * editNodePropertiesAct
Definition mainwindow.h:667
void slotAnalyzeEccentricity()
Definition mainwindow.cpp:12507
void slotOptionsDebugMessages(bool toggle)
Turns debugging messages on or off.
Definition mainwindow.cpp:14560
QStringList prominenceIndexList
Definition mainwindow.h:570
void toolBoxAnalysisStrEquivalenceSelectChanged(const int &selectedIndex)
Called when the user selects something in the Structural Equivalence selectbox of the toolbox.
Definition mainwindow.cpp:6186
QMenu * viewOptionsMenu
Definition mainwindow.h:620
void slotAnalyzePrestigeProximity()
MainWindow::slotAnalyzePrestigeProximity Writes Proximity Prestige indices into a file,...
Definition mainwindow.cpp:13428
QAction * analyzeMatrixAdjCocitationAct
Definition mainwindow.h:701
QSlider * zoomSlider
Definition mainwindow.h:641
QAction * networkExportListAct
Definition mainwindow.h:647
QAction * analyzeGraphSymmetryAct
Definition mainwindow.h:693
void slotEditEdgeCreate(const int &source, const int &target, const qreal &weight=1)
Handles UI requests to create new edges, when the user clicks the menu item or doubles-clicks two nod...
Definition mainwindow.cpp:10501
void slotNetworkImportGraphML()
Imports a network from a GraphML formatted file.
Definition mainwindow.cpp:6976
DialogRandSmallWorld * m_randSmallWorldDialog
Definition mainwindow.h:600
QAction * analyzeCommunitiesTriadCensusAct
Definition mainwindow.h:699
QAction * helpAboutQt
Definition mainwindow.h:690
void signalSetReportsDataDir(const QString &dataDir)
QAction * editEdgeRemoveAct
Definition mainwindow.h:668
QAction * editResetSlidersAct
Definition mainwindow.h:638
QLabel * rightPanelNodesLCD
Definition mainwindow.h:742
QAction * editEdgesCocitationAct
Definition mainwindow.h:679
DialogClusteringHierarchical * m_dialogClusteringHierarchical
Definition mainwindow.h:607
QComboBox * toolBoxAnalysisMatricesSelect
Definition mainwindow.h:632
QAction * optionsEdgeWeightNumbersAct
Definition mainwindow.h:682
QToolButton * resetSlidersBtn
Definition mainwindow.h:639
void slotEditRelationRename()
Prompts the user to enter a new name for the current relation.
Definition mainwindow.cpp:7662
QAction * networkExportImageAct
Definition mainwindow.h:645
QStringList tips
Definition mainwindow.h:569
DialogSimilarityMatches * m_dialogSimilarityMatches
Definition mainwindow.h:605
QAction * helpCheckUpdatesApp
Definition mainwindow.h:691
void initWindowLayout()
Initializes the application window layout.
Definition mainwindow.cpp:5141
void slotAnalyzeStrEquivalenceSimilarityMeasureDialog()
Displays the DialogSimilarityMatches dialog.
Definition mainwindow.cpp:12874
void slotEditFilterEdgesUnilateral(bool checked)
Toggles the status of all unilateral edges.
Definition mainwindow.cpp:11313
QAction * networkRandomSmallWorldAct
Definition mainwindow.h:657
QAction * cClosenessAct
Definition mainwindow.h:705
void slotEditNodeLabelDistance(int v1=0, int newSize=0)
MainWindow::slotEditNodeLabelDistance Changes the distance of one or all node label from their nodes....
Definition mainwindow.cpp:10111
void slotNetworkImportPajek()
Imports a network from a Pajek-like formatted file.
Definition mainwindow.cpp:6994
QAction * networkNewAct
Definition mainwindow.h:643
void slotEditNodePropertiesDialog()
Opens the Node Properties dialog for the selected nodes. If no nodes are selected,...
Definition mainwindow.cpp:9454
QLabel * rightPanelClickedEdgeNameLabel
Definition mainwindow.h:755
QAction * layoutRadialProminence_PRP_Act
Definition mainwindow.h:713
QMenu * layoutLevelProminenceMenu
Definition mainwindow.h:624
void slotNetworkFileRecentUpdateActions()
Updates the Recent Files QActions in the menu.
Definition mainwindow.cpp:5759
void slotAnalyzeCommunitiesTriadCensus()
Definition mainwindow.cpp:12841
QMenu * edgeOptionsMenu
Definition mainwindow.h:619
QAction * backgroundImageAct
Definition mainwindow.h:686
QAction * optionsEdgeThicknessPerWeightAct
Definition mainwindow.h:682
QAction * networkExportDLAct
Definition mainwindow.h:646
void slotAnalyzeStrEquivalenceClusteringHierarchicalDialog()
Displays the slotAnalyzeStrEquivalenceClusteringHierarchicalDialog dialog.
Definition mainwindow.cpp:13099
QAction * editNodeFindAct
Definition mainwindow.h:666
QAction * networkExportPajek
Definition mainwindow.h:645
QLabel * rightPanelClickedNodeLCD
Definition mainwindow.h:746
void slotNetworkFileLoadRecent()
Loads a selected file entry from the "Recent Files" menu.
Definition mainwindow.cpp:7182
QLabel * rightPanelClickedEdgeReciprocalWeightLabel
Definition mainwindow.h:759
Chart * miniChart
Definition mainwindow.h:589
int maxZoomIndex
Definition mainwindow.h:562
void initNetworkAvailableTextCodecs()
Setup a list of all text codecs supported by OS.
Definition mainwindow.cpp:7096
QMenu * colorationMenu
Definition mainwindow.h:626
void initComboBoxes()
Initializes combo boxes in the MW.
Definition mainwindow.cpp:5744
QAction * editMouseModeInteractiveAct
Definition mainwindow.h:662
void initMenuBar()
Populates the menu bar with our menu items.
Definition mainwindow.cpp:3651
void slotNetworkFileDialogFilterSelected(const QString &filter)
Called when user the selects a file filter (i.e. GraphML) in the fileDialog.
Definition mainwindow.cpp:6683
void slotOptionsBackgroundImageSelect(bool toggle)
Toggles displaying a custom image in the background If toggle = true, presents a dialog to select an ...
Definition mainwindow.cpp:14616
QAction * layoutRadialProminence_PP_Act
Definition mainwindow.h:713
int slotHelpMessageToUser(const int type=0, const QString statusMsg=QString(), const QString text=QString(), const QString info=QString(), QMessageBox::StandardButtons buttons=QMessageBox::NoButton, QMessageBox::StandardButton defBtn=QMessageBox::Ok, const QString btn1=QString(), const QString btn2=QString(), const QString btn3=QString())
Displays a popup with the given text/info and a status message.
Definition mainwindow.cpp:5821
QAction * cDegreeAct
Definition mainwindow.h:705
void slotAnalyzeDistanceAverage()
Displays the average shortest path length (average graph distance)
Definition mainwindow.cpp:12460
QAction * layoutLevelProminence_IRCC_Act
Definition mainwindow.h:718
QAction * networkRandomRegularSameDegreeAct
Definition mainwindow.h:658
void toolBoxAnalysisProminenceSelectChanged(const int &selectedIndex)
Called when user selects something in the Prominence selectbox of the toolbox.
Definition mainwindow.cpp:6219
QAction * analyzeGraphEccentricityAct
Definition mainwindow.h:696
void slotNetworkFileView()
Displays the file of the loaded network.
Definition mainwindow.cpp:8133
void slotOpenSettingsDialog()
Opens the Settings dialog.
Definition mainwindow.cpp:695
QAction * regularColorationAct
Definition mainwindow.h:730
void slotOptionsCanvasSavePainterState(const bool &toggle=false)
Turns saving painter state on or off.
Definition mainwindow.cpp:14352
QAction * analyzeGraphReciprocityAct
Definition mainwindow.h:693
void slotAnalyzeMatrixAdjacencyTranspose()
Writes the transpose adjacency matrix.
Definition mainwindow.cpp:12001
void slotEditEdgeColor()
Changes the color of the clicked edge. If no edge is clicked, then it asks the user to specify one.
Definition mainwindow.cpp:10787
QString userSelectedCodecName
Definition mainwindow.h:566
void slotEditNodeAdd()
Adds a new random node.
Definition mainwindow.cpp:9301
QAction * layoutNodeSizeProminence_PRP_Act
Definition mainwindow.h:723
void slotNetworkExportPajek()
Exports the network to a Pajek-formatted file Calls the relevant Graph method.
Definition mainwindow.cpp:7930
QLabel * rightPanelClickedNodeInDegreeLCD
Definition mainwindow.h:747
bool inverseWeights
Definition mainwindow.h:563
QAction * analyzeStrEquivalenceMatchesAct
Definition mainwindow.h:704
void slotEditRelationsClear()
Clears the relations combo.
Definition mainwindow.cpp:7511
QAction * cInformationAct
Definition mainwindow.h:706
QComboBox * toolBoxAnalysisProminenceSelect
Definition mainwindow.h:631
void saveSettings()
Saves default (or user-defined) app settings.
Definition mainwindow.cpp:648
QMap< QString, QString > appSettings
Definition mainwindow.h:575
void slotNetworkImportTwoModeSM()
Imports a network from a two mode sociomatrix formatted file.
Definition mainwindow.cpp:7085
void slotOptionsEdgeThicknessPerWeight(bool toggle)
MainWindow::slotOptionsEdgeThicknessPerWeight.
Definition mainwindow.cpp:14106
QAction * analyzeStrEquivalenceTieProfileDissimilaritiesAct
Definition mainwindow.h:697
void slotEditNodeRemove()
Handles requests to delete a node and the attached objects (edges, etc).
Definition mainwindow.cpp:9388
void slotAboutQt()
Definition mainwindow.cpp:15139
QMenu * layoutNodeColorProminenceMenu
Definition mainwindow.h:625
void toolBoxLayoutByIndexApplyBtnPressed()
Called when the user selects a Prominence index in the Layout selectbox of the Control Panel.
Definition mainwindow.cpp:6270
void slotEditEdgeClicked(const MyEdge &edge=MyEdge(), const bool &openMenu=false)
Displays information about the clicked edge on the statusbar.
Definition mainwindow.cpp:10288
QMenu * randomLayoutMenu
Definition mainwindow.h:624
void slotAnalyzeStrEquivalencePearson(const QString &matrix, const QString &varLocation, const bool &diagonal=false)
Calls Graph::writeMatrixSimilarityPearson() to write Pearson Correlation Coefficients into a file,...
Definition mainwindow.cpp:13064
bool slotNetworkExportGW()
Definition mainwindow.cpp:8075
void slotEditNodePosition(const int &nodeNumber, const int &x, const int &y)
Automatically runs, when the user moves a node on the canvas, to update new vertex coordinates in Gra...
Definition mainwindow.cpp:9289
QAction * cEigenvectorAct
Definition mainwindow.h:706
void slotNetworkViewSociomatrixPlotText()
Displays a text-only plot of the network adjacency matrix.
Definition mainwindow.cpp:8268
QAction * layoutNodeSizeProminence_PC_Act
Definition mainwindow.h:721
QStack< QProgressDialog * > progressDialogs
Definition mainwindow.h:581
QList< TextEditor * > m_textEditors
Definition mainwindow.h:579
void slotNetworkRandomRegular(const int &newNodes, const int °ree, const QString &mode, const bool &diag)
Creates a pseudo-random d-regular network where every node has the same degree.
Definition mainwindow.cpp:8627
QAction * analyzeGraphConnectednessAct
Definition mainwindow.h:698
QAction * analyzeMatrixGeodesicsAct
Definition mainwindow.h:695
void slotAnalyzeCentralityCloseness()
Definition mainwindow.cpp:13221
void toolBoxEditNodeSubgraphSelectChanged(const int &selectedIndex)
Called when user selects something in the Subgraph from Selected Nodes selectbox of the toolbox.
Definition mainwindow.cpp:5996
QToolButton * zoomInBtn
Definition mainwindow.h:639
Graph * activeGraph
Definition mainwindow.h:588
QAction * analyzeMatrixAdjInvertAct
Definition mainwindow.h:700
void slotHelpMessageToUserError(const QString text=QString())
Helper function to display a popup with an error message.
Definition mainwindow.cpp:5803
QComboBox * toolBoxAnalysisCohesionSelect
Definition mainwindow.h:630
void slotNetworkWebCrawler(const QUrl &startUrl, const QStringList &urlPatternsIncluded, const QStringList &urlPatternsExcluded, const QStringList &linkClasses, const int &maxNodes, const int &maxLinksPerPage, const bool &intLinks, const bool &childLinks, const bool &parentLinks, const bool &selfLinks, const bool &extLinks, const bool &extLinksCrawl, const bool &socialLinks, const bool &delayedRequests)
Starts the web crawler with the user options.
Definition mainwindow.cpp:8828
DialogSettings * m_settingsDialog
Definition mainwindow.h:608
void slotLayoutKamadaKawai()
Layouts the network according to the Kamada-Kawai FDP model.
Definition mainwindow.cpp:11458
void slotNetworkFileChoose(QString m_fileName=QString(), int fileFormat=-1, const bool &checkSelectFileType=true)
Chooses a network file to load.
Definition mainwindow.cpp:6405
QMenu * layoutForceDirectedMenu
Definition mainwindow.h:625
QAction * changeBackColorAct
Definition mainwindow.h:686
QAction * helpApp
Definition mainwindow.h:690
@ MaxRecentFiles
Definition mainwindow.h:554
QComboBox * toolBoxNetworkAutoCreateSelect
Definition mainwindow.h:628
void slotLayoutGuides(const bool &toggle)
Shows or hides (clears) layout guides.
Definition mainwindow.cpp:11856
void slotNetworkRandomScaleFreeDialog()
Shows a dialog to create a scale-free random network.
Definition mainwindow.cpp:8479
QAction * cInDegreeAct
Definition mainwindow.h:705
GraphicsWidget * graphicsWidget
Definition mainwindow.h:587
QAction * analyzeGraphDiameterAct
Definition mainwindow.h:696
QAction * layoutLevelProminence_SC_Act
Definition mainwindow.h:715
QAction * editNodeAddAct
Definition mainwindow.h:666
int maxRandomlyCreatedNodes
Definition mainwindow.h:560
void slotOptionsEdgesVisibility(bool toggle)
MainWindow::slotOptionsEdgesVisibility.
Definition mainwindow.cpp:14005
QComboBox * toolBoxAnalysisStrEquivalenceSelect
Definition mainwindow.h:630
void slotNetworkRandomGaussian()
Definition mainwindow.cpp:8651
void slotOptionsWindowRightPanelVisibility(bool toggle)
Toggles right panel.
Definition mainwindow.cpp:14746
void slotEditNodeSelectNone()
Selects no nodes.
Definition mainwindow.cpp:9271
QAction * layoutRadialProminence_IRCC_Act
Definition mainwindow.h:713
void terminateThreads(const QString &reason)
Terminates any remaining threads.
Definition mainwindow.cpp:384
void slotNetworkExportSM()
Exports the network to an adjacency matrix-formatted file Calls the relevant Graph method.
Definition mainwindow.cpp:7972
void slotNetworkExportPDFDialog()
Opens the Export to PDF Dialog.
Definition mainwindow.cpp:7835
QMenu * colorOptionsMenu
Definition mainwindow.h:619
QAction * drawEdgesBezier
Definition mainwindow.h:684
int activeNodes()
Definition mainwindow.cpp:11891
void slotEditEdgeWeight()
Changes the weight of the clicked edge. If no edge is clicked, asks the user to specify an Edge.
Definition mainwindow.cpp:10868
QAction * layoutRadialProminence_EVC_Act
Definition mainwindow.h:712
void slotNetworkRandomRegularDialog()
Shows a dialog to create a d-regular random network.
Definition mainwindow.cpp:8597
QAction * networkRandomGaussianAct
Definition mainwindow.h:654
QAction * averGraphDistanceAct
Definition mainwindow.h:694
QAction * fullScreenModeAct
Definition mainwindow.h:687
QMenu * analysisMenu
Definition mainwindow.h:618
DialogSimilarityPearson * m_dialogSimilarityPearson
Definition mainwindow.h:604
void slotAnalyzeDiameter()
Displays the network diameter (largest geodesic)
Definition mainwindow.cpp:12398
QLabel * rightPanelEdgesLabel
Definition mainwindow.h:739
void slotAnalyzeWalksTotal()
Calculate and print the total number of walks of any length, between each pair of nodes.
Definition mainwindow.cpp:12667
QAction * layoutNodeSizeProminence_SC_Act
Definition mainwindow.h:720
void slotAnalyzeCentralityDegree()
Definition mainwindow.cpp:13182
QLabel * rightPanelClickedNodeHeaderLabel
Definition mainwindow.h:741
QString progressMsg
Definition mainwindow.h:565
void slotLayoutRandom()
Calls Graph::layoutRandom to reposition all nodes on a random layout.
Definition mainwindow.cpp:11362
QAction * networkCloseAct
Definition mainwindow.h:644
QAction * networkImportGMLAct
Definition mainwindow.h:648
void slotEditEdgeColorAll(QColor color=QColor(), const int threshold=RAND_MAX)
Changes the color of all edges weighted below threshold to parameter color.
Definition mainwindow.cpp:10745
bool slotNetworkClose()
Closes the current network, saving it if needed.
Definition mainwindow.cpp:6926
QComboBox * toolBoxAnalysisCommunitiesSelect
Definition mainwindow.h:631
void slotOptionsCanvasIndexMethod(const QString &method)
Changes the indexing method of the graphics scene.
Definition mainwindow.cpp:14488
void slotNetworkDataSetRecreate(const QString)
Recreates famous and widely used data sets in network analysis studies.
Definition mainwindow.cpp:8348
QToolButton * rotateRightBtn
Definition mainwindow.h:639
void slotNetworkRandomRingLattice()
Creates a ring lattice network.
Definition mainwindow.cpp:8663
QMenu * networkMenu
Definition mainwindow.h:623
void slotEditNodeOpenContextMenu()
MainWindow::slotEditNodeOpenContextMenu Called from GW when the user has right-clicked on a node Open...
Definition mainwindow.cpp:10141
void slotNetworkPrint()
Sends the active network to the printer.
Definition mainwindow.cpp:6959
QAction * layoutNodeColorProminence_IRCC_Act
Definition mainwindow.h:728
QAction * networkViewFileAct
Definition mainwindow.h:650
void slotOptionsCanvasUpdateMode(const QString &mode)
Sets canvas update mode.
Definition mainwindow.cpp:14442
QAction * optionsEdgesVisibilityAct
Definition mainwindow.h:683
void slotAnalyzeMatrixLaplacian()
Writes the Laplacian matrix of the graph.
Definition mainwindow.cpp:12103
QAction * editRelationAddAct
Definition mainwindow.h:734
QAction * networkOpenAct
Definition mainwindow.h:643
QAction * editNodeLabelsSizeAct
Definition mainwindow.h:669
void slotOptionsCanvasAntialiasingAutoAdjust(const bool &toggle=false)
Turns antialiasing auto-adjustment on or off.
Definition mainwindow.cpp:14295
QAction * layoutNodeSizeProminence_PP_Act
Definition mainwindow.h:723
QAction * analyzeGraphWalksTotalAct
Definition mainwindow.h:698
void slotStyleSheetByName(const QString &sheetFileName)
Loads a custom Qt StyleSheet (.qss file)
Definition mainwindow.cpp:14792
DialogRandRegular * m_randRegularDialog
Definition mainwindow.h:602
void slotNetworkRandomLattice(const int &newNodes, const int &length, const int &dimension, const int &nei, const QString &mode, const bool &circular)
Creates a 'random' lattice network, i.e. a connected network where every node has the same degree and...
Definition mainwindow.cpp:8758
void slotNetworkSavedStatus(const int &status)
Updates the 'save' status of the network.
Definition mainwindow.cpp:6897
QAction * networkQuitAct
Definition mainwindow.h:644
QStringList nodeShapeList
Definition mainwindow.h:573
void slotEditTransformNodes2Edges()
Definition mainwindow.cpp:11335
QLabel * rightPanelSelectedEdgesLCD
Definition mainwindow.h:751
void closeEvent(QCloseEvent *ce)
Called when the application closes. Asks to write any unsaved network data.
Definition mainwindow.cpp:280
void slotEditSelectionChanged(const int &selNodes, const int &selEdges)
Updates the UI (LCDs and Actions) after a change in the user-selected nodes/edges.
Definition mainwindow.cpp:10191
~MainWindow()
Deletes variables on MW closing.
Definition mainwindow.cpp:242
QAction * editEdgeAddAct
Definition mainwindow.h:668
QLabel * rightPanelSelectedEdgesLabel
Definition mainwindow.h:752
QAction * layoutNodeColorProminence_DP_Act
Definition mainwindow.h:724
QAction * editNodeSelectedToCliqueAct
Definition mainwindow.h:665
void slotFilterNodesDialogByCentrality()
Shows a dialog where the user can specify criteria to filter nodes.
Definition mainwindow.cpp:11222
QAction * editEdgeDichotomizeAct
Definition mainwindow.h:676
void slotOptionsEdgeLabelsVisibility(bool toggle)
MainWindow::slotOptionsEdgeLabelsVisibility Turns on/off displaying edge labels.
Definition mainwindow.cpp:14198
void signalRelationAddAndChange(const QString &relName, const bool &changeRelation=true)
void slotEditEdgeSymmetrizeStrongTies()
MainWindow::slotEditEdgeSymmetrizeStrongTies.
Definition mainwindow.cpp:11090
void slotEditNodeSelectedToStar()
Creates a star subgraph from selected nodes. User must choose a central node.
Definition mainwindow.cpp:9678
QAction * layoutNodeSizeProminence_IRCC_Act
Definition mainwindow.h:723
void initView()
Initializes our graphics widget, the canvas where we draw networks.
Definition mainwindow.cpp:845
void slotOptionsWindowStatusbarVisibility(bool toggle)
Turns window statusbar on or off.
Definition mainwindow.cpp:14704
QAction * layoutLevelProminence_PC_Act
Definition mainwindow.h:716
QAction * layoutLevelProminence_BC_Act
Definition mainwindow.h:716
DialogRandScaleFree * m_randScaleFreeDialog
Definition mainwindow.h:601
QMenu * editNodeMenu
Definition mainwindow.h:620
QAction * layoutFDP_Eades_Act
Definition mainwindow.h:731
QAction * networkDataSetSelectAct
Definition mainwindow.h:651
void slotNetworkExportImage(const QString &filename, const QByteArray &format, const int &quality, const int &compression)
Exports the network to an image file.
Definition mainwindow.cpp:7733
QAction * cEccentAct
Definition mainwindow.h:707
void toolBoxAnalysisMatricesSelectChanged(const int &selectedIndex)
Called when user selects something in the Matrices selectbox of the toolbox.
Definition mainwindow.cpp:6057
QAction * layoutNodeSizeProminence_IC_Act
Definition mainwindow.h:721
QAction * editRotateLeftAct
Definition mainwindow.h:638
QMenu * communitiesMenu
Definition mainwindow.h:621
QAction * openTextEditorAct
Definition mainwindow.h:650
QAction * editNodeSelectNoneAct
Definition mainwindow.h:663
void slotOptionsWindowFullScreen(bool toggle)
Toggles full screen mode (F11)
Definition mainwindow.cpp:14668
void slotNetworkFileDialogFileSelected(const QString &fileName)
Called when user selects a file in the fileDialog Calls slotNetworkFileChoose() again.
Definition mainwindow.cpp:6737
void slotAnalyzeCentralityEccentricity()
MainWindow::slotAnalyzeCentralityEccentricity Writes Eccentricity Centralities into a file,...
Definition mainwindow.cpp:13662
void slotNetworkImportAdjacency()
Imports a network from a Adjacency matrix formatted file.
Definition mainwindow.cpp:7005
void polishProgressDialog(QProgressDialog *dialog)
Fixes known bugs in QProgressDialog class. i.e. Workaround for macOS-only Qt bug: QTBUG-65750,...
Definition mainwindow.cpp:13873
void slotAnalyzeCentralityEigenvector()
Writes Eigenvector Centralities into a file, then displays it.
Definition mainwindow.cpp:13537
void slotLayoutNodeColorByProminenceIndex()
Runs when the user selects a color layout menu option.
Definition mainwindow.cpp:11762
void resizeEvent(QResizeEvent *e)
Called whenever the app window is resized.
Definition mainwindow.cpp:404
QAction * editEdgeSymmetrizeStrongTiesAct
Definition mainwindow.h:675
QAction * layoutRandomRadialAct
Definition mainwindow.h:708
void slotEditNodeFind(const QStringList &nodeList, const QString &searchType, const QString &indexStr=QString())
Finds one or more nodes, according to their number, label or centrality score.
Definition mainwindow.cpp:9346
QString fileNameNoPath
Definition mainwindow.h:565
void initActions()
Initializes all QActions of the application.
Definition mainwindow.cpp:975
int activeEdges()
Definition mainwindow.cpp:11879
QAction * layoutNodeSizeProminence_DP_Act
Definition mainwindow.h:719
QAction * editRelationNextAct
Definition mainwindow.h:734
DialogNodeFind * m_nodeFindDialog
Definition mainwindow.h:596
void slotHelpMessageToUserInfo(const QString text=QString())
Helper function to display a popup with useful info.
Definition mainwindow.cpp:5794
QAction * networkImportGraphvizAct
Definition mainwindow.h:649
QAction * layoutLevelProminence_EVC_Act
Definition mainwindow.h:717
void slotOptionsWindowLeftPanelVisibility(bool toggle)
Toggles left panel.
Definition mainwindow.cpp:14725
void slotEditEdgeOpenContextMenu(const QString &str="")
Popups a context menu with edge-related options Called when the user right-clicks on an edge.
Definition mainwindow.cpp:10382
QAction * analyzeMatrixReachabilityAct
Definition mainwindow.h:698
QToolButton * zoomOutBtn
Definition mainwindow.h:639
Lightweight value type representing a directed or undirected edge.
Definition global.h:224
Definition texteditor.h:27
Global definitions, constants, enumerations, and utility types for SocNetV.
NetworkRequestType
Identifies the purpose of an outgoing network request.
Definition global.h:150
#define SOCNETV_USE_NAMESPACE
Definition global.h:28
QHash< QString, int > H_StrToInt
Definition mainwindow.h:92