31#include <QNetworkReply>
34#include <QtCharts/QChartGlobal>
52class QNetworkAccessManager;
115 MainWindow(
const QString &m_fileName=QString(),
const bool &forceProgress=
false,
const bool &maximized=
false,
const bool &fullscreen=
false,
const int &debugLevel=0);
132 QMap<QString, QString>
initSettings(
const int &debugLevel=0,
const bool &forceProgress=
false);
152 const bool &checkSelectFileType =
true);
158 void slotNetworkFileLoad (
const QString &fileNameToLoad,
const QString &codeName,
const int &fileFormat);
160 const QString &fName=QString(),
161 const QString &netName=QString(),
162 const int &totalNodes=0,
163 const int &totalEdges=0,
164 const qreal &density=0,
165 const qint64 &elapsedTime=0,
166 const QString &message=QString());
180 const int &vertices,
const int &edges,
181 const qreal &density,
182 const bool &needsSaving=
true);
192 const QByteArray &format,
194 const int &compression
199 const QPageLayout::Orientation &orientation,
201 const QPrinter::PrinterMode printerMode,
202 const QPageSize &pageSize);
225 const QString &mode,
const bool &diag);
233 const int &initialNodes,
234 const int &edgesPerStep,
235 const qreal &zeroAppeal,
236 const QString &mode);
251 const int &dimension,
254 const bool &circular);
259 const QStringList &urlPatternsIncluded,
260 const QStringList &urlPatternsExcluded,
261 const QStringList &linkClasses,
263 const int &maxLinksPerPage,
264 const bool &intLinks,
265 const bool &childLinks,
266 const bool &parentLinks,
267 const bool &selfLinks,
268 const bool &extLinks,
269 const bool &extLinksCrawl,
270 const bool &socialLinks,
271 const bool &delayedRequests);
295 const QString &label,
297 const int &outDegree);
303 const QString &searchType,
304 const QString &indexStr=QString());
311 const QString &shape,
312 const QString &iconPath,
313 const QHash<QString, QString> &customAttributes
322 QString shape=QString(),
323 QString nodeIconPath=QString());
332 const bool &openMenu=
false);
337 const qreal &weight=1);
341 const double &weight,
343 const QHash<QString,QString> &customAttributes);
437 QAbstractAxis *axisX,
440 QAbstractAxis *axisY=Q_NULLPTR,
450 const QString &varLocation,
451 const QString &metric,
452 const QString &method,
453 const bool &diagonal=
false,
454 const bool &diagram=
false);
458 const QString &varLocation,
459 const bool &diagonal);
463 const QString &varLocation,
464 const QString &measure,
465 const bool &diagonal);
469 const QString &varLocation,
470 const bool &diagonal=
false);
532 const QString statusMsg=QString(),
533 const QString text=QString(),
534 const QString info=QString(),
535 QMessageBox::StandardButtons buttons=QMessageBox::NoButton,
536 QMessageBox::StandardButton defBtn=QMessageBox::Ok,
537 const QString btn1=QString(),
538 const QString btn2=QString(),
539 const QString btn3=QString()
Definition dialogclusteringhierarchical.h:24
Definition dialogdatasetselect.h:24
Definition dialogdissimilarities.h:24
Definition dialogedgedichotomization.h:25
Definition dialogedgeedit.h:30
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:74
Definition graphicsedge.h:49
Definition graphicsnode.h:47
The base window of SocNetV contains all widgets and functionality.
Definition mainwindow.h:108
QAction * editNodeNumbersSizeAct
Definition mainwindow.h:697
void slotOptionsBackgroundColor(QColor color=QColor())
Called from Options menu and Settings dialog.
Definition mainwindow.cpp:15140
DialogWebCrawler * m_WebCrawlerDialog
Definition mainwindow.h:613
QAction * analyzeMatrixDegreeAct
Definition mainwindow.h:734
void slotLayoutColorationStrongStructural()
Definition mainwindow.cpp:11878
QAction * optionsEdgeWeightConsiderAct
Definition mainwindow.h:715
void slotAnalyzePrestigeDegree()
Definition mainwindow.cpp:13900
QAction * editRelationRenameAct
Definition mainwindow.h:767
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:7601
void slotEditNodeSizeAll(int newSize=0, const bool &normalized=false)
Changes the size of nodes to newSize.
Definition mainwindow.cpp:10172
QAction * layoutNodeColorProminence_PC_Act
Definition mainwindow.h:758
QString fileName
Definition mainwindow.h:587
QLabel * rightPanelClickedEdgeNameLCD
Definition mainwindow.h:788
void slotAnalyzeDistance()
Handles requests to compute the graph/geodesic distance between two user-specified nodes.
Definition mainwindow.cpp:12788
void slotEditNodeSelectedToLine()
Creates a line subgraph from selected nodes.
Definition mainwindow.cpp:10099
void slotHelpCheckUpdateParse()
Parses the reply from the network request we do in slotHelpCheckUpdateDialog.
Definition mainwindow.cpp:15543
QAction * networkWebCrawlerAct
Definition mainwindow.h:688
void slotViewDataTable(bool checked)
Shows or hides the Data Table dock panel (#225).
Definition mainwindow.cpp:15326
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:14684
QAction * editFilterEdgesUnilateralAct
Definition mainwindow.h:704
QAction * networkImportAdjAct
Definition mainwindow.h:676
QAction * cBetweennessAct
Definition mainwindow.h:738
QStringList recentFiles
Definition mainwindow.h:593
QPrinter * printer
Definition mainwindow.h:605
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:13540
QAction * cProximityPrestigeAct
Definition mainwindow.h:739
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:8843
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:9405
QAction * analyzeGraphWalksAct
Definition mainwindow.h:730
QNetworkAccessManager * networkManager
Definition mainwindow.h:607
QAction * netDensity
Definition mainwindow.h:725
QToolBar * toolBar
Definition mainwindow.h:637
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:10213
void slotEditRelationAddPrompt()
Prompts the user to enter the name of a new relation.
Definition mainwindow.cpp:7789
void slotOptionsCanvasCacheBackground(const bool &toggle=false)
Turns caching of canvas background on or off.
Definition mainwindow.cpp:14936
QAction * editNodeRemoveAct
Definition mainwindow.h:694
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:9434
QAction * editRelationPreviousAct
Definition mainwindow.h:766
void toolBoxLayoutForceDirectedApplyBtnPressed()
Called when the user selects a model in the Layout by Force Directed selectbox of left panel.
Definition mainwindow.cpp:6574
QAction * layoutGuidesAct
Definition mainwindow.h:740
QComboBox * editRelationChangeCombo
Definition mainwindow.h:641
void slotNetworkNew()
Starts a new network (closing the current one).
Definition mainwindow.cpp:6609
void slotEditNodeSelectedToCycle()
Creates a cycle subgraph from selected nodes.
Definition mainwindow.cpp:10064
QAction * editNodeSizeAllAct
Definition mainwindow.h:698
QAction * editNodeNumbersColorAct
Definition mainwindow.h:709
void slotNetworkRandomErdosRenyiDialog()
Shows a dialog to create an Erdos-Renyi random network.
Definition mainwindow.cpp:8727
void slotNetworkTextEditor()
Opens the embedded text editor.
Definition mainwindow.cpp:8540
DialogExportImage * m_dialogExportImage
Definition mainwindow.h:616
void slotFilterNodesByEgoNetwork()
Triggers ego network focus mode on the currently selected node.
Definition mainwindow.cpp:11696
DialogPreviewFile * m_dialogPreviewFile
Definition mainwindow.h:635
QMenu * strEquivalenceMenu
Definition mainwindow.h:646
QLabel * rightPanelEdgesLCD
Definition mainwindow.h:775
void slotEditEdgeSymmetrizeCocitation()
Adds a new cocitation symmetric relation to the network.
Definition mainwindow.cpp:11422
QAction * optionsNodeNumbersVisibilityAct
Definition mainwindow.h:712
QAction * editEdgeWeightAct
Definition mainwindow.h:699
bool slotNetworkExportList()
Definition mainwindow.cpp:8371
void slotOptionsBackgroundImage()
Enables/disables displaying a user-defined custom image in the background Called from Settings Dialog...
Definition mainwindow.cpp:15199
QAction * layoutRadialProminence_IC_Act
Definition mainwindow.h:743
QAction * layoutNodeColorProminence_IC_Act
Definition mainwindow.h:758
QAction * editEdgeColorAct
Definition mainwindow.h:699
QAction * layoutNodeSizeProminence_EC_Act
Definition mainwindow.h:752
void slotAnalyzeStrEquivalenceDissimilaritiesDialog()
Displays the DialogDissimilarities dialog.
Definition mainwindow.cpp:13517
void slotAnalyzeSymmetryCheck()
Definition mainwindow.cpp:12490
QAction * editEdgeLabelAct
Definition mainwindow.h:699
QAction * layoutRadialProminence_CC_Act
Definition mainwindow.h:742
void slotAnalyzeCentralityBetweenness()
Definition mainwindow.cpp:13860
QAction * filterNodesByEgoNetworkAct
Definition mainwindow.h:700
void slotAnalyzeClusteringCoefficient()
Calls Graph::writeClusteringCoefficient() to write Clustering Coefficients into a file,...
Definition mainwindow.cpp:13320
void slotOptionsWindowToolbarVisibility(bool toggle)
Turns Toolbar on or off.
Definition mainwindow.cpp:15238
QAction * layoutNodeSizeProminence_CC_Act
Definition mainwindow.h:752
QMenu * nodeOptionsMenu
Definition mainwindow.h:644
void slotHelpTips()
Definition mainwindow.cpp:15393
void initSignalSlots()
Connects signals & slots between various parts of the app.
Definition mainwindow.cpp:5474
void slotAnalyzeCentralityInformation()
MainWindow::slotAnalyzeCentralityInformation Writes Informational Centralities into a file,...
Definition mainwindow.cpp:14021
QAction * filterNodesByCentralityAct
Definition mainwindow.h:700
void toolBoxAnalysisCommunitiesSelectChanged(const int &selectedIndex)
Called when the user selects something in the Communities selectbox of the toolbox.
Definition mainwindow.cpp:6422
QAction * layoutNodeColorProminence_BC_Act
Definition mainwindow.h:758
QAction * optionsNodeLabelsVisibilityAct
Definition mainwindow.h:712
QAction * zoomInAct
Definition mainwindow.h:664
QAction * helpAboutApp
Definition mainwindow.h:722
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:6632
QAction * editEdgeColorAllAct
Definition mainwindow.h:708
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:9910
void slotOptionsEdgeWeightNumbersVisibility(bool toggle)
Turns on/off displaying edge weight numbers.
Definition mainwindow.cpp:14723
QAction * layoutRadialProminence_EC_Act
Definition mainwindow.h:742
void slotAnalyzeCentralityClosenessIR()
MainWindow::slotAnalyzeCentralityClosenessIR Writes Centrality Closeness (based on Influence Range) i...
Definition mainwindow.cpp:13820
QLabel * rightPanelClickedNodeOutDegreeLCD
Definition mainwindow.h:780
void slotNetworkExportNodesJSON()
Exports all node data (unfiltered) to a JSON file chosen by the user.
Definition mainwindow.cpp:8427
QAction * optionsEdgeLabelsAct
Definition mainwindow.h:716
QAction * optionsEdgeArrowsAct
Definition mainwindow.h:715
QAction * layoutNodeColorProminence_DC_Act
Definition mainwindow.h:756
void slotEditEdgeDichotomization(const qreal threshold)
Calls Graph::graphDichotomization() to create a new binary relation in a valued network using edge di...
Definition mainwindow.cpp:11470
QThread graphThread
Definition mainwindow.h:111
void slotEditFilterNodesIsolates(bool checked)
Toggles the status of all isolated vertices.
Definition mainwindow.cpp:11783
QMenu * centrlMenu
Definition mainwindow.h:645
void slotEditNodeSelectAll()
Selects all nodes.
Definition mainwindow.cpp:9593
QAction * filterNodesBySelectionAct
Definition mainwindow.h:701
QAction * layoutNodeColorProminence_PRP_Act
Definition mainwindow.h:760
void slotAnalyzeReachabilityMatrix()
Definition mainwindow.cpp:13281
QMenu * filterMenu
Definition mainwindow.h:648
QAction * clusteringCoefAct
Definition mainwindow.h:731
QAction * layoutRadialProminence_BC_Act
Definition mainwindow.h:743
void slotOptionsEmbedLogoExporting(bool toggle)
MainWindow::slotOptionsEmbedLogoExporting.
Definition mainwindow.cpp:15080
void slotNetworkImportGML()
Imports a network from a GML formatted file.
Definition mainwindow.cpp:7249
int nodesEstimatedSize
Definition mainwindow.h:580
QPushButton * toolBoxLayoutByIndexApplyButton
Definition mainwindow.h:662
QAction * tipsApp
Definition mainwindow.h:722
void slotEditEdgePropertiesDialog()
Opens the Edge Properties dialog for the currently clicked edge.
Definition mainwindow.cpp:10872
QAction * helpSystemInfoAct
Definition mainwindow.h:723
QAction * layoutRadialProminence_DC_Act
Definition mainwindow.h:741
QAction * layoutRadialProminence_DP_Act
Definition mainwindow.h:741
QAction * editFilterEdgesByWeightAct
Definition mainwindow.h:703
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:6361
void slotNetworkRandomSmallWorldDialog()
Shows a dialog to create a small-world random network.
Definition mainwindow.cpp:8872
void slotEditEdgeUndirectedAll(const bool &toggle)
Transforms all directed arcs to undirected edges. The result is a undirected and symmetric network.
Definition mainwindow.cpp:11535
DialogDissimilarities * m_dialogdissimilarities
Definition mainwindow.h:631
QString initTextCodecName
Definition mainwindow.h:588
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:10595
QMenu * layoutMenu
Definition mainwindow.h:645
QAction * analyzeStrEquivalenceClusteringHierarchicalAct
Definition mainwindow.h:735
QAction * layoutNodeSizeProminence_DC_Act
Definition mainwindow.h:751
void slotEditEdgeLabel()
Changes the label of an edge.
Definition mainwindow.cpp:11064
QMenu * importSubMenu
Definition mainwindow.h:643
bool slotNetworkExportDL()
TODO Exports the network to a DL-formatted file.
Definition mainwindow.cpp:8314
QMenu * recentFilesSubMenu
Definition mainwindow.h:648
QAction * layoutNodeSizeProminence_BC_Act
Definition mainwindow.h:753
void slotProgressBoxDestroy(const int &max=0)
Destroys the first in queue Progress dialog.
Definition mainwindow.cpp:14443
QMenu * randomNetworkMenu
Definition mainwindow.h:648
void slotAnalyzeWalksLength()
Definition mainwindow.cpp:13178
QAction * networkImportListAct
Definition mainwindow.h:676
void slotNetworkFileLoad(const QString &fileNameToLoad, const QString &codeName, const int &fileFormat)
Loads the given network file.
Definition mainwindow.cpp:7466
void slotFilterNodesBySelection()
Focuses the view on the currently selected nodes and edges between them.
Definition mainwindow.cpp:11673
GraphTableWidget * m_tableWidget
Definition mainwindow.h:623
void slotLayoutNodeSizeByProminenceIndex()
Runs when the user selects a color layout menu option.
Definition mainwindow.cpp:12225
void slotNetworkFileDialogRejected()
Displays a status message when the user aborts the file dialog.
Definition mainwindow.cpp:6936
DialogSystemInfo * m_systemInfoDialog
Definition mainwindow.h:634
QAction * networkExportGWAct
Definition mainwindow.h:672
QAction * analyzeMatrixLaplacianAct
Definition mainwindow.h:734
void toolBoxFilterSelectChanged(const int &selectedIndex)
Called when user selects a filter action in the Filter selectbox of the toolbox Network group.
Definition mainwindow.cpp:6279
QMenu * layoutNodeSizeProminenceMenu
Definition mainwindow.h:650
void slotNetworkExportNodesCSV()
Exports all node data (unfiltered) to a CSV file chosen by the user.
Definition mainwindow.cpp:8393
QAction * transformNodes2EdgesAct
Definition mainwindow.h:705
void slotNetworkRandomLatticeDialog()
Shows a dialog to create a "random" lattice network.
Definition mainwindow.cpp:9063
void slotEditDragModeScroll(bool)
Toggles the non-interactive scrollhand drag mode.
Definition mainwindow.cpp:7755
QAction * recentFileActs[MaxRecentFiles]
Definition mainwindow.h:768
QMenu * helpMenu
Definition mainwindow.h:643
int fileType
Definition mainwindow.h:579
QMenu * cohesionMenu
Definition mainwindow.h:646
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:433
QAction * openSettingsAct
Definition mainwindow.h:719
void slotHelpCreateTips()
Definition mainwindow.cpp:15403
QToolButton * rotateLeftBtn
Definition mainwindow.h:665
void slotLayoutFruchterman()
Calls Graph::layoutForceDirectedFruchtermanReingold to embed the Fruchterman-Reingold model of repell...
Definition mainwindow.cpp:11994
QAction * cStressAct
Definition mainwindow.h:739
bool slotNetworkFilePreview(const QString &, const int &)
Opens the preview dialog with the selected file contents.
Definition mainwindow.cpp:7411
void slotNetworkDataSetSelect()
Displays the dataset selection dialog.
Definition mainwindow.cpp:8657
QAction * layoutFDP_FR_Act
Definition mainwindow.h:763
QLabel * rightPanelSelectedNodesLCD
Definition mainwindow.h:782
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:13454
int fortuneCookiesCounter
Definition mainwindow.h:583
QMenu * layoutRadialProminenceMenu
Definition mainwindow.h:649
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:10277
QAction * networkSaveAct
Definition mainwindow.h:669
DialogRandErdosRenyi * m_randErdosRenyiDialog
Definition mainwindow.h:624
QAction * editMouseModeScrollAct
Definition mainwindow.h:690
void slotOptionsProgressDialogVisibility(bool toggle)
Turns progress dialogs on or off.
Definition mainwindow.cpp:15096
QLabel * rightPanelNetworkTypeLCD
Definition mainwindow.h:770
void slotOptionsCanvasSmoothPixmapTransform(const bool &toggle=false)
Turns smooth pixmap transformations on or off.
Definition mainwindow.cpp:14878
QAction * editNodeSelectedToStarAct
Definition mainwindow.h:692
void slotOptionsEdgesBezier(bool toggle)
Definition mainwindow.cpp:14620
void slotNetworkImportEdgeList()
Imports a network from a simple List or weighted List formatted file.
Definition mainwindow.cpp:7301
void slotAnalyzeMatrixAdjacencyInverse()
Writes the adjacency matrix inverse.
Definition mainwindow.cpp:12520
void slotFilterNodesRestoreAll()
Restores all nodes hidden by the last filter.
Definition mainwindow.cpp:11770
QAction * layoutNodeColorProminence_SC_Act
Definition mainwindow.h:757
void slotLayoutLevelByProminenceIndex()
Runs when the user selects a radial layout menu option.
Definition mainwindow.cpp:12129
QAction * editNodeLabelsColorAct
Definition mainwindow.h:709
DialogExportPDF * m_dialogExportPDF
Definition mainwindow.h:615
QAction * layoutLevelProminence_CC_Act
Definition mainwindow.h:747
QAction * networkExportNodesCSVAct
Definition mainwindow.h:674
QAction * networkRandomLatticeRingAct
Definition mainwindow.h:683
void slotNetworkManagerReplyError(const QNetworkReply::NetworkError &code)
Shows a message box to the user when a NetworkReply encounters errors.
Definition mainwindow.cpp:9271
void toolBoxEditEdgeTransformSelectChanged(const int &selectedIndex)
Called when user selects something in the Edge Transform selectbox of the toolbox.
Definition mainwindow.cpp:6250
int initZoomIndex
Definition mainwindow.h:584
void slotOptionsEdgeArrowsVisibility(bool toggle)
Turns on/off the arrows of edges.
Definition mainwindow.cpp:14585
void slotNetworkExportEdgesJSON()
Exports all edge data (unfiltered) to a JSON file chosen by the user.
Definition mainwindow.cpp:8444
QGraphicsScene * scene
Definition mainwindow.h:608
QLabel * rightPanelDensityLCD
Definition mainwindow.h:776
QComboBox * toolBoxEditEdgeModeSelect
Definition mainwindow.h:654
bool askedAboutWeights
Definition mainwindow.h:585
QMenu * editMenu
Definition mainwindow.h:643
QStringList tempFileNameNoPath
Definition mainwindow.h:591
QAction * networkRandomErdosRenyiAct
Definition mainwindow.h:681
void slotLayoutRadialRandom()
Calls Graph::layoutRadialRandom to reposition all nodes on a radial layout randomly.
Definition mainwindow.cpp:11913
void initPanels()
Creates docked panels for instant access to main app functionalities and displaying statistics.
Definition mainwindow.cpp:4285
QAction * analyzeMatrixAdjTransposeAct
Definition mainwindow.h:732
void slotEditEdgeDichotomizationDialog()
Opens up the edge dichotomization dialog.
Definition mainwindow.cpp:11444
QAction * strongColorationAct
Definition mainwindow.h:762
QComboBox * toolBoxLayoutByIndexTypeSelect
Definition mainwindow.h:659
void slotEditOpenContextMenu(const QPointF &mPos)
Popups a context menu with options when the user right-clicks on the canvas.
Definition mainwindow.cpp:9524
QAction * networkImportTwoModeSM
Definition mainwindow.h:677
void slotOptionsNodeNumbersInside(bool toggle)
MainWindow::slotOptionsNodeNumbersInside Turns on/off displaying the nodenumbers inside the nodes.
Definition mainwindow.cpp:14498
void slotAnalyzeMatrixAdjacencyCocitation()
Writes the cocitation matrix.
Definition mainwindow.cpp:12590
QAction * editEdgeUndirectedAllAct
Definition mainwindow.h:706
void slotHelpSystemInfo()
Shows a dialog with system information for bug reporting purposes.
Definition mainwindow.cpp:15620
QString settingsFilePath
Definition mainwindow.h:589
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:10308
QComboBox * toolBoxFilterSelect
Definition mainwindow.h:655
void slotOptionsNodeLabelsVisibility(bool toggle)
MainWindow::slotOptionsNodeLabelsVisibility Turns on/off displaying labels.
Definition mainwindow.cpp:14530
QAction * layoutLevelProminence_PRP_Act
Definition mainwindow.h:750
QAction * editEdgeSymmetrizeAllAct
Definition mainwindow.h:705
void slotLayoutColorationRegular()
Definition mainwindow.cpp:11885
QAction * networkExportEdgesJSONAct
Definition mainwindow.h:675
QAction * layoutNodeSizeProminence_EVC_Act
Definition mainwindow.h:754
void slotAnalyzeCentralityStress()
MainWindow::slotAnalyzeCentralityStress Writes Stress Centralities into a file, then displays it.
Definition mainwindow.cpp:14135
void slotAnalyzeConnectedness()
Reports the network connectedness.
Definition mainwindow.cpp:13101
QAction * networkExportPDFAct
Definition mainwindow.h:672
void slotOptionsNodeNumbersVisibility(bool toggle)
MainWindow::slotOptionsNodeNumbersVisibility Turns on/off displaying the numbers of nodes (outside on...
Definition mainwindow.cpp:14472
DialogDataSetSelect * m_datasetSelectDialog
Definition mainwindow.h:614
void slotAnalyzeCentralityPower()
MainWindow::slotAnalyzeCentralityPower Writes Gil-Schmidt Power Centralities into a file,...
Definition mainwindow.cpp:14177
QAction * editNodeSelectedToLineAct
Definition mainwindow.h:693
void slotHelp()
Opens the system web browser to load the online Manual.
Definition mainwindow.cpp:15493
void slotNetworkViewSociomatrix()
Displays the adjacency matrix of the network.
Definition mainwindow.cpp:8562
QAction * networkImportUcinetAct
Definition mainwindow.h:677
QAction * layoutLevelProminence_PP_Act
Definition mainwindow.h:750
void slotEditEdgeAdd()
Opens dialogs for the user to specify the source and the target node of a new edge.
Definition mainwindow.cpp:10752
void slotEditEdgeRemove()
Removes a clicked edge. Otherwise asks the user to specify one edge.
Definition mainwindow.cpp:10927
QAction * networkPrintAct
Definition mainwindow.h:670
void slotEditRelationAdd(const QString &newRelationName)
Adds a new relation to the relations combo.
Definition mainwindow.cpp:7877
void slotLayoutSpringEmbedder()
Embed the Eades spring-gravitational model to the network. Called from menu or toolbox checkbox.
Definition mainwindow.cpp:11960
DialogFilterEdgesByWeight * m_DialogEdgeFilterByWeight
Definition mainwindow.h:620
int progressCounter
Definition mainwindow.h:578
QAction * analyzeMatrixDistancesGeodesicAct
Definition mainwindow.h:727
QAction * layoutRadialProminence_PC_Act
Definition mainwindow.h:743
void slotEditEdgeSymmetrizeAll()
Symmetrizes the ties between every two connected nodes. If there is an arc from Node A to Node B,...
Definition mainwindow.cpp:11402
QStringList fortuneCookie
Definition mainwindow.h:590
void slotAnalyzeReciprocity()
Definition mainwindow.cpp:12458
void slotHelpAbout()
Definition mainwindow.cpp:15634
QAction * editFilterNodesIsolatesAct
Definition mainwindow.h:702
void slotNetworkImportGraphviz()
Imports a network from a Dot (GraphViz) formatted file.
Definition mainwindow.cpp:7279
QAction * networkSaveAsAct
Definition mainwindow.h:669
void initGraph()
Initializes the Graph.
Definition mainwindow.cpp:942
QLabel * rightPanelClickedEdgeReciprocalWeightLCD
Definition mainwindow.h:792
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:8762
QAction * analyzeGraphDistanceAct
Definition mainwindow.h:726
void slotEditEdgeMode(const int &mode)
Toggles between directed (mode=0) and undirected edges (mode=1)
Definition mainwindow.cpp:11576
QAction * cPowerAct
Definition mainwindow.h:739
void createFortuneCookies()
Definition mainwindow.cpp:15673
void initToolBar()
Initializes the toolbar.
Definition mainwindow.cpp:4188
QAction * zoomOutAct
Definition mainwindow.h:664
QAction * cPageRankAct
Definition mainwindow.h:738
QStringList iconPathList
Definition mainwindow.h:594
void slotAnalyzeCommunitiesCliqueCensus()
Calls Graph:: writeCliqueCensus() to write the Clique Census into a file, then displays it.
Definition mainwindow.cpp:13358
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:10412
QComboBox * toolBoxEditEdgeTransformSelect
Definition mainwindow.h:654
void slotEditFilterEdgesByWeightDialog()
Shows a dialog where the user can specify how to filter edges by their weight.
Definition mainwindow.cpp:11806
QAction * editRotateRightAct
Definition mainwindow.h:664
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:12694
void slotAnalyzePrestigePageRank()
Definition mainwindow.cpp:13948
void slotOptionsCanvasAntialiasing(bool toggle)
Turns antialiasing on or off.
Definition mainwindow.cpp:14823
QAction * analyzeCommunitiesCliquesAct
Definition mainwindow.h:731
QAction * optionsNodeNumbersInsideAct
Definition mainwindow.h:712
QAction * layoutLevelProminence_DC_Act
Definition mainwindow.h:746
DialogNodeEdit * m_nodeEditDialog
Definition mainwindow.h:617
void slotNetworkSaveAs()
Prompts the user to save the network in a new file. Always uses the GraphML format and extension.
Definition mainwindow.cpp:7102
QAction * networkViewSociomatrixPlotAct
Definition mainwindow.h:679
QAction * layoutNodeColorProminence_PP_Act
Definition mainwindow.h:760
void initApp()
Initializes the default app parameters.
Definition mainwindow.cpp:5803
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:10347
void slotNetworkManagerRequest(const QUrl &url, const NetworkRequestType &requestType)
Makes a network request to the given url.
Definition mainwindow.cpp:9222
QComboBox * toolBoxEditNodeSubgraphSelect
Definition mainwindow.h:653
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:14261
void statusMessage(const QString)
Shows a message in the status bar, with the given duration.
Definition mainwindow.cpp:6006
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:8132
QAction * analyzeStrEquivalencePearsonAct
Definition mainwindow.h:735
QAction * layoutFDP_KamadaKawai_Act
Definition mainwindow.h:764
QSlider * rotateSlider
Definition mainwindow.h:667
void slotEditNodeSelectedToClique()
Creates a complete subgraph (clique) from selected nodes.
Definition mainwindow.cpp:9977
void slotOptionsEdgeWeightsDuringComputation(bool)
Toggles edge weights during computations.
Definition mainwindow.cpp:14609
QAction * editNodeSelectedToCycleAct
Definition mainwindow.h:692
void slotEditNodeColorAll(QColor color=QColor())
Changes the color of all nodes to parameter color.
Definition mainwindow.cpp:10139
QGroupBox * leftPanel
Definition mainwindow.h:639
QAction * layoutNodeColorProminence_CC_Act
Definition mainwindow.h:757
void slotNetworkExportImageDialog()
Opens the Export to Image Dialog.
Definition mainwindow.cpp:7971
void slotAnalyzeMatrixDistances()
Invokes calculation of the matrix of geodesic distances for the loaded network, then displays it.
Definition mainwindow.cpp:12871
void slotOptionsCustomStylesheet(const bool checked)
Toggles the use of our own Qt StyleSheet.
Definition mainwindow.cpp:15346
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:14382
void slotHelpCheckUpdateDialog()
On user demand, makes a network request to SocNetV website to download the latest version text file.
Definition mainwindow.cpp:15505
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:8902
void slotNetworkImportUcinet()
Imports a network from a UCINET formatted file.
Definition mainwindow.cpp:7291
QComboBox * toolBoxLayoutForceDirectedSelect
Definition mainwindow.h:660
QAction * layoutRandomAct
Definition mainwindow.h:740
QAction * layoutLevelProminence_DP_Act
Definition mainwindow.h:746
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:10380
QPushButton * toolBoxLayoutForceDirectedApplyButton
Definition mainwindow.h:662
DialogEdgeDichotomization * m_edgeDichotomizationDialog
Definition mainwindow.h:619
QComboBox * toolBoxLayoutByIndexSelect
Definition mainwindow.h:659
QAction * editEdgePropertiesAct
Definition mainwindow.h:696
void slotAnalyzeStrEquivalencePearsonDialog()
Calls the m_dialogSimilarityPearson to display the Pearson statistics dialog.
Definition mainwindow.cpp:13598
QDockWidget * m_tableDock
Definition mainwindow.h:622
void slotNetworkSave(const int &fileFormat=-1)
Saves the network to a file.
Definition mainwindow.cpp:7022
void slotNetworkWebCrawlerDialog()
Shows the web crawler dialog.
Definition mainwindow.cpp:9124
QAction * networkImportPajekAct
Definition mainwindow.h:676
QAction * editNodeColorAll
Definition mainwindow.h:708
void slotOptionsCanvasEdgeHighlighting(const bool &toggle=false)
Turns selected edge highlighting.
Definition mainwindow.cpp:14967
QLabel * rightPanelClickedEdgeWeightLabel
Definition mainwindow.h:789
QString previous_fileName
Definition mainwindow.h:587
void toolBoxNetworkAutoCreateSelectChanged(const int &selectedIndex)
Called when user selects something in the Network Auto Create selectbox of the toolbox.
Definition mainwindow.cpp:6176
QMenu * optionsMenu
Definition mainwindow.h:644
QAction * cInfluenceRangeClosenessAct
Definition mainwindow.h:737
void slotEditDragModeSelection(bool)
Toggles the interactive/selection mouse drag mode.
Definition mainwindow.cpp:7730
QAction * layoutNodeColorProminence_EVC_Act
Definition mainwindow.h:759
QAction * editNodeSelectAllAct
Definition mainwindow.h:691
void slotEditNodeFindDialog()
Opens the Find Node dialog.
Definition mainwindow.cpp:9647
void slotEditFilterEdgesReset()
Restores all edges hidden by the weight filter.
Definition mainwindow.cpp:11832
void slotOptionsCanvasOpenGL(const bool &toggle=false)
Turns opengl on or off.
Definition mainwindow.cpp:14800
QMenu * editEdgeMenu
Definition mainwindow.h:645
QMenu * connectivityMenu
Definition mainwindow.h:646
QString settingsDir
Definition mainwindow.h:589
QAction * editNodeShapeAll
Definition mainwindow.h:698
void slotLayoutRadialByProminenceIndex()
Runs when the user selects a radial layout menu option.
Definition mainwindow.cpp:12034
QPrinter * printerPDF
Definition mainwindow.h:605
QAction * layoutNodeColorProminence_EC_Act
Definition mainwindow.h:757
QAction * layoutLevelProminence_IC_Act
Definition mainwindow.h:748
QString getLastPath()
Returns the last path used by user to open/save something.
Definition mainwindow.cpp:6618
QMenu * matrixMenu
Definition mainwindow.h:647
QAction * networkViewSociomatrixAct
Definition mainwindow.h:678
QList< QTextCodec * > codecs
Definition mainwindow.h:599
QAction * networkRandomScaleFreeAct
Definition mainwindow.h:684
QAction * layoutRadialProminence_SC_Act
Definition mainwindow.h:742
void slotAnalyzeMatrixGeodesics()
Invokes calculation of the geodedics matrix (the number of shortest paths between each pair of nodes ...
Definition mainwindow.cpp:12912
void slotAnalyzeMatrixDegree()
Writes the degree matrix of the graph.
Definition mainwindow.cpp:12624
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:13686
DialogRandLattice * m_randLatticeDialog
Definition mainwindow.h:628
QLabel * rightPanelClickedEdgeWeightLCD
Definition mainwindow.h:790
void slotEditRelationChange(const int &relIndex=RAND_MAX)
Changes the editRelations combo box index to relIndex.
Definition mainwindow.cpp:7909
void slotOptionsSaveZeroWeightEdges(bool toggle)
Turns on/off saving zero-edge edge weights (only for GraphML at the moment)
Definition mainwindow.cpp:14778
QAction * networkExportSMAct
Definition mainwindow.h:672
int edgesPerNodeEstimatedSize
Definition mainwindow.h:581
QMenu * exportSubMenu
Definition mainwindow.h:643
QGroupBox * rightPanel
Definition mainwindow.h:639
QAction * layoutLevelProminence_EC_Act
Definition mainwindow.h:747
QAction * networkRandomLatticeAct
Definition mainwindow.h:687
void slotNetworkExportEdgesCSV()
Exports all edge data (unfiltered) to a CSV file chosen by the user.
Definition mainwindow.cpp:8410
QAction * editNodePropertiesAct
Definition mainwindow.h:695
void slotAnalyzeEccentricity()
Definition mainwindow.cpp:13062
void slotOptionsDebugMessages(bool toggle)
Turns debugging messages on or off.
Definition mainwindow.cpp:15115
QStringList prominenceIndexList
Definition mainwindow.h:592
void toolBoxAnalysisStrEquivalenceSelectChanged(const int &selectedIndex)
Called when the user selects something in the Structural Equivalence selectbox of the toolbox.
Definition mainwindow.cpp:6449
QMenu * viewOptionsMenu
Definition mainwindow.h:645
void slotAnalyzePrestigeProximity()
MainWindow::slotAnalyzePrestigeProximity Writes Proximity Prestige indices into a file,...
Definition mainwindow.cpp:13983
QAction * analyzeMatrixAdjCocitationAct
Definition mainwindow.h:733
QSlider * zoomSlider
Definition mainwindow.h:667
QAction * networkExportListAct
Definition mainwindow.h:673
QAction * analyzeGraphSymmetryAct
Definition mainwindow.h:725
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:10848
void slotNetworkImportGraphML()
Imports a network from a GraphML formatted file.
Definition mainwindow.cpp:7239
DialogRandSmallWorld * m_randSmallWorldDialog
Definition mainwindow.h:625
QAction * analyzeCommunitiesTriadCensusAct
Definition mainwindow.h:731
QAction * helpAboutQt
Definition mainwindow.h:722
void slotFilterNodesByAttribute()
Opens the Filter By Attribute dialog and applies the chosen condition.
Definition mainwindow.cpp:11722
void signalSetReportsDataDir(const QString &dataDir)
QAction * editEdgeRemoveAct
Definition mainwindow.h:696
QAction * editResetSlidersAct
Definition mainwindow.h:664
QLabel * rightPanelNodesLCD
Definition mainwindow.h:774
QAction * editEdgesCocitationAct
Definition mainwindow.h:710
DialogClusteringHierarchical * m_dialogClusteringHierarchical
Definition mainwindow.h:632
QComboBox * toolBoxAnalysisMatricesSelect
Definition mainwindow.h:658
QAction * optionsEdgeWeightNumbersAct
Definition mainwindow.h:713
QToolButton * resetSlidersBtn
Definition mainwindow.h:665
void slotEditRelationRename()
Prompts the user to enter a new name for the current relation.
Definition mainwindow.cpp:7929
QAction * networkExportImageAct
Definition mainwindow.h:671
QStringList tips
Definition mainwindow.h:591
DialogSimilarityMatches * m_dialogSimilarityMatches
Definition mainwindow.h:630
QAction * helpCheckUpdatesApp
Definition mainwindow.h:723
void initWindowLayout()
Initializes the application window layout.
Definition mainwindow.cpp:5300
void slotAnalyzeStrEquivalenceSimilarityMeasureDialog()
Displays the DialogSimilarityMatches dialog.
Definition mainwindow.cpp:13429
void slotEditFilterEdgesUnilateral(bool checked)
Toggles the status of all unilateral edges.
Definition mainwindow.cpp:11845
QAction * networkRandomSmallWorldAct
Definition mainwindow.h:685
QAction * cClosenessAct
Definition mainwindow.h:737
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:10445
void slotNetworkImportPajek()
Imports a network from a Pajek-like formatted file.
Definition mainwindow.cpp:7257
QAction * networkNewAct
Definition mainwindow.h:669
void slotEditNodePropertiesDialog()
Opens the Node Properties dialog for the selected nodes. If no nodes are selected,...
Definition mainwindow.cpp:9788
QAction * networkExportNodesJSONAct
Definition mainwindow.h:675
QLabel * rightPanelClickedEdgeNameLabel
Definition mainwindow.h:787
QAction * layoutRadialProminence_PRP_Act
Definition mainwindow.h:745
QMenu * layoutLevelProminenceMenu
Definition mainwindow.h:649
void slotNetworkFileRecentUpdateActions()
Updates the Recent Files QActions in the menu.
Definition mainwindow.cpp:5981
void slotAnalyzeCommunitiesTriadCensus()
Definition mainwindow.cpp:13396
QMenu * edgeOptionsMenu
Definition mainwindow.h:644
QAction * backgroundImageAct
Definition mainwindow.h:717
QAction * optionsEdgeThicknessPerWeightAct
Definition mainwindow.h:713
QAction * networkExportDLAct
Definition mainwindow.h:672
void slotAnalyzeStrEquivalenceClusteringHierarchicalDialog()
Displays the slotAnalyzeStrEquivalenceClusteringHierarchicalDialog dialog.
Definition mainwindow.cpp:13654
QAction * editNodeFindAct
Definition mainwindow.h:694
QAction * networkExportPajek
Definition mainwindow.h:671
QLabel * rightPanelClickedNodeLCD
Definition mainwindow.h:778
void slotNetworkFileLoadRecent()
Loads a selected file entry from the "Recent Files" menu.
Definition mainwindow.cpp:7445
QLabel * rightPanelClickedEdgeReciprocalWeightLabel
Definition mainwindow.h:791
Chart * miniChart
Definition mainwindow.h:611
int maxZoomIndex
Definition mainwindow.h:584
void initNetworkAvailableTextCodecs()
Setup a list of all text codecs supported by OS.
Definition mainwindow.cpp:7359
QMenu * colorationMenu
Definition mainwindow.h:651
void initComboBoxes()
Initializes combo boxes in the MW.
Definition mainwindow.cpp:5966
QAction * editMouseModeInteractiveAct
Definition mainwindow.h:690
void initMenuBar()
Populates the menu bar with our menu items.
Definition mainwindow.cpp:3746
void slotNetworkFileDialogFilterSelected(const QString &filter)
Called when user the selects a file filter (i.e. GraphML) in the fileDialog.
Definition mainwindow.cpp:6946
void slotOptionsBackgroundImageSelect(bool toggle)
Toggles displaying a custom image in the background If toggle = true, presents a dialog to select an ...
Definition mainwindow.cpp:15171
QAction * layoutRadialProminence_PP_Act
Definition mainwindow.h:745
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:6043
QAction * cDegreeAct
Definition mainwindow.h:737
void slotAnalyzeDistanceAverage()
Displays the average shortest path length (average graph distance)
Definition mainwindow.cpp:13015
QAction * layoutLevelProminence_IRCC_Act
Definition mainwindow.h:750
QAction * networkRandomRegularSameDegreeAct
Definition mainwindow.h:686
void toolBoxAnalysisProminenceSelectChanged(const int &selectedIndex)
Called when user selects something in the Prominence selectbox of the toolbox.
Definition mainwindow.cpp:6482
QAction * viewDataTableAct
Definition mainwindow.h:720
QAction * analyzeGraphEccentricityAct
Definition mainwindow.h:728
void slotNetworkFileView()
Displays the file of the loaded network.
Definition mainwindow.cpp:8467
void slotOpenSettingsDialog()
Opens the Settings dialog.
Definition mainwindow.cpp:701
QAction * regularColorationAct
Definition mainwindow.h:762
void slotOptionsCanvasSavePainterState(const bool &toggle=false)
Turns saving painter state on or off.
Definition mainwindow.cpp:14907
QAction * analyzeGraphReciprocityAct
Definition mainwindow.h:725
void slotAnalyzeMatrixAdjacencyTranspose()
Writes the transpose adjacency matrix.
Definition mainwindow.cpp:12556
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:11189
QString userSelectedCodecName
Definition mainwindow.h:588
void slotEditNodeAdd()
Adds a new random node.
Definition mainwindow.cpp:9635
QAction * layoutNodeSizeProminence_PRP_Act
Definition mainwindow.h:755
void slotNetworkExportPajek()
Exports the network to a Pajek-formatted file Calls the relevant Graph method.
Definition mainwindow.cpp:8197
QLabel * rightPanelClickedNodeInDegreeLCD
Definition mainwindow.h:779
bool inverseWeights
Definition mainwindow.h:585
QAction * analyzeStrEquivalenceMatchesAct
Definition mainwindow.h:736
QAction * editFilterEdgesRestoreAllAct
Definition mainwindow.h:703
FilterBarWidget * m_filterBar
Definition mainwindow.h:621
void slotEditRelationsClear()
Clears the relations combo.
Definition mainwindow.cpp:7778
QAction * cInformationAct
Definition mainwindow.h:738
QComboBox * toolBoxAnalysisProminenceSelect
Definition mainwindow.h:657
void saveSettings()
Saves default (or user-defined) app settings.
Definition mainwindow.cpp:654
QMap< QString, QString > appSettings
Definition mainwindow.h:597
void slotNetworkImportTwoModeSM()
Imports a network from a two mode sociomatrix formatted file.
Definition mainwindow.cpp:7348
void slotOptionsEdgeThicknessPerWeight(bool toggle)
MainWindow::slotOptionsEdgeThicknessPerWeight.
Definition mainwindow.cpp:14661
QAction * analyzeStrEquivalenceTieProfileDissimilaritiesAct
Definition mainwindow.h:729
void slotEditNodeRemove()
Handles requests to delete a node and the attached objects (edges, etc).
Definition mainwindow.cpp:9722
void slotAboutQt()
Definition mainwindow.cpp:15714
QMenu * layoutNodeColorProminenceMenu
Definition mainwindow.h:650
void toolBoxLayoutByIndexApplyBtnPressed()
Called when the user selects a Prominence index in the Layout selectbox of the Control Panel.
Definition mainwindow.cpp:6533
void slotEditEdgeClicked(const MyEdge &edge=MyEdge(), const bool &openMenu=false)
Displays information about the clicked edge on the statusbar.
Definition mainwindow.cpp:10633
QMenu * randomLayoutMenu
Definition mainwindow.h:649
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:13619
bool slotNetworkExportGW()
Definition mainwindow.cpp:8342
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:9623
QAction * cEigenvectorAct
Definition mainwindow.h:738
void slotEditEdgeProperties(const QString &label, const double &weight, const QColor &color, const QHash< QString, QString > &customAttributes)
Applies updated edge properties received from DialogEdgeEdit.
Definition mainwindow.cpp:10904
void slotNetworkViewSociomatrixPlotText()
Displays a text-only plot of the network adjacency matrix.
Definition mainwindow.cpp:8602
QAction * layoutNodeSizeProminence_PC_Act
Definition mainwindow.h:753
QStack< QProgressDialog * > progressDialogs
Definition mainwindow.h:603
QList< TextEditor * > m_textEditors
Definition mainwindow.h:601
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:8961
QAction * analyzeGraphConnectednessAct
Definition mainwindow.h:730
QAction * analyzeMatrixGeodesicsAct
Definition mainwindow.h:727
void slotAnalyzeCentralityCloseness()
Definition mainwindow.cpp:13776
void toolBoxEditNodeSubgraphSelectChanged(const int &selectedIndex)
Called when user selects something in the Subgraph from Selected Nodes selectbox of the toolbox.
Definition mainwindow.cpp:6218
QToolButton * zoomInBtn
Definition mainwindow.h:665
Graph * activeGraph
Definition mainwindow.h:610
QAction * analyzeMatrixAdjInvertAct
Definition mainwindow.h:732
void slotHelpMessageToUserError(const QString text=QString())
Helper function to display a popup with an error message.
Definition mainwindow.cpp:6025
QComboBox * toolBoxAnalysisCohesionSelect
Definition mainwindow.h:656
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:9162
DialogSettings * m_settingsDialog
Definition mainwindow.h:633
void slotLayoutKamadaKawai()
Layouts the network according to the Kamada-Kawai FDP model.
Definition mainwindow.cpp:12013
void slotNetworkFileChoose(QString m_fileName=QString(), int fileFormat=-1, const bool &checkSelectFileType=true)
Chooses a network file to load.
Definition mainwindow.cpp:6668
QMenu * layoutForceDirectedMenu
Definition mainwindow.h:650
QAction * changeBackColorAct
Definition mainwindow.h:717
QAction * helpApp
Definition mainwindow.h:722
@ MaxRecentFiles
Definition mainwindow.h:576
QComboBox * toolBoxNetworkAutoCreateSelect
Definition mainwindow.h:653
void slotLayoutGuides(const bool &toggle)
Shows or hides (clears) layout guides.
Definition mainwindow.cpp:12411
void slotNetworkRandomScaleFreeDialog()
Shows a dialog to create a scale-free random network.
Definition mainwindow.cpp:8813
QAction * cInDegreeAct
Definition mainwindow.h:737
GraphicsWidget * graphicsWidget
Definition mainwindow.h:609
QAction * analyzeGraphDiameterAct
Definition mainwindow.h:728
QAction * layoutLevelProminence_SC_Act
Definition mainwindow.h:747
QAction * editNodeAddAct
Definition mainwindow.h:694
int maxRandomlyCreatedNodes
Definition mainwindow.h:582
QAction * layoutEgoRadialAct
Definition mainwindow.h:740
void slotOptionsEdgesVisibility(bool toggle)
MainWindow::slotOptionsEdgesVisibility.
Definition mainwindow.cpp:14560
QAction * filterNodesRestoreAllAct
Definition mainwindow.h:702
QComboBox * toolBoxAnalysisStrEquivalenceSelect
Definition mainwindow.h:656
void slotNetworkRandomGaussian()
Definition mainwindow.cpp:8985
void slotOptionsWindowRightPanelVisibility(bool toggle)
Toggles right panel.
Definition mainwindow.cpp:15301
void slotEditNodeSelectNone()
Selects no nodes.
Definition mainwindow.cpp:9605
QAction * layoutRadialProminence_IRCC_Act
Definition mainwindow.h:745
void terminateThreads(const QString &reason)
Terminates any remaining threads.
Definition mainwindow.cpp:390
void slotNetworkExportSM()
Exports the network to an adjacency matrix-formatted file Calls the relevant Graph method.
Definition mainwindow.cpp:8239
void slotNetworkExportPDFDialog()
Opens the Export to PDF Dialog.
Definition mainwindow.cpp:8102
QMenu * colorOptionsMenu
Definition mainwindow.h:644
QAction * drawEdgesBezier
Definition mainwindow.h:715
int activeNodes()
Definition mainwindow.cpp:12446
void slotEditEdgeWeight()
Changes the weight of the clicked edge. If no edge is clicked, asks the user to specify an Edge.
Definition mainwindow.cpp:11270
QAction * layoutRadialProminence_EVC_Act
Definition mainwindow.h:744
void slotNetworkRandomRegularDialog()
Shows a dialog to create a d-regular random network.
Definition mainwindow.cpp:8931
QAction * networkRandomGaussianAct
Definition mainwindow.h:682
QAction * averGraphDistanceAct
Definition mainwindow.h:726
QAction * fullScreenModeAct
Definition mainwindow.h:718
QMenu * analysisMenu
Definition mainwindow.h:643
DialogSimilarityPearson * m_dialogSimilarityPearson
Definition mainwindow.h:629
void slotAnalyzeDiameter()
Displays the network diameter (largest geodesic)
Definition mainwindow.cpp:12953
QLabel * rightPanelEdgesLabel
Definition mainwindow.h:771
void slotAnalyzeWalksTotal()
Calculate and print the total number of walks of any length, between each pair of nodes.
Definition mainwindow.cpp:13222
QAction * layoutNodeSizeProminence_SC_Act
Definition mainwindow.h:752
void slotAnalyzeCentralityDegree()
Definition mainwindow.cpp:13737
QLabel * rightPanelClickedNodeHeaderLabel
Definition mainwindow.h:773
QAction * filterNodesByAttributeAct
Definition mainwindow.h:701
QString progressMsg
Definition mainwindow.h:587
void slotLayoutRandom()
Calls Graph::layoutRandom to reposition all nodes on a random layout.
Definition mainwindow.cpp:11894
QAction * networkCloseAct
Definition mainwindow.h:670
QAction * networkImportGMLAct
Definition mainwindow.h:676
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:11147
bool slotNetworkClose()
Closes the current network, saving it if needed.
Definition mainwindow.cpp:7189
QComboBox * toolBoxAnalysisCommunitiesSelect
Definition mainwindow.h:657
void slotOptionsCanvasIndexMethod(const QString &method)
Changes the indexing method of the graphics scene.
Definition mainwindow.cpp:15043
QAction * networkExportEdgesCSVAct
Definition mainwindow.h:674
void slotLayoutEgoRadial()
Calls Graph::layoutEgoRadial. Resolves the ego vertex from the current selection (exactly one selecte...
Definition mainwindow.cpp:11935
void slotNetworkDataSetRecreate(const QString)
Recreates famous and widely used data sets in network analysis studies.
Definition mainwindow.cpp:8682
QToolButton * rotateRightBtn
Definition mainwindow.h:665
void slotNetworkRandomRingLattice()
Creates a ring lattice network.
Definition mainwindow.cpp:8997
QMenu * networkMenu
Definition mainwindow.h:648
void slotEditNodeOpenContextMenu()
MainWindow::slotEditNodeOpenContextMenu Called from GW when the user has right-clicked on a node Open...
Definition mainwindow.cpp:10475
void slotNetworkPrint()
Sends the active network to the printer.
Definition mainwindow.cpp:7222
QAction * layoutNodeColorProminence_IRCC_Act
Definition mainwindow.h:760
QAction * networkViewFileAct
Definition mainwindow.h:678
void slotOptionsCanvasUpdateMode(const QString &mode)
Sets canvas update mode.
Definition mainwindow.cpp:14997
QAction * optionsEdgesVisibilityAct
Definition mainwindow.h:714
void slotAnalyzeMatrixLaplacian()
Writes the Laplacian matrix of the graph.
Definition mainwindow.cpp:12658
QAction * editRelationAddAct
Definition mainwindow.h:766
QAction * networkOpenAct
Definition mainwindow.h:669
QAction * editNodeLabelsSizeAct
Definition mainwindow.h:697
void slotOptionsCanvasAntialiasingAutoAdjust(const bool &toggle=false)
Turns antialiasing auto-adjustment on or off.
Definition mainwindow.cpp:14850
QAction * layoutNodeSizeProminence_PP_Act
Definition mainwindow.h:755
QAction * analyzeGraphWalksTotalAct
Definition mainwindow.h:730
void slotStyleSheetByName(const QString &sheetFileName)
Loads a custom Qt StyleSheet (.qss file)
Definition mainwindow.cpp:15366
DialogRandRegular * m_randRegularDialog
Definition mainwindow.h:627
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:9092
void slotNetworkSavedStatus(const int &status)
Updates the 'save' status of the network.
Definition mainwindow.cpp:7160
QAction * networkQuitAct
Definition mainwindow.h:670
QStringList nodeShapeList
Definition mainwindow.h:595
void slotEditTransformNodes2Edges()
Definition mainwindow.cpp:11867
QLabel * rightPanelSelectedEdgesLCD
Definition mainwindow.h:783
void closeEvent(QCloseEvent *ce)
Called when the application closes. Asks to write any unsaved network data.
Definition mainwindow.cpp:286
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:10531
~MainWindow()
Deletes variables on MW closing.
Definition mainwindow.cpp:248
QAction * editEdgeAddAct
Definition mainwindow.h:696
QLabel * rightPanelSelectedEdgesLabel
Definition mainwindow.h:784
QAction * layoutNodeColorProminence_DP_Act
Definition mainwindow.h:756
QAction * editNodeSelectedToCliqueAct
Definition mainwindow.h:693
void slotFilterNodesDialogByCentrality()
Shows a dialog where the user can specify criteria to filter nodes.
Definition mainwindow.cpp:11624
QAction * editEdgeDichotomizeAct
Definition mainwindow.h:707
void slotOptionsEdgeLabelsVisibility(bool toggle)
MainWindow::slotOptionsEdgeLabelsVisibility Turns on/off displaying edge labels.
Definition mainwindow.cpp:14753
void signalRelationAddAndChange(const QString &relName, const bool &changeRelation=true)
void slotEditEdgeSymmetrizeStrongTies()
MainWindow::slotEditEdgeSymmetrizeStrongTies.
Definition mainwindow.cpp:11492
void slotEditNodeSelectedToStar()
Creates a star subgraph from selected nodes. User must choose a central node.
Definition mainwindow.cpp:10012
QAction * layoutNodeSizeProminence_IRCC_Act
Definition mainwindow.h:755
void initView()
Initializes our graphics widget, the canvas where we draw networks.
Definition mainwindow.cpp:851
void slotOptionsWindowStatusbarVisibility(bool toggle)
Turns window statusbar on or off.
Definition mainwindow.cpp:15259
QAction * layoutLevelProminence_PC_Act
Definition mainwindow.h:748
QAction * layoutLevelProminence_BC_Act
Definition mainwindow.h:748
DialogRandScaleFree * m_randScaleFreeDialog
Definition mainwindow.h:626
QMenu * editNodeMenu
Definition mainwindow.h:645
QAction * layoutFDP_Eades_Act
Definition mainwindow.h:763
QAction * networkDataSetSelectAct
Definition mainwindow.h:679
void slotNetworkExportImage(const QString &filename, const QByteArray &format, const int &quality, const int &compression)
Exports the network to an image file.
Definition mainwindow.cpp:8000
QAction * cEccentAct
Definition mainwindow.h:739
void toolBoxAnalysisMatricesSelectChanged(const int &selectedIndex)
Called when user selects something in the Matrices selectbox of the toolbox.
Definition mainwindow.cpp:6320
QAction * layoutNodeSizeProminence_IC_Act
Definition mainwindow.h:753
QAction * editRotateLeftAct
Definition mainwindow.h:664
QMenu * communitiesMenu
Definition mainwindow.h:646
QAction * openTextEditorAct
Definition mainwindow.h:678
QAction * editNodeSelectNoneAct
Definition mainwindow.h:691
void slotOptionsWindowFullScreen(bool toggle)
Toggles full screen mode (F11)
Definition mainwindow.cpp:15223
void slotNetworkFileDialogFileSelected(const QString &fileName)
Called when user selects a file in the fileDialog Calls slotNetworkFileChoose() again.
Definition mainwindow.cpp:7000
void slotAnalyzeCentralityEccentricity()
MainWindow::slotAnalyzeCentralityEccentricity Writes Eccentricity Centralities into a file,...
Definition mainwindow.cpp:14217
void slotNetworkImportAdjacency()
Imports a network from a Adjacency matrix formatted file.
Definition mainwindow.cpp:7268
void polishProgressDialog(QProgressDialog *dialog)
Fixes known bugs in QProgressDialog class. i.e. Workaround for macOS-only Qt bug: QTBUG-65750,...
Definition mainwindow.cpp:14428
void slotAnalyzeCentralityEigenvector()
Writes Eigenvector Centralities into a file, then displays it.
Definition mainwindow.cpp:14092
void slotLayoutNodeColorByProminenceIndex()
Runs when the user selects a color layout menu option.
Definition mainwindow.cpp:12317
void resizeEvent(QResizeEvent *e)
Called whenever the app window is resized.
Definition mainwindow.cpp:410
QAction * editEdgeSymmetrizeStrongTiesAct
Definition mainwindow.h:706
QAction * layoutRandomRadialAct
Definition mainwindow.h:740
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:9680
QString fileNameNoPath
Definition mainwindow.h:587
void initActions()
Initializes all QActions of the application.
Definition mainwindow.cpp:981
int activeEdges()
Definition mainwindow.cpp:12434
QAction * layoutNodeSizeProminence_DP_Act
Definition mainwindow.h:751
QAction * editRelationNextAct
Definition mainwindow.h:766
DialogNodeFind * m_nodeFindDialog
Definition mainwindow.h:618
void slotHelpMessageToUserInfo(const QString text=QString())
Helper function to display a popup with useful info.
Definition mainwindow.cpp:6016
QAction * networkImportGraphvizAct
Definition mainwindow.h:677
QAction * layoutLevelProminence_EVC_Act
Definition mainwindow.h:749
void slotOptionsWindowLeftPanelVisibility(bool toggle)
Toggles left panel.
Definition mainwindow.cpp:15280
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:10727
QAction * analyzeMatrixReachabilityAct
Definition mainwindow.h:730
QToolButton * zoomOutBtn
Definition mainwindow.h:665
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:96