31#include <QNetworkReply>
34#include <QtCharts/QChartGlobal>
52class QNetworkAccessManager;
68class DialogPreviewFile;
69class DialogWebCrawler;
70class DialogDataSetSelect;
71class DialogRandErdosRenyi;
72class DialogRandSmallWorld;
73class DialogRandScaleFree;
74class DialogRandRegular;
75class DialogRandLattice;
76class DialogSimilarityPearson;
77class DialogSimilarityMatches;
78class DialogDissimilarities;
79class DialogClusteringHierarchical;
81class DialogExportImage;
84class DialogFilterEdgesByWeight;
85class DialogEdgeDichotomization;
87class DialogSystemInfo;
109 MainWindow(
const QString &m_fileName=QString(),
const bool &forceProgress=
false,
const bool &maximized=
false,
const bool &fullscreen=
false,
const int &debugLevel=0);
126 QMap<QString, QString>
initSettings(
const int &debugLevel=0,
const bool &forceProgress=
false);
146 const bool &checkSelectFileType =
true);
152 void slotNetworkFileLoad (
const QString &fileNameToLoad,
const QString &codeName,
const int &fileFormat);
154 const QString &fName=QString(),
155 const QString &netName=QString(),
156 const int &totalNodes=0,
157 const int &totalEdges=0,
158 const qreal &density=0,
159 const qint64 &elapsedTime=0,
160 const QString &message=QString());
174 const int &vertices,
const int &edges,
175 const qreal &density,
176 const bool &needsSaving=
true);
186 const QByteArray &format,
188 const int &compression
193 const QPageLayout::Orientation &orientation,
195 const QPrinter::PrinterMode printerMode,
196 const QPageSize &pageSize);
215 const QString &mode,
const bool &diag);
223 const int &initialNodes,
224 const int &edgesPerStep,
225 const qreal &zeroAppeal,
226 const QString &mode);
241 const int &dimension,
244 const bool &circular);
249 const QStringList &urlPatternsIncluded,
250 const QStringList &urlPatternsExcluded,
251 const QStringList &linkClasses,
253 const int &maxLinksPerPage,
254 const bool &intLinks,
255 const bool &childLinks,
256 const bool &parentLinks,
257 const bool &selfLinks,
258 const bool &extLinks,
259 const bool &extLinksCrawl,
260 const bool &socialLinks,
261 const bool &delayedRequests);
285 const QString &label,
287 const int &outDegree);
293 const QString &searchType,
294 const QString &indexStr=QString());
300 const QString &value,
302 const QString &shape,
303 const QString &iconPath
312 QString shape=QString(),
313 QString nodeIconPath=QString());
322 const bool &openMenu=
false);
327 const qreal &weight=1);
415 QAbstractAxis *axisX,
418 QAbstractAxis *axisY=Q_NULLPTR,
428 const QString &varLocation,
429 const QString &metric,
430 const QString &method,
431 const bool &diagonal=
false,
432 const bool &diagram=
false);
436 const QString &varLocation,
437 const bool &diagonal);
441 const QString &varLocation,
442 const QString &measure,
443 const bool &diagonal);
447 const QString &varLocation,
448 const bool &diagonal=
false);
509 const QString statusMsg=QString(),
510 const QString text=QString(),
511 const QString info=QString(),
512 QMessageBox::StandardButtons buttons=QMessageBox::NoButton,
513 QMessageBox::StandardButton defBtn=QMessageBox::Ok,
514 const QString btn1=QString(),
515 const QString btn2=QString()
The Graph class This is the main class for a Graph, used in conjuction with GraphVertex,...
Definition graph.h:98
Definition graphicsedge.h:49
Definition graphicsnode.h:47
The base window of SocNetV contains all widgets and functionality.
Definition mainwindow.h:102
QAction * editNodeNumbersSizeAct
Definition mainwindow.h:666
void slotOptionsBackgroundColor(QColor color=QColor())
Called from Options menu and Settings dialog.
Definition mainwindow.cpp:14501
DialogWebCrawler * m_WebCrawlerDialog
Definition mainwindow.h:588
QAction * analyzeMatrixDegreeAct
Definition mainwindow.h:699
void slotLayoutColorationStrongStructural()
Definition mainwindow.cpp:11369
QAction * optionsEdgeWeightConsiderAct
Definition mainwindow.h:681
void slotAnalyzePrestigeDegree()
Definition mainwindow.cpp:13302
QAction * editRelationRenameAct
Definition mainwindow.h:732
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:7394
void slotEditNodeSizeAll(int newSize=0, const bool &normalized=false)
Changes the size of nodes to newSize.
Definition mainwindow.cpp:9895
QAction * layoutNodeColorProminence_PC_Act
Definition mainwindow.h:723
QString fileName
Definition mainwindow.h:562
QLabel * rightPanelClickedEdgeNameLCD
Definition mainwindow.h:753
void slotAnalyzeDistance()
Handles requests to compute the graph/geodesic distance between two user-specified nodes.
Definition mainwindow.cpp:12230
void slotEditNodeSelectedToLine()
Creates a line subgraph from selected nodes.
Definition mainwindow.cpp:9822
void slotHelpCheckUpdateParse()
Parses the reply from the network request we do in slotHelpCheckUpdateDialog.
Definition mainwindow.cpp:14812
QAction * networkWebCrawlerAct
Definition mainwindow.h:657
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:14038
QAction * editFilterEdgesUnilateralAct
Definition mainwindow.h:670
QAction * networkImportAdjAct
Definition mainwindow.h:645
QAction * cBetweennessAct
Definition mainwindow.h:703
QStringList recentFiles
Definition mainwindow.h:568
QPrinter * printer
Definition mainwindow.h:580
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:12959
QAction * cProximityPrestigeAct
Definition mainwindow.h:704
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:8571
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:9142
QAction * analyzeGraphWalksAct
Definition mainwindow.h:695
QNetworkAccessManager * networkManager
Definition mainwindow.h:582
QAction * netDensity
Definition mainwindow.h:690
QToolBar * toolBar
Definition mainwindow.h:609
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:9936
void slotEditRelationAddPrompt()
Prompts the user to enter the name of a new relation.
Definition mainwindow.cpp:7578
void slotOptionsCanvasCacheBackground(const bool &toggle=false)
Turns caching of canvas background on or off.
Definition mainwindow.cpp:14293
QAction * editNodeRemoveAct
Definition mainwindow.h:663
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:9171
QAction * editRelationPreviousAct
Definition mainwindow.h:731
void toolBoxLayoutForceDirectedApplyBtnPressed()
Called when the user selects a model in the Layout by Force Directed selectbox of left panel.
Definition mainwindow.cpp:6379
QAction * layoutGuidesAct
Definition mainwindow.h:705
QComboBox * editRelationChangeCombo
Definition mainwindow.h:613
void slotNetworkNew()
Starts a new network (closing the current one).
Definition mainwindow.cpp:6414
void slotEditNodeSelectedToCycle()
Creates a cycle subgraph from selected nodes.
Definition mainwindow.cpp:9787
QAction * editNodeSizeAllAct
Definition mainwindow.h:667
QAction * editNodeNumbersColorAct
Definition mainwindow.h:675
void slotNetworkRandomErdosRenyiDialog()
Shows a dialog to create an Erdos-Renyi random network.
Definition mainwindow.cpp:8449
void slotNetworkTextEditor()
Opens the embedded text editor.
Definition mainwindow.cpp:8262
DialogExportImage * m_dialogExportImage
Definition mainwindow.h:591
DialogPreviewFile * m_dialogPreviewFile
Definition mainwindow.h:607
QMenu * strEquivalenceMenu
Definition mainwindow.h:618
QLabel * rightPanelEdgesLCD
Definition mainwindow.h:740
void slotEditEdgeSymmetrizeCocitation()
Adds a new cocitation symmetric relation to the network.
Definition mainwindow.cpp:11077
QAction * optionsNodeNumbersVisibilityAct
Definition mainwindow.h:678
QAction * editEdgeWeightAct
Definition mainwindow.h:668
bool slotNetworkExportList()
Definition mainwindow.cpp:8160
void slotOptionsBackgroundImage()
Enables/disables displaying a user-defined custom image in the background Called from Settings Dialog...
Definition mainwindow.cpp:14560
QAction * layoutRadialProminence_IC_Act
Definition mainwindow.h:708
QAction * layoutNodeColorProminence_IC_Act
Definition mainwindow.h:723
QAction * editEdgeColorAct
Definition mainwindow.h:668
QAction * layoutNodeSizeProminence_EC_Act
Definition mainwindow.h:717
void slotAnalyzeStrEquivalenceDissimilaritiesDialog()
Displays the DialogDissimilarities dialog.
Definition mainwindow.cpp:12936
void slotAnalyzeSymmetryCheck()
Definition mainwindow.cpp:11945
QAction * editEdgeLabelAct
Definition mainwindow.h:668
QAction * layoutRadialProminence_CC_Act
Definition mainwindow.h:707
void slotAnalyzeCentralityBetweenness()
Definition mainwindow.cpp:13265
void slotAnalyzeClusteringCoefficient()
Calls Graph::writeClusteringCoefficient() to write Clustering Coefficients into a file,...
Definition mainwindow.cpp:12746
void slotOptionsWindowToolbarVisibility(bool toggle)
Turns Toolbar on or off.
Definition mainwindow.cpp:14599
QAction * layoutNodeSizeProminence_CC_Act
Definition mainwindow.h:717
QMenu * nodeOptionsMenu
Definition mainwindow.h:616
void slotHelpTips()
Definition mainwindow.cpp:14683
void initSignalSlots()
Connects signals & slots between various parts of the app.
Definition mainwindow.cpp:5362
void slotAnalyzeCentralityInformation()
MainWindow::slotAnalyzeCentralityInformation Writes Informational Centralities into a file,...
Definition mainwindow.cpp:13415
void toolBoxAnalysisCommunitiesSelectChanged(const int &selectedIndex)
Called when the user selects something in the Communities selectbox of the toolbox.
Definition mainwindow.cpp:6227
QAction * layoutNodeColorProminence_BC_Act
Definition mainwindow.h:723
QAction * optionsNodeLabelsVisibilityAct
Definition mainwindow.h:678
QAction * zoomInAct
Definition mainwindow.h:635
QAction * helpAboutApp
Definition mainwindow.h:687
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:6437
QAction * editEdgeColorAllAct
Definition mainwindow.h:674
void slotOptionsEdgeWeightNumbersVisibility(bool toggle)
Turns on/off displaying edge weight numbers.
Definition mainwindow.cpp:14077
QAction * layoutRadialProminence_EC_Act
Definition mainwindow.h:707
void slotAnalyzeCentralityClosenessIR()
MainWindow::slotAnalyzeCentralityClosenessIR Writes Centrality Closeness (based on Influence Range) i...
Definition mainwindow.cpp:13228
QLabel * rightPanelClickedNodeOutDegreeLCD
Definition mainwindow.h:745
QAction * optionsEdgeLabelsAct
Definition mainwindow.h:682
QAction * optionsEdgeArrowsAct
Definition mainwindow.h:681
QAction * layoutNodeColorProminence_DC_Act
Definition mainwindow.h:721
void slotEditEdgeDichotomization(const qreal threshold)
Calls Graph::graphDichotomization() to create a new binary relation in a valued network using edge di...
Definition mainwindow.cpp:11125
QThread graphThread
Definition mainwindow.h:105
void slotEditFilterNodesIsolates(bool checked)
Toggles the status of all isolated vertices.
Definition mainwindow.cpp:11291
QMenu * centrlMenu
Definition mainwindow.h:617
void slotEditNodeSelectAll()
Selects all nodes.
Definition mainwindow.cpp:9330
QAction * layoutNodeColorProminence_PRP_Act
Definition mainwindow.h:725
void slotAnalyzeReachabilityMatrix()
Definition mainwindow.cpp:12710
QMenu * filterMenu
Definition mainwindow.h:620
QAction * clusteringCoefAct
Definition mainwindow.h:696
QAction * layoutRadialProminence_BC_Act
Definition mainwindow.h:708
void slotOptionsEmbedLogoExporting(bool toggle)
MainWindow::slotOptionsEmbedLogoExporting.
Definition mainwindow.cpp:14441
void slotNetworkImportGML()
Imports a network from a GML formatted file.
Definition mainwindow.cpp:7053
int nodesEstimatedSize
Definition mainwindow.h:555
QPushButton * toolBoxLayoutByIndexApplyButton
Definition mainwindow.h:633
QAction * tipsApp
Definition mainwindow.h:687
QAction * helpSystemInfoAct
Definition mainwindow.h:688
QAction * layoutRadialProminence_DC_Act
Definition mainwindow.h:706
QAction * layoutRadialProminence_DP_Act
Definition mainwindow.h:706
QAction * editFilterEdgesByWeightAct
Definition mainwindow.h:669
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:6166
void slotNetworkRandomSmallWorldDialog()
Shows a dialog to create a small-world random network.
Definition mainwindow.cpp:8606
void slotEditEdgeUndirectedAll(const bool &toggle)
Transforms all directed arcs to undirected edges. The result is a undirected and symmetric network.
Definition mainwindow.cpp:11190
DialogDissimilarities * m_dialogdissimilarities
Definition mainwindow.h:603
QString initTextCodecName
Definition mainwindow.h:563
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:10307
QMenu * layoutMenu
Definition mainwindow.h:617
QAction * analyzeStrEquivalenceClusteringHierarchicalAct
Definition mainwindow.h:700
QAction * layoutNodeSizeProminence_DC_Act
Definition mainwindow.h:716
void slotEditEdgeLabel()
Changes the label of an edge.
Definition mainwindow.cpp:10719
QMenu * importSubMenu
Definition mainwindow.h:615
bool slotNetworkExportDL()
TODO Exports the network to a DL-formatted file.
Definition mainwindow.cpp:8103
QMenu * recentFilesSubMenu
Definition mainwindow.h:620
QAction * layoutNodeSizeProminence_BC_Act
Definition mainwindow.h:718
void slotProgressBoxDestroy(const int &max=0)
Destroys the first in queue Progress dialog.
Definition mainwindow.cpp:13804
QMenu * randomNetworkMenu
Definition mainwindow.h:620
void slotAnalyzeWalksLength()
Definition mainwindow.cpp:12613
QAction * networkImportListAct
Definition mainwindow.h:645
void slotNetworkFileLoad(const QString &fileNameToLoad, const QString &codeName, const int &fileFormat)
Loads the given network file.
Definition mainwindow.cpp:7270
void slotLayoutNodeSizeByProminenceIndex()
Runs when the user selects a color layout menu option.
Definition mainwindow.cpp:11680
void slotNetworkFileDialogRejected()
Displays a status message when the user aborts the file dialog.
Definition mainwindow.cpp:6740
DialogSystemInfo * m_systemInfoDialog
Definition mainwindow.h:606
QAction * networkExportGWAct
Definition mainwindow.h:643
QAction * analyzeMatrixLaplacianAct
Definition mainwindow.h:699
QMenu * layoutNodeSizeProminenceMenu
Definition mainwindow.h:622
QAction * transformNodes2EdgesAct
Definition mainwindow.h:671
void slotNetworkRandomLatticeDialog()
Shows a dialog to create a "random" lattice network.
Definition mainwindow.cpp:8799
void slotEditDragModeScroll(bool)
Toggles the non-interactive scrollhand drag mode.
Definition mainwindow.cpp:7544
QAction * recentFileActs[MaxRecentFiles]
Definition mainwindow.h:733
QMenu * helpMenu
Definition mainwindow.h:615
int fileType
Definition mainwindow.h:554
QMenu * cohesionMenu
Definition mainwindow.h:618
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:434
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())
Displays a popup with the given text/info and a status message.
Definition mainwindow.cpp:5889
QAction * openSettingsAct
Definition mainwindow.h:685
void slotHelpCreateTips()
Definition mainwindow.cpp:14693
QToolButton * rotateLeftBtn
Definition mainwindow.h:636
void slotLayoutFruchterman()
Calls Graph::layoutForceDirectedFruchtermanReingold to embed the Fruchterman-Reingold model of repell...
Definition mainwindow.cpp:11449
QAction * cStressAct
Definition mainwindow.h:704
bool slotNetworkFilePreview(const QString &, const int &)
Opens the preview dialog with the selected file contents.
Definition mainwindow.cpp:7215
void slotNetworkDataSetSelect()
Displays the dataset selection dialog.
Definition mainwindow.cpp:8379
QAction * layoutFDP_FR_Act
Definition mainwindow.h:728
QLabel * rightPanelSelectedNodesLCD
Definition mainwindow.h:747
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:12876
int fortuneCookiesCounter
Definition mainwindow.h:558
QMenu * layoutRadialProminenceMenu
Definition mainwindow.h:621
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:10000
QAction * networkSaveAct
Definition mainwindow.h:640
DialogRandErdosRenyi * m_randErdosRenyiDialog
Definition mainwindow.h:596
QAction * editMouseModeScrollAct
Definition mainwindow.h:659
void slotOptionsProgressDialogVisibility(bool toggle)
Turns progress dialogs on or off.
Definition mainwindow.cpp:14457
QLabel * rightPanelNetworkTypeLCD
Definition mainwindow.h:735
void slotOptionsCanvasSmoothPixmapTransform(const bool &toggle=false)
Turns smooth pixmap transformations on or off.
Definition mainwindow.cpp:14233
QAction * editNodeSelectedToStarAct
Definition mainwindow.h:661
void slotOptionsEdgesBezier(bool toggle)
Definition mainwindow.cpp:13974
void slotNetworkImportEdgeList()
Imports a network from a simple List or weighted List formatted file.
Definition mainwindow.cpp:7105
void slotAnalyzeMatrixAdjacencyInverse()
Writes the adjacency matrix inverse.
Definition mainwindow.cpp:11975
QAction * layoutNodeColorProminence_SC_Act
Definition mainwindow.h:722
void slotLayoutLevelByProminenceIndex()
Runs when the user selects a radial layout menu option.
Definition mainwindow.cpp:11584
QAction * editNodeLabelsColorAct
Definition mainwindow.h:675
DialogExportPDF * m_dialogExportPDF
Definition mainwindow.h:590
QAction * layoutLevelProminence_CC_Act
Definition mainwindow.h:712
QAction * networkRandomLatticeRingAct
Definition mainwindow.h:652
void slotNetworkManagerReplyError(const QNetworkReply::NetworkError &code)
Shows a message box to the user when a NetworkReply encounters errors.
Definition mainwindow.cpp:9008
void toolBoxEditEdgeTransformSelectChanged(const int &selectedIndex)
Called when user selects something in the Edge Transform selectbox of the toolbox.
Definition mainwindow.cpp:6096
int initZoomIndex
Definition mainwindow.h:559
QAction * filterNodesAct
Definition mainwindow.h:669
void slotOptionsEdgeArrowsVisibility(bool toggle)
Turns on/off the arrows of edges.
Definition mainwindow.cpp:13939
QGraphicsScene * scene
Definition mainwindow.h:583
QLabel * rightPanelDensityLCD
Definition mainwindow.h:741
QComboBox * toolBoxEditEdgeModeSelect
Definition mainwindow.h:626
bool askedAboutWeights
Definition mainwindow.h:560
QMenu * editMenu
Definition mainwindow.h:615
QStringList tempFileNameNoPath
Definition mainwindow.h:566
QAction * networkRandomErdosRenyiAct
Definition mainwindow.h:650
void slotLayoutRadialRandom()
Calls Graph::layoutRadialRandom to reposition all nodes on a radial layout randomly.
Definition mainwindow.cpp:11404
void initPanels()
Creates docked panels for instant access to main app functionalities and displaying statistics.
Definition mainwindow.cpp:4232
QAction * analyzeMatrixAdjTransposeAct
Definition mainwindow.h:697
void slotEditEdgeDichotomizationDialog()
Opens up the edge dichotomization dialog.
Definition mainwindow.cpp:11099
QAction * strongColorationAct
Definition mainwindow.h:727
QComboBox * toolBoxLayoutByIndexTypeSelect
Definition mainwindow.h:630
void slotEditOpenContextMenu(const QPointF &mPos)
Popups a context menu with options when the user right-clicks on the canvas.
Definition mainwindow.cpp:9261
QAction * networkImportTwoModeSM
Definition mainwindow.h:646
void slotOptionsNodeNumbersInside(bool toggle)
MainWindow::slotOptionsNodeNumbersInside Turns on/off displaying the nodenumbers inside the nodes.
Definition mainwindow.cpp:13852
void slotAnalyzeMatrixAdjacencyCocitation()
Writes the cocitation matrix.
Definition mainwindow.cpp:12040
QAction * editEdgeUndirectedAllAct
Definition mainwindow.h:672
void slotHelpSystemInfo()
Shows a dialog with system information for bug reporting purposes.
Definition mainwindow.cpp:14934
QString settingsFilePath
Definition mainwindow.h:564
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:10031
void slotOptionsNodeLabelsVisibility(bool toggle)
MainWindow::slotOptionsNodeLabelsVisibility Turns on/off displaying labels.
Definition mainwindow.cpp:13884
QAction * layoutLevelProminence_PRP_Act
Definition mainwindow.h:715
QAction * editEdgeSymmetrizeAllAct
Definition mainwindow.h:671
void slotLayoutColorationRegular()
Definition mainwindow.cpp:11376
QAction * layoutNodeSizeProminence_EVC_Act
Definition mainwindow.h:719
void slotAnalyzeCentralityStress()
MainWindow::slotAnalyzeCentralityStress Writes Stress Centralities into a file, then displays it.
Definition mainwindow.cpp:13523
void slotAnalyzeConnectedness()
Reports the network connectedness.
Definition mainwindow.cpp:12535
QAction * networkExportPDFAct
Definition mainwindow.h:643
void slotOptionsNodeNumbersVisibility(bool toggle)
MainWindow::slotOptionsNodeNumbersVisibility Turns on/off displaying the numbers of nodes (outside on...
Definition mainwindow.cpp:13826
DialogDataSetSelect * m_datasetSelectDialog
Definition mainwindow.h:589
void slotAnalyzeCentralityPower()
MainWindow::slotAnalyzeCentralityPower Writes Gil-Schmidt Power Centralities into a file,...
Definition mainwindow.cpp:13563
QAction * editNodeSelectedToLineAct
Definition mainwindow.h:662
void slotHelp()
Opens the system web browser to load the online Manual.
Definition mainwindow.cpp:14783
void slotNetworkViewSociomatrix()
Displays the adjacency matrix of the network.
Definition mainwindow.cpp:8284
QAction * networkImportUcinetAct
Definition mainwindow.h:646
QAction * layoutLevelProminence_PP_Act
Definition mainwindow.h:715
void slotEditEdgeAdd()
Opens dialogs for the user to specify the source and the target node of a new edge.
Definition mainwindow.cpp:10462
void slotEditEdgeRemove()
Removes a clicked edge. Otherwise asks the user to specify one edge.
Definition mainwindow.cpp:10582
QAction * networkPrintAct
Definition mainwindow.h:641
void slotEditRelationAdd(const QString &newRelationName)
Adds a new relation to the relations combo.
Definition mainwindow.cpp:7666
void slotLayoutSpringEmbedder()
Calls Graph::layoutForceDirectedSpringEmbedder to embed the Eades spring-gravitational model to the n...
Definition mainwindow.cpp:11429
DialogFilterEdgesByWeight * m_DialogEdgeFilterByWeight
Definition mainwindow.h:595
int progressCounter
Definition mainwindow.h:553
QAction * analyzeMatrixDistancesGeodesicAct
Definition mainwindow.h:692
QAction * layoutRadialProminence_PC_Act
Definition mainwindow.h:708
void slotEditEdgeSymmetrizeAll()
Symmetrizes the ties between every two connected nodes. If there is an arc from Node A to Node B,...
Definition mainwindow.cpp:11057
QStringList fortuneCookie
Definition mainwindow.h:565
void slotAnalyzeReciprocity()
Definition mainwindow.cpp:11913
void slotHelpAbout()
Definition mainwindow.cpp:14948
QAction * editFilterNodesIsolatesAct
Definition mainwindow.h:669
void slotNetworkImportGraphviz()
Imports a network from a Dot (GraphViz) formatted file.
Definition mainwindow.cpp:7083
QAction * networkSaveAsAct
Definition mainwindow.h:640
void initGraph()
Initializes the Graph.
Definition mainwindow.cpp:1013
QLabel * rightPanelClickedEdgeReciprocalWeightLCD
Definition mainwindow.h:757
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:8484
QAction * analyzeGraphDistanceAct
Definition mainwindow.h:691
void slotEditEdgeMode(const int &mode)
Toggles between directed (mode=0) and undirected edges (mode=1)
Definition mainwindow.cpp:11231
QAction * cPowerAct
Definition mainwindow.h:704
void createFortuneCookies()
Definition mainwindow.cpp:14988
void initToolBar()
Initializes the toolbar.
Definition mainwindow.cpp:4144
QAction * zoomOutAct
Definition mainwindow.h:635
QAction * cPageRankAct
Definition mainwindow.h:703
QStringList iconPathList
Definition mainwindow.h:569
void slotAnalyzeCommunitiesCliqueCensus()
Calls Graph:: writeCliqueCensus() to write the Clique Census into a file, then displays it.
Definition mainwindow.cpp:12782
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:10135
QComboBox * toolBoxEditEdgeTransformSelect
Definition mainwindow.h:626
void slotEditFilterEdgesByWeightDialog()
Shows a dialog where the user can specify how to filter edges by their weight.
Definition mainwindow.cpp:11314
QAction * editRotateRightAct
Definition mainwindow.h:635
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:12136
void slotAnalyzePrestigePageRank()
Definition mainwindow.cpp:13347
void slotOptionsCanvasAntialiasing(bool toggle)
Turns antialiasing on or off.
Definition mainwindow.cpp:14177
QAction * analyzeCommunitiesCliquesAct
Definition mainwindow.h:696
QAction * optionsNodeNumbersInsideAct
Definition mainwindow.h:678
QAction * layoutLevelProminence_DC_Act
Definition mainwindow.h:711
DialogNodeEdit * m_nodeEditDialog
Definition mainwindow.h:592
void slotNetworkSaveAs()
Prompts the user to save the network in a new file. Always uses the GraphML format and extension.
Definition mainwindow.cpp:6906
QAction * networkViewSociomatrixPlotAct
Definition mainwindow.h:648
QAction * layoutNodeColorProminence_PP_Act
Definition mainwindow.h:725
void initApp()
Initializes the default app parameters.
Definition mainwindow.cpp:5655
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:10070
void slotNetworkManagerRequest(const QUrl &url, const NetworkRequestType &requestType)
Makes a network request to the given url.
Definition mainwindow.cpp:8959
QComboBox * toolBoxEditNodeSubgraphSelect
Definition mainwindow.h:625
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:13641
void statusMessage(const QString)
Shows a message in the status bar, with the given duration.
Definition mainwindow.cpp:5852
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:7921
QAction * analyzeStrEquivalencePearsonAct
Definition mainwindow.h:700
QAction * layoutFDP_KamadaKawai_Act
Definition mainwindow.h:729
QSlider * rotateSlider
Definition mainwindow.h:638
void slotEditNodeSelectedToClique()
Creates a complete subgraph (clique) from selected nodes.
Definition mainwindow.cpp:9700
void slotOptionsEdgeWeightsDuringComputation(bool)
Toggles edge weights during computations.
Definition mainwindow.cpp:13963
QAction * editNodeSelectedToCycleAct
Definition mainwindow.h:661
void slotEditNodeColorAll(QColor color=QColor())
Changes the color of all nodes to parameter color.
Definition mainwindow.cpp:9862
QGroupBox * leftPanel
Definition mainwindow.h:611
QAction * layoutNodeColorProminence_CC_Act
Definition mainwindow.h:722
void slotNetworkExportImageDialog()
Opens the Export to Image Dialog.
Definition mainwindow.cpp:7760
void slotAnalyzeMatrixDistances()
Invokes calculation of the matrix of geodesic distances for the loaded network, then displays it.
Definition mainwindow.cpp:12314
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:13771
void slotHelpCheckUpdateDialog()
On user demand, makes a network request to SocNetV website to download the latest version text file.
Definition mainwindow.cpp:14795
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:8636
void slotNetworkImportUcinet()
Imports a network from a UCINET formatted file.
Definition mainwindow.cpp:7095
QComboBox * toolBoxLayoutForceDirectedSelect
Definition mainwindow.h:631
QAction * layoutRandomAct
Definition mainwindow.h:705
QAction * layoutLevelProminence_DP_Act
Definition mainwindow.h:711
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:10103
QPushButton * toolBoxLayoutForceDirectedApplyButton
Definition mainwindow.h:633
DialogEdgeDichotomization * m_edgeDichotomizationDialog
Definition mainwindow.h:594
QComboBox * toolBoxLayoutByIndexSelect
Definition mainwindow.h:630
void slotAnalyzeStrEquivalencePearsonDialog()
Calls the m_dialogSimilarityPearson to display the Pearson statistics dialog.
Definition mainwindow.cpp:13014
void slotNetworkSave(const int &fileFormat=-1)
Saves the network to a file.
Definition mainwindow.cpp:6826
void slotNetworkWebCrawlerDialog()
Shows the web crawler dialog.
Definition mainwindow.cpp:8861
QAction * networkImportPajekAct
Definition mainwindow.h:645
QAction * editNodeColorAll
Definition mainwindow.h:674
void slotOptionsCanvasEdgeHighlighting(const bool &toggle=false)
Turns selected edge highlighting.
Definition mainwindow.cpp:14328
QLabel * rightPanelClickedEdgeWeightLabel
Definition mainwindow.h:754
QString previous_fileName
Definition mainwindow.h:562
void toolBoxNetworkAutoCreateSelectChanged(const int &selectedIndex)
Called when user selects something in the Network Auto Create selectbox of the toolbox.
Definition mainwindow.cpp:6022
QMenu * optionsMenu
Definition mainwindow.h:616
QAction * cInfluenceRangeClosenessAct
Definition mainwindow.h:702
void slotEditDragModeSelection(bool)
Toggles the interactive/selection mouse drag mode.
Definition mainwindow.cpp:7519
QAction * layoutNodeColorProminence_EVC_Act
Definition mainwindow.h:724
QAction * editNodeSelectAllAct
Definition mainwindow.h:660
void slotEditNodeFindDialog()
Opens the Find Node dialog.
Definition mainwindow.cpp:9384
void slotOptionsCanvasOpenGL(const bool &toggle=false)
Turns opengl on or off.
Definition mainwindow.cpp:14154
QMenu * editEdgeMenu
Definition mainwindow.h:617
QMenu * connectivityMenu
Definition mainwindow.h:618
QString settingsDir
Definition mainwindow.h:564
QAction * editNodeShapeAll
Definition mainwindow.h:667
void slotLayoutRadialByProminenceIndex()
Runs when the user selects a radial layout menu option.
Definition mainwindow.cpp:11489
QPrinter * printerPDF
Definition mainwindow.h:580
QAction * layoutNodeColorProminence_EC_Act
Definition mainwindow.h:722
QAction * layoutLevelProminence_IC_Act
Definition mainwindow.h:713
QString getLastPath()
Returns the last path used by user to open/save something.
Definition mainwindow.cpp:6423
QMenu * matrixMenu
Definition mainwindow.h:619
QAction * networkViewSociomatrixAct
Definition mainwindow.h:647
QList< QTextCodec * > codecs
Definition mainwindow.h:574
QAction * networkRandomScaleFreeAct
Definition mainwindow.h:653
QAction * layoutRadialProminence_SC_Act
Definition mainwindow.h:707
void slotAnalyzeMatrixGeodesics()
Invokes calculation of the geodedics matrix (the number of shortest paths between each pair of nodes ...
Definition mainwindow.cpp:12352
void slotAnalyzeMatrixDegree()
Writes the degree matrix of the graph.
Definition mainwindow.cpp:12071
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:13099
DialogRandLattice * m_randLatticeDialog
Definition mainwindow.h:600
QLabel * rightPanelClickedEdgeWeightLCD
Definition mainwindow.h:755
void slotEditRelationChange(const int &relIndex=RAND_MAX)
Changes the editRelations combo box index to relIndex.
Definition mainwindow.cpp:7698
void slotOptionsSaveZeroWeightEdges(bool toggle)
Turns on/off saving zero-edge edge weights (only for GraphML at the moment)
Definition mainwindow.cpp:14132
QAction * networkExportSMAct
Definition mainwindow.h:643
int edgesPerNodeEstimatedSize
Definition mainwindow.h:556
QMenu * exportSubMenu
Definition mainwindow.h:615
QGroupBox * rightPanel
Definition mainwindow.h:611
QAction * layoutLevelProminence_EC_Act
Definition mainwindow.h:712
QAction * networkRandomLatticeAct
Definition mainwindow.h:656
QAction * editNodePropertiesAct
Definition mainwindow.h:664
void slotAnalyzeEccentricity()
Definition mainwindow.cpp:12499
void slotOptionsDebugMessages(bool toggle)
Turns debugging messages on or off.
Definition mainwindow.cpp:14476
QStringList prominenceIndexList
Definition mainwindow.h:567
void toolBoxAnalysisStrEquivalenceSelectChanged(const int &selectedIndex)
Called when the user selects something in the Structural Equivalence selectbox of the toolbox.
Definition mainwindow.cpp:6254
QMenu * viewOptionsMenu
Definition mainwindow.h:617
void slotAnalyzePrestigeProximity()
MainWindow::slotAnalyzePrestigeProximity Writes Proximity Prestige indices into a file,...
Definition mainwindow.cpp:13380
QAction * analyzeMatrixAdjCocitationAct
Definition mainwindow.h:698
QSlider * zoomSlider
Definition mainwindow.h:638
QAction * networkExportListAct
Definition mainwindow.h:644
QAction * analyzeGraphSymmetryAct
Definition mainwindow.h:690
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:10558
void slotNetworkImportGraphML()
Imports a network from a GraphML formatted file.
Definition mainwindow.cpp:7043
DialogRandSmallWorld * m_randSmallWorldDialog
Definition mainwindow.h:597
QAction * analyzeCommunitiesTriadCensusAct
Definition mainwindow.h:696
QAction * helpAboutQt
Definition mainwindow.h:687
void signalSetReportsDataDir(const QString &dataDir)
QAction * editEdgeRemoveAct
Definition mainwindow.h:665
QAction * editResetSlidersAct
Definition mainwindow.h:635
QLabel * rightPanelNodesLCD
Definition mainwindow.h:739
QAction * editEdgesCocitationAct
Definition mainwindow.h:676
DialogClusteringHierarchical * m_dialogClusteringHierarchical
Definition mainwindow.h:604
QComboBox * toolBoxAnalysisMatricesSelect
Definition mainwindow.h:629
QAction * optionsEdgeWeightNumbersAct
Definition mainwindow.h:679
QToolButton * resetSlidersBtn
Definition mainwindow.h:636
void slotEditRelationRename()
Prompts the user to enter a new name for the current relation.
Definition mainwindow.cpp:7718
QAction * networkExportImageAct
Definition mainwindow.h:642
QStringList tips
Definition mainwindow.h:566
DialogSimilarityMatches * m_dialogSimilarityMatches
Definition mainwindow.h:602
QAction * helpCheckUpdatesApp
Definition mainwindow.h:688
void initWindowLayout()
Initializes the application window layout.
Definition mainwindow.cpp:5218
void slotAnalyzeStrEquivalenceSimilarityMeasureDialog()
Displays the DialogSimilarityMatches dialog.
Definition mainwindow.cpp:12851
void slotEditFilterEdgesUnilateral(bool checked)
Toggles the status of all unilateral edges.
Definition mainwindow.cpp:11336
QAction * networkRandomSmallWorldAct
Definition mainwindow.h:654
QAction * cClosenessAct
Definition mainwindow.h:702
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:10168
void slotNetworkImportPajek()
Imports a network from a Pajek-like formatted file.
Definition mainwindow.cpp:7061
QAction * networkNewAct
Definition mainwindow.h:640
void slotEditNodePropertiesDialog()
Opens the Node Properties dialog for the selected nodes. If no nodes are selected,...
Definition mainwindow.cpp:9526
QLabel * rightPanelClickedEdgeNameLabel
Definition mainwindow.h:752
QAction * layoutRadialProminence_PRP_Act
Definition mainwindow.h:710
QMenu * layoutLevelProminenceMenu
Definition mainwindow.h:621
void slotNetworkFileRecentUpdateActions()
Updates the Recent Files QActions in the menu.
Definition mainwindow.cpp:5827
void slotAnalyzeCommunitiesTriadCensus()
Definition mainwindow.cpp:12820
QMenu * edgeOptionsMenu
Definition mainwindow.h:616
QAction * backgroundImageAct
Definition mainwindow.h:683
QAction * optionsEdgeThicknessPerWeightAct
Definition mainwindow.h:679
QAction * networkExportDLAct
Definition mainwindow.h:643
void slotAnalyzeStrEquivalenceClusteringHierarchicalDialog()
Displays the slotAnalyzeStrEquivalenceClusteringHierarchicalDialog dialog.
Definition mainwindow.cpp:13067
QAction * editNodeFindAct
Definition mainwindow.h:663
QAction * networkExportPajek
Definition mainwindow.h:642
QLabel * rightPanelClickedNodeLCD
Definition mainwindow.h:743
void slotNetworkFileLoadRecent()
Loads a selected file entry from the "Recent Files" menu.
Definition mainwindow.cpp:7249
QLabel * rightPanelClickedEdgeReciprocalWeightLabel
Definition mainwindow.h:756
Chart * miniChart
Definition mainwindow.h:586
int maxZoomIndex
Definition mainwindow.h:559
void initNetworkAvailableTextCodecs()
Setup a list of all text codecs supported by OS.
Definition mainwindow.cpp:7163
QMenu * colorationMenu
Definition mainwindow.h:623
void initComboBoxes()
Initializes combo boxes in the MW.
Definition mainwindow.cpp:5812
QAction * editMouseModeInteractiveAct
Definition mainwindow.h:659
void initMenuBar()
Populates the menu bar with our menu items.
Definition mainwindow.cpp:3728
void slotNetworkFileDialogFilterSelected(const QString &filter)
Called when user the selects a file filter (i.e. GraphML) in the fileDialog.
Definition mainwindow.cpp:6750
void slotOptionsBackgroundImageSelect(bool toggle)
Toggles displaying a custom image in the background If toggle = true, presents a dialog to select an ...
Definition mainwindow.cpp:14532
QAction * layoutRadialProminence_PP_Act
Definition mainwindow.h:710
QAction * cDegreeAct
Definition mainwindow.h:702
void slotAnalyzeDistanceAverage()
Displays the average shortest path length (average graph distance)
Definition mainwindow.cpp:12452
QAction * layoutLevelProminence_IRCC_Act
Definition mainwindow.h:715
void slotStyleSheetDefault(const bool checked)
Toggles the use of our own Qt StyleSheet.
Definition mainwindow.cpp:854
QAction * networkRandomRegularSameDegreeAct
Definition mainwindow.h:655
void toolBoxAnalysisProminenceSelectChanged(const int &selectedIndex)
Called when user selects something in the Prominence selectbox of the toolbox.
Definition mainwindow.cpp:6287
QAction * analyzeGraphEccentricityAct
Definition mainwindow.h:693
void slotNetworkFileView()
Displays the file of the loaded network.
Definition mainwindow.cpp:8189
void slotOpenSettingsDialog()
Opens the Settings dialog.
Definition mainwindow.cpp:701
QAction * regularColorationAct
Definition mainwindow.h:727
void slotOptionsCanvasSavePainterState(const bool &toggle=false)
Turns saving painter state on or off.
Definition mainwindow.cpp:14262
QAction * analyzeGraphReciprocityAct
Definition mainwindow.h:690
void slotAnalyzeMatrixAdjacencyTranspose()
Writes the transpose adjacency matrix.
Definition mainwindow.cpp:12009
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:10844
QString userSelectedCodecName
Definition mainwindow.h:563
void slotEditNodeAdd()
Adds a new random node.
Definition mainwindow.cpp:9372
QAction * layoutNodeSizeProminence_PRP_Act
Definition mainwindow.h:720
void slotNetworkExportPajek()
Exports the network to a Pajek-formatted file Calls the relevant Graph method.
Definition mainwindow.cpp:7986
QLabel * rightPanelClickedNodeInDegreeLCD
Definition mainwindow.h:744
bool inverseWeights
Definition mainwindow.h:560
QAction * analyzeStrEquivalenceMatchesAct
Definition mainwindow.h:701
void slotEditRelationsClear()
Clears the relations combo.
Definition mainwindow.cpp:7567
QAction * cInformationAct
Definition mainwindow.h:703
QComboBox * toolBoxAnalysisProminenceSelect
Definition mainwindow.h:628
void saveSettings()
Saves default (or user-defined) app settings.
Definition mainwindow.cpp:654
QMap< QString, QString > appSettings
Definition mainwindow.h:572
void slotNetworkImportTwoModeSM()
Imports a network from a two mode sociomatrix formatted file.
Definition mainwindow.cpp:7152
void slotOptionsEdgeThicknessPerWeight(bool toggle)
MainWindow::slotOptionsEdgeThicknessPerWeight.
Definition mainwindow.cpp:14015
QAction * analyzeStrEquivalenceTieProfileDissimilaritiesAct
Definition mainwindow.h:694
void slotEditNodeRemove()
Handles requests to delete a node and the attached objects (edges, etc).
Definition mainwindow.cpp:9459
void slotAboutQt()
Definition mainwindow.cpp:15028
QMenu * layoutNodeColorProminenceMenu
Definition mainwindow.h:622
void toolBoxLayoutByIndexApplyBtnPressed()
Called when the user selects a Prominence index in the Layout selectbox of the Control Panel.
Definition mainwindow.cpp:6338
void slotEditEdgeClicked(const MyEdge &edge=MyEdge(), const bool &openMenu=false)
Displays information about the clicked edge on the statusbar.
Definition mainwindow.cpp:10345
QMenu * randomLayoutMenu
Definition mainwindow.h:621
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:13035
bool slotNetworkExportGW()
Definition mainwindow.cpp:8131
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:9360
QAction * cEigenvectorAct
Definition mainwindow.h:703
void slotNetworkViewSociomatrixPlotText()
Displays a text-only plot of the network adjacency matrix.
Definition mainwindow.cpp:8324
QAction * layoutNodeSizeProminence_PC_Act
Definition mainwindow.h:718
QStack< QProgressDialog * > progressDialogs
Definition mainwindow.h:578
QList< TextEditor * > m_textEditors
Definition mainwindow.h:576
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:8696
QAction * analyzeGraphConnectednessAct
Definition mainwindow.h:695
QAction * analyzeMatrixGeodesicsAct
Definition mainwindow.h:692
void slotAnalyzeCentralityCloseness()
Definition mainwindow.cpp:13187
void toolBoxEditNodeSubgraphSelectChanged(const int &selectedIndex)
Called when user selects something in the Subgraph from Selected Nodes selectbox of the toolbox.
Definition mainwindow.cpp:6064
QToolButton * zoomInBtn
Definition mainwindow.h:636
Graph * activeGraph
Definition mainwindow.h:585
QAction * analyzeMatrixAdjInvertAct
Definition mainwindow.h:697
void slotHelpMessageToUserError(const QString text=QString())
Helper function to display a popup with an error message.
Definition mainwindow.cpp:5871
void slotEditNodeProperties(const QString &label, const int &size, const QString &value, const QColor &color, const QString &shape, const QString &iconPath)
Applies new (user-defined) values to all selected nodes Called on exit from DialogNodeEdit.
Definition mainwindow.cpp:9635
QComboBox * toolBoxAnalysisCohesionSelect
Definition mainwindow.h:627
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:8899
DialogSettings * m_settingsDialog
Definition mainwindow.h:605
void slotLayoutKamadaKawai()
Layouts the network according to the Kamada-Kawai FDP model.
Definition mainwindow.cpp:11468
void slotNetworkFileChoose(QString m_fileName=QString(), int fileFormat=-1, const bool &checkSelectFileType=true)
Chooses a network file to load.
Definition mainwindow.cpp:6473
QMenu * layoutForceDirectedMenu
Definition mainwindow.h:622
QAction * changeBackColorAct
Definition mainwindow.h:683
QAction * helpApp
Definition mainwindow.h:687
@ MaxRecentFiles
Definition mainwindow.h:551
QComboBox * toolBoxNetworkAutoCreateSelect
Definition mainwindow.h:625
void slotLayoutGuides(const bool &toggle)
Shows or hides (clears) layout guides.
Definition mainwindow.cpp:11866
void slotNetworkRandomScaleFreeDialog()
Shows a dialog to create a scale-free random network.
Definition mainwindow.cpp:8541
QAction * cInDegreeAct
Definition mainwindow.h:702
GraphicsWidget * graphicsWidget
Definition mainwindow.h:584
QAction * analyzeGraphDiameterAct
Definition mainwindow.h:693
QAction * layoutLevelProminence_SC_Act
Definition mainwindow.h:712
QAction * editNodeAddAct
Definition mainwindow.h:663
int maxRandomlyCreatedNodes
Definition mainwindow.h:557
void slotOptionsEdgesVisibility(bool toggle)
MainWindow::slotOptionsEdgesVisibility.
Definition mainwindow.cpp:13914
QComboBox * toolBoxAnalysisStrEquivalenceSelect
Definition mainwindow.h:627
void slotNetworkRandomGaussian()
Definition mainwindow.cpp:8722
void slotOptionsWindowRightPanelVisibility(bool toggle)
Toggles right panel.
Definition mainwindow.cpp:14662
void slotEditNodeSelectNone()
Selects no nodes.
Definition mainwindow.cpp:9342
QAction * layoutRadialProminence_IRCC_Act
Definition mainwindow.h:710
void terminateThreads(const QString &reason)
Terminates any remaining threads.
Definition mainwindow.cpp:391
void slotNetworkExportSM()
Exports the network to an adjacency matrix-formatted file Calls the relevant Graph method.
Definition mainwindow.cpp:8028
void slotNetworkExportPDFDialog()
Opens the Export to PDF Dialog.
Definition mainwindow.cpp:7891
QMenu * colorOptionsMenu
Definition mainwindow.h:616
QAction * drawEdgesBezier
Definition mainwindow.h:681
int activeNodes()
Definition mainwindow.cpp:11901
void slotEditEdgeWeight()
Changes the weight of the clicked edge. If no edge is clicked, asks the user to specify an Edge.
Definition mainwindow.cpp:10925
QAction * layoutRadialProminence_EVC_Act
Definition mainwindow.h:709
void slotNetworkRandomRegularDialog()
Shows a dialog to create a d-regular random network.
Definition mainwindow.cpp:8666
QAction * networkRandomGaussianAct
Definition mainwindow.h:651
QAction * averGraphDistanceAct
Definition mainwindow.h:691
QAction * fullScreenModeAct
Definition mainwindow.h:684
QMenu * analysisMenu
Definition mainwindow.h:615
DialogSimilarityPearson * m_dialogSimilarityPearson
Definition mainwindow.h:601
void slotAnalyzeDiameter()
Displays the network diameter (largest geodesic)
Definition mainwindow.cpp:12390
QLabel * rightPanelEdgesLabel
Definition mainwindow.h:736
void slotAnalyzeWalksTotal()
Calls Graph:: writeWalksTotalMatrixPlainText() to calculate and print the total number of walks of an...
Definition mainwindow.cpp:12655
QAction * layoutNodeSizeProminence_SC_Act
Definition mainwindow.h:717
void slotAnalyzeCentralityDegree()
Definition mainwindow.cpp:13150
QLabel * rightPanelClickedNodeHeaderLabel
Definition mainwindow.h:738
QString progressMsg
Definition mainwindow.h:562
void slotLayoutRandom()
Calls Graph::layoutRandom to reposition all nodes on a random layout.
Definition mainwindow.cpp:11385
QAction * networkCloseAct
Definition mainwindow.h:641
QAction * networkImportGMLAct
Definition mainwindow.h:645
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:10802
bool slotNetworkClose()
Closes the current network, saving it if needed.
Definition mainwindow.cpp:6993
QComboBox * toolBoxAnalysisCommunitiesSelect
Definition mainwindow.h:628
void slotOptionsCanvasIndexMethod(const QString &method)
Changes the indexing method of the graphics scene.
Definition mainwindow.cpp:14404
void slotNetworkDataSetRecreate(const QString)
Recreates famous and widely used data sets in network analysis studies.
Definition mainwindow.cpp:8404
QToolButton * rotateRightBtn
Definition mainwindow.h:636
void slotNetworkRandomRingLattice()
Creates a ring lattice network.
Definition mainwindow.cpp:8734
QMenu * networkMenu
Definition mainwindow.h:620
void slotEditNodeOpenContextMenu()
MainWindow::slotEditNodeOpenContextMenu Called from GW when the user has right-clicked on a node Open...
Definition mainwindow.cpp:10198
void slotNetworkPrint()
Sends the active network to the printer.
Definition mainwindow.cpp:7026
QAction * layoutNodeColorProminence_IRCC_Act
Definition mainwindow.h:725
QAction * networkViewFileAct
Definition mainwindow.h:647
void slotOptionsCanvasUpdateMode(const QString &mode)
Sets canvas update mode.
Definition mainwindow.cpp:14358
QAction * optionsEdgesVisibilityAct
Definition mainwindow.h:680
void slotAnalyzeMatrixLaplacian()
Writes the Laplacian matrix of the graph.
Definition mainwindow.cpp:12103
QAction * editRelationAddAct
Definition mainwindow.h:731
QAction * networkOpenAct
Definition mainwindow.h:640
QAction * editNodeLabelsSizeAct
Definition mainwindow.h:666
void slotOptionsCanvasAntialiasingAutoAdjust(const bool &toggle=false)
Turns antialiasing auto-adjustment on or off.
Definition mainwindow.cpp:14205
QAction * layoutNodeSizeProminence_PP_Act
Definition mainwindow.h:720
QAction * analyzeGraphWalksTotalAct
Definition mainwindow.h:695
void slotStyleSheetByName(const QString &sheetFileName)
Loads a custom Qt StyleSheet (.qss file)
Definition mainwindow.cpp:872
DialogRandRegular * m_randRegularDialog
Definition mainwindow.h:599
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:8828
void slotNetworkSavedStatus(const int &status)
Updates the 'save' status of the network.
Definition mainwindow.cpp:6964
QAction * networkQuitAct
Definition mainwindow.h:641
QStringList nodeShapeList
Definition mainwindow.h:570
void slotEditTransformNodes2Edges()
Definition mainwindow.cpp:11358
QLabel * rightPanelSelectedEdgesLCD
Definition mainwindow.h:748
void closeEvent(QCloseEvent *ce)
Called when the application closes. Asks to write any unsaved network data.
Definition mainwindow.cpp:287
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:10248
~MainWindow()
Deletes variables on MW closing.
Definition mainwindow.cpp:249
QAction * editEdgeAddAct
Definition mainwindow.h:665
QLabel * rightPanelSelectedEdgesLabel
Definition mainwindow.h:749
QAction * layoutNodeColorProminence_DP_Act
Definition mainwindow.h:721
QAction * editNodeSelectedToCliqueAct
Definition mainwindow.h:662
QAction * editEdgeDichotomizeAct
Definition mainwindow.h:673
void slotOptionsEdgeLabelsVisibility(bool toggle)
MainWindow::slotOptionsEdgeLabelsVisibility Turns on/off displaying edge labels.
Definition mainwindow.cpp:14107
void signalRelationAddAndChange(const QString &relName, const bool &changeRelation=true)
void slotEditEdgeSymmetrizeStrongTies()
MainWindow::slotEditEdgeSymmetrizeStrongTies.
Definition mainwindow.cpp:11147
void slotEditNodeSelectedToStar()
Creates a star subgraph from selected nodes. User must choose a central node.
Definition mainwindow.cpp:9735
QAction * layoutNodeSizeProminence_IRCC_Act
Definition mainwindow.h:720
void initView()
Initializes our graphics widget, the canvas where we draw networks.
Definition mainwindow.cpp:922
void slotOptionsWindowStatusbarVisibility(bool toggle)
Turns window statusbar on or off.
Definition mainwindow.cpp:14620
QAction * layoutLevelProminence_PC_Act
Definition mainwindow.h:713
QAction * layoutLevelProminence_BC_Act
Definition mainwindow.h:713
DialogRandScaleFree * m_randScaleFreeDialog
Definition mainwindow.h:598
QMenu * editNodeMenu
Definition mainwindow.h:617
QAction * layoutFDP_Eades_Act
Definition mainwindow.h:728
QAction * networkDataSetSelectAct
Definition mainwindow.h:648
void slotNetworkExportImage(const QString &filename, const QByteArray &format, const int &quality, const int &compression)
Exports the network to an image file.
Definition mainwindow.cpp:7789
QAction * cEccentAct
Definition mainwindow.h:704
void toolBoxAnalysisMatricesSelectChanged(const int &selectedIndex)
Called when user selects something in the Matrices selectbox of the toolbox.
Definition mainwindow.cpp:6125
QAction * layoutNodeSizeProminence_IC_Act
Definition mainwindow.h:718
QAction * editRotateLeftAct
Definition mainwindow.h:635
QMenu * communitiesMenu
Definition mainwindow.h:618
QAction * openTextEditorAct
Definition mainwindow.h:647
QAction * editNodeSelectNoneAct
Definition mainwindow.h:660
void slotOptionsWindowFullScreen(bool toggle)
Toggles full screen mode (F11)
Definition mainwindow.cpp:14584
void slotNetworkFileDialogFileSelected(const QString &fileName)
Called when user selects a file in the fileDialog Calls slotNetworkFileChoose() again.
Definition mainwindow.cpp:6804
void slotAnalyzeCentralityEccentricity()
MainWindow::slotAnalyzeCentralityEccentricity Writes Eccentricity Centralities into a file,...
Definition mainwindow.cpp:13600
void slotNetworkImportAdjacency()
Imports a network from a Adjacency matrix formatted file.
Definition mainwindow.cpp:7072
void polishProgressDialog(QProgressDialog *dialog)
Fixes known bugs in QProgressDialog class. i.e. Workaround for macOS-only Qt bug: QTBUG-65750,...
Definition mainwindow.cpp:903
void slotAnalyzeCentralityEigenvector()
Writes Eigenvector Centralities into a file, then displays it.
Definition mainwindow.cpp:13483
void slotLayoutNodeColorByProminenceIndex()
Runs when the user selects a color layout menu option.
Definition mainwindow.cpp:11772
void slotFilterNodes()
Definition mainwindow.cpp:11277
void resizeEvent(QResizeEvent *e)
Called whenever the app window is resized.
Definition mainwindow.cpp:411
QAction * editEdgeSymmetrizeStrongTiesAct
Definition mainwindow.h:672
QAction * layoutRandomRadialAct
Definition mainwindow.h:705
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:9417
QString fileNameNoPath
Definition mainwindow.h:562
void initActions()
Initializes all QActions of the application.
Definition mainwindow.cpp:1051
int activeEdges()
Definition mainwindow.cpp:11889
QAction * layoutNodeSizeProminence_DP_Act
Definition mainwindow.h:716
QAction * editRelationNextAct
Definition mainwindow.h:731
DialogNodeFind * m_nodeFindDialog
Definition mainwindow.h:593
void slotHelpMessageToUserInfo(const QString text=QString())
Helper function to display a popup with useful info.
Definition mainwindow.cpp:5862
QAction * networkImportGraphvizAct
Definition mainwindow.h:646
QAction * layoutLevelProminence_EVC_Act
Definition mainwindow.h:714
void slotOptionsWindowLeftPanelVisibility(bool toggle)
Toggles left panel.
Definition mainwindow.cpp:14641
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:10439
QAction * analyzeMatrixReachabilityAct
Definition mainwindow.h:695
QToolButton * zoomOutBtn
Definition mainwindow.h:636
Definition texteditor.h:27
NetworkRequestType
Definition global.h:97
#define SOCNETV_USE_NAMESPACE
Definition global.h:11
QHash< QString, int > H_StrToInt
Definition mainwindow.h:90