32#include <QNetworkReply>
35#include <QtCharts/QChartGlobal>
54class QNetworkAccessManager;
119 MainWindow(
const QString &m_fileName=QString(),
const bool &forceProgress=
false,
const bool &maximized=
false,
const bool &fullscreen=
false,
const int &debugLevel=0);
136 QMap<QString, QString>
initSettings(
const int &debugLevel=0,
const bool &forceProgress=
false);
156 const bool &checkSelectFileType =
true);
162 void slotNetworkFileLoad (
const QString &fileNameToLoad,
const QString &codeName,
const int &fileFormat);
164 const QString &fName=QString(),
165 const QString &netName=QString(),
166 const int &totalNodes=0,
167 const int &totalEdges=0,
168 const qreal &density=0,
169 const qint64 &elapsedTime=0,
170 const QString &message=QString());
184 const int &vertices,
const int &edges,
185 const qreal &density,
186 const bool &needsSaving=
true);
196 const QByteArray &format,
198 const int &compression
203 const QPageLayout::Orientation &orientation,
205 const QPrinter::PrinterMode printerMode,
206 const QPageSize &pageSize);
230 const QString &mode,
const bool &diag);
238 const int &initialNodes,
239 const int &edgesPerStep,
240 const qreal &zeroAppeal,
241 const QString &mode);
256 const int &dimension,
259 const bool &circular);
264 const QStringList &urlPatternsIncluded,
265 const QStringList &urlPatternsExcluded,
266 const QStringList &linkClasses,
268 const int &maxLinksPerPage,
269 const bool &intLinks,
270 const bool &childLinks,
271 const bool &parentLinks,
272 const bool &selfLinks,
273 const bool &extLinks,
274 const bool &extLinksCrawl,
275 const bool &socialLinks,
276 const bool &delayedRequests);
300 const QString &label,
302 const int &outDegree);
308 const QString &searchType,
309 const QString &indexStr=QString());
320 const QString &shape,
321 const QString &iconPath,
322 const QHash<QString, QString> &customAttributes
331 QString shape=QString(),
332 QString nodeIconPath=QString());
341 const bool &openMenu=
false);
346 const qreal &weight=1);
351 const QString &label,
352 const double &weight,
354 const QHash<QString,QString> &customAttributes);
454 QAbstractAxis *axisX,
457 QAbstractAxis *axisY=Q_NULLPTR,
467 const QString &varLocation,
468 const QString &metric,
469 const QString &method,
470 const bool &diagonal=
false,
471 const bool &diagram=
false);
475 const QString &varLocation,
476 const bool &diagonal);
480 const QString &varLocation,
481 const QString &measure,
482 const bool &diagonal);
486 const QString &varLocation,
487 const bool &diagonal=
false);
551 const QString statusMsg=QString(),
552 const QString text=QString(),
553 const QString info=QString(),
554 QMessageBox::StandardButtons buttons=QMessageBox::NoButton,
555 QMessageBox::StandardButton defBtn=QMessageBox::Ok,
556 const QString btn1=QString(),
557 const QString btn2=QString(),
558 const QString btn3=QString()
Definition dialogbulkedit.h:28
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
Visual query builder that composes a multi-condition AND filter.
Definition dialogquerybuilder.h:41
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:73
Definition graphicsedge.h:51
Definition graphicsnode.h:49
QAction * editNodeNumbersSizeAct
Definition mainwindow.h:721
void slotOptionsBackgroundColor(QColor color=QColor())
Called from Options menu and Settings dialog.
Definition mainwindow.cpp:15965
DialogWebCrawler * m_WebCrawlerDialog
Definition mainwindow.h:632
QAction * analyzeMatrixDegreeAct
Definition mainwindow.h:760
void slotLayoutColorationStrongStructural()
Definition mainwindow.cpp:12576
QAction * optionsEdgeWeightConsiderAct
Definition mainwindow.h:741
void slotAnalyzePrestigeDegree()
Definition mainwindow.cpp:14711
QAction * editRelationRenameAct
Definition mainwindow.h:795
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:7690
void slotEditNodeSizeAll(int newSize=0, const bool &normalized=false)
Changes the size of nodes to newSize.
Definition mainwindow.cpp:10467
QAction * layoutNodeColorProminence_PC_Act
Definition mainwindow.h:784
QString fileName
Definition mainwindow.h:606
QLabel * rightPanelClickedEdgeNameLCD
Definition mainwindow.h:815
void slotAnalyzeDistance()
Handles requests to compute the graph/geodesic distance between two user-specified nodes.
Definition mainwindow.cpp:13563
void slotEditNodeSelectedToLine()
Creates a line subgraph from selected nodes.
Definition mainwindow.cpp:10394
void slotHelpCheckUpdateParse()
Parses the reply from the network request we do in slotHelpCheckUpdateDialog.
Definition mainwindow.cpp:16368
QAction * networkWebCrawlerAct
Definition mainwindow.h:709
@ MaxRecentFiles
Definition mainwindow.h:595
void slotViewDataTable(bool checked)
Shows or hides the Data Table dock panel (#225).
Definition mainwindow.cpp:16151
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:15495
QAction * editFilterEdgesUnilateralAct
Definition mainwindow.h:729
QAction * networkImportAdjAct
Definition mainwindow.h:697
QAction * cBetweennessAct
Definition mainwindow.h:764
QStringList recentFiles
Definition mainwindow.h:612
QPrinter * printer
Definition mainwindow.h:624
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:14337
QAction * cProximityPrestigeAct
Definition mainwindow.h:765
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:9030
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:9592
QAction * analyzeGraphWalksAct
Definition mainwindow.h:756
QNetworkAccessManager * networkManager
Definition mainwindow.h:626
QAction * netDensity
Definition mainwindow.h:751
QToolBar * toolBar
Definition mainwindow.h:658
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:10508
void slotEditRelationAddPrompt()
Prompts the user to enter the name of a new relation.
Definition mainwindow.cpp:7878
void slotOptionsCanvasCacheBackground(const bool &toggle=false)
Turns caching of canvas background on or off.
Definition mainwindow.cpp:15761
QAction * editNodeRemoveAct
Definition mainwindow.h:715
void slotEditNodeEditSelectionInTable()
Raises the Data Table dock and pre-selects rows matching the current canvas selection.
Definition mainwindow.cpp:10153
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:9621
QAction * editRelationPreviousAct
Definition mainwindow.h:794
void toolBoxLayoutForceDirectedApplyBtnPressed()
Called when the user selects a model in the Layout by Force Directed selectbox of left panel.
Definition mainwindow.cpp:6650
QAction * layoutGuidesAct
Definition mainwindow.h:766
QComboBox * editRelationChangeCombo
Definition mainwindow.h:663
void slotNetworkNew()
Starts a new network (closing the current one).
Definition mainwindow.cpp:6698
void slotEditNodeSelectedToCycle()
Creates a cycle subgraph from selected nodes.
Definition mainwindow.cpp:10359
QAction * editNodeSizeAllAct
Definition mainwindow.h:722
QAction * editNodeNumbersColorAct
Definition mainwindow.h:735
void slotNetworkRandomErdosRenyiDialog()
Shows a dialog to create an Erdos-Renyi random network.
Definition mainwindow.cpp:8914
void slotNetworkTextEditor()
Opens the embedded text editor.
Definition mainwindow.cpp:8727
DialogExportImage * m_dialogExportImage
Definition mainwindow.h:635
void slotFilterNodesByEgoNetwork()
Triggers ego network focus mode on the currently selected node.
Definition mainwindow.cpp:12075
DialogPreviewFile * m_dialogPreviewFile
Definition mainwindow.h:656
QMenu * strEquivalenceMenu
Definition mainwindow.h:668
QLabel * rightPanelEdgesLCD
Definition mainwindow.h:801
void slotEditEdgeSymmetrizeCocitation()
Adds a new cocitation symmetric relation to the network.
Definition mainwindow.cpp:11779
QAction * optionsNodeNumbersVisibilityAct
Definition mainwindow.h:738
QAction * editEdgeWeightAct
Definition mainwindow.h:723
bool slotNetworkExportList()
Exports the active relation to a simple or weighted edge list file.
Definition mainwindow.cpp:8512
void slotOptionsBackgroundImage()
Enables/disables displaying a user-defined custom image in the background Called from Settings Dialog...
Definition mainwindow.cpp:16024
QAction * layoutRadialProminence_IC_Act
Definition mainwindow.h:769
QAction * layoutNodeColorProminence_IC_Act
Definition mainwindow.h:784
QAction * editEdgeColorAct
Definition mainwindow.h:723
QAction * layoutNodeSizeProminence_EC_Act
Definition mainwindow.h:778
void slotAnalyzeStrEquivalenceDissimilaritiesDialog()
Displays the DialogDissimilarities dialog.
Definition mainwindow.cpp:14314
void slotAnalyzeSymmetryCheck()
Definition mainwindow.cpp:13265
QAction * editEdgeLabelAct
Definition mainwindow.h:723
QAction * layoutRadialProminence_CC_Act
Definition mainwindow.h:768
void slotAnalyzeCentralityBetweenness()
Definition mainwindow.cpp:14669
QAction * filterNodesByEgoNetworkAct
Definition mainwindow.h:724
void slotAnalyzeClusteringCoefficient()
Calls Graph::writeClusteringCoefficient() to write Clustering Coefficients into a file,...
Definition mainwindow.cpp:14109
void slotOptionsWindowToolbarVisibility(bool toggle)
Turns Toolbar on or off.
Definition mainwindow.cpp:16063
QAction * layoutNodeSizeProminence_CC_Act
Definition mainwindow.h:778
QMenu * nodeOptionsMenu
Definition mainwindow.h:666
void slotHelpTips()
Definition mainwindow.cpp:16218
void initSignalSlots()
Connects signals & slots between various parts of the app.
Definition mainwindow.cpp:5513
void slotAnalyzeCentralityInformation()
MainWindow::slotAnalyzeCentralityInformation Writes Informational Centralities into a file,...
Definition mainwindow.cpp:14838
QAction * filterNodesByCentralityAct
Definition mainwindow.h:724
void toolBoxAnalysisCommunitiesSelectChanged(const int &selectedIndex)
Called when the user selects something in the Communities selectbox of the toolbox.
Definition mainwindow.cpp:6501
QAction * layoutNodeColorProminence_BC_Act
Definition mainwindow.h:784
QAction * optionsNodeLabelsVisibilityAct
Definition mainwindow.h:738
QAction * zoomInAct
Definition mainwindow.h:685
QAction * helpAboutApp
Definition mainwindow.h:748
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:6721
QAction * editEdgeColorAllAct
Definition mainwindow.h:734
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:10056
void slotOptionsEdgeWeightNumbersVisibility(bool toggle)
Turns on/off displaying edge weight numbers.
Definition mainwindow.cpp:15534
QAction * layoutRadialProminence_EC_Act
Definition mainwindow.h:768
void slotAnalyzeCentralityClosenessIR()
MainWindow::slotAnalyzeCentralityClosenessIR Writes Centrality Closeness (based on Influence Range) i...
Definition mainwindow.cpp:14627
QLabel * rightPanelClickedNodeOutDegreeLCD
Definition mainwindow.h:812
void slotNetworkExportNodesJSON()
Exports all node data (unfiltered) to a JSON file chosen by the user.
Definition mainwindow.cpp:8614
QAction * optionsEdgeLabelsAct
Definition mainwindow.h:742
QAction * optionsEdgeArrowsAct
Definition mainwindow.h:741
QAction * layoutNodeColorProminence_DC_Act
Definition mainwindow.h:782
void slotEditEdgeDichotomization(const qreal threshold)
Calls Graph::graphDichotomization() to create a new binary relation in a valued network using edge di...
Definition mainwindow.cpp:11827
void slotFilterByQueryBuilder()
Opens the Query Builder dialog for multi-condition AND filtering.
Definition mainwindow.cpp:12165
void slotOptionsEdgeArrowSize(const int &size)
Applies a new arrow size to all edges and persists the setting.
Definition mainwindow.cpp:15433
QAction * editNodeEditSelectionInTableAct
Definition mainwindow.h:717
QThread graphThread
Definition mainwindow.h:115
void slotEditFilterNodesIsolates(bool checked)
Toggles the status of all isolated vertices.
Definition mainwindow.cpp:12245
QMenu * centrlMenu
Definition mainwindow.h:667
void slotEditNodeSelectAll()
Selects all nodes.
Definition mainwindow.cpp:9805
QAction * filterNodesBySelectionAct
Definition mainwindow.h:725
QAction * layoutNodeColorProminence_PRP_Act
Definition mainwindow.h:786
void slotAnalyzeReachabilityMatrix()
Definition mainwindow.cpp:14070
QMenu * filterMenu
Definition mainwindow.h:670
QAction * clusteringCoefAct
Definition mainwindow.h:757
QAction * layoutRadialProminence_BC_Act
Definition mainwindow.h:769
void slotOptionsEmbedLogoExporting(bool toggle)
MainWindow::slotOptionsEmbedLogoExporting.
Definition mainwindow.cpp:15905
void slotNetworkImportGML()
Imports a network from a GML formatted file.
Definition mainwindow.cpp:7338
int nodesEstimatedSize
Definition mainwindow.h:599
QAction * tipsApp
Definition mainwindow.h:748
void slotEditEdgePropertiesDialog()
Opens the Edge Properties dialog for the currently clicked edge.
Definition mainwindow.cpp:11218
QAction * helpSystemInfoAct
Definition mainwindow.h:749
QAction * layoutRadialProminence_DC_Act
Definition mainwindow.h:767
QAction * layoutRadialProminence_DP_Act
Definition mainwindow.h:767
QPushButton * m_clickedEdgeToggleBtn
Definition mainwindow.h:824
QAction * editSubgraphExtractAct
Definition mainwindow.h:730
QAction * editFilterEdgesByWeightAct
Definition mainwindow.h:728
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:6440
void slotNetworkRandomSmallWorldDialog()
Shows a dialog to create a small-world random network.
Definition mainwindow.cpp:9059
void slotEditEdgeUndirectedAll(const bool &toggle)
Transforms all directed arcs to undirected edges. The result is a undirected and symmetric network.
Definition mainwindow.cpp:11892
DialogDissimilarities * m_dialogdissimilarities
Definition mainwindow.h:652
QString initTextCodecName
Definition mainwindow.h:607
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:10908
QMenu * layoutMenu
Definition mainwindow.h:667
QAction * analyzeStrEquivalenceClusteringHierarchicalAct
Definition mainwindow.h:761
QAction * layoutNodeSizeProminence_DC_Act
Definition mainwindow.h:777
void slotEditEdgeLabel()
Changes the label of an edge.
Definition mainwindow.cpp:11421
QMenu * importSubMenu
Definition mainwindow.h:665
bool slotNetworkExportDL()
Exports the current graph to a UCINET DL-formatted file.
Definition mainwindow.cpp:8448
QMenu * recentFilesSubMenu
Definition mainwindow.h:670
QAction * layoutNodeSizeProminence_BC_Act
Definition mainwindow.h:779
void slotProgressBoxDestroy(const int &max=0)
Destroys the first in queue Progress dialog.
Definition mainwindow.cpp:15270
QMenu * randomNetworkMenu
Definition mainwindow.h:670
void slotAnalyzeWalksLength()
Definition mainwindow.cpp:13965
QAction * networkImportListAct
Definition mainwindow.h:697
void slotNetworkFileLoad(const QString &fileNameToLoad, const QString &codeName, const int &fileFormat)
Loads the given network file.
Definition mainwindow.cpp:7555
void slotFilterNodesBySelection()
Focuses the view on the currently selected nodes and edges between them.
Definition mainwindow.cpp:12051
GraphTableWidget * m_tableWidget
Definition mainwindow.h:644
void slotLayoutNodeSizeByProminenceIndex()
Runs when the user selects a color layout menu option.
Definition mainwindow.cpp:12941
void slotNetworkFileDialogRejected()
Displays a status message when the user aborts the file dialog.
Definition mainwindow.cpp:7025
DialogSystemInfo * m_systemInfoDialog
Definition mainwindow.h:655
QAction * networkExportGWAct
Definition mainwindow.h:693
QAction * analyzeMatrixLaplacianAct
Definition mainwindow.h:760
void toolBoxFilterSelectChanged(const int &selectedIndex)
Called when user selects a filter action in the Filter selectbox of the toolbox Network group.
Definition mainwindow.cpp:6358
QMenu * layoutNodeSizeProminenceMenu
Definition mainwindow.h:672
void slotNetworkExportNodesCSV()
Exports all node data (unfiltered) to a CSV file chosen by the user.
Definition mainwindow.cpp:8580
QAction * transformNodes2EdgesAct
Definition mainwindow.h:731
void slotNetworkRandomLatticeDialog()
Shows a dialog to create a "random" lattice network.
Definition mainwindow.cpp:9250
void slotEditDragModeScroll(bool)
Toggles the non-interactive scrollhand drag mode.
Definition mainwindow.cpp:7844
QAction * recentFileActs[MaxRecentFiles]
Definition mainwindow.h:796
QMenu * helpMenu
Definition mainwindow.h:665
int fileType
Definition mainwindow.h:598
QMenu * cohesionMenu
Definition mainwindow.h:668
QAction * layoutNodeColorByComponentAct
Definition mainwindow.h:788
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:435
QAction * openSettingsAct
Definition mainwindow.h:745
void slotHelpCreateTips()
Definition mainwindow.cpp:16228
QToolButton * rotateLeftBtn
Definition mainwindow.h:686
void slotLayoutFruchterman()
Calls Graph::layoutForceDirectedFruchtermanReingold to embed the Fruchterman-Reingold model of repell...
Definition mainwindow.cpp:12692
QAction * cStressAct
Definition mainwindow.h:765
bool slotNetworkFilePreview(const QString &, const int &)
Opens the preview dialog with the selected file contents.
Definition mainwindow.cpp:7500
void slotNetworkDataSetSelect()
Displays the dataset selection dialog.
Definition mainwindow.cpp:8844
QAction * layoutFDP_FR_Act
Definition mainwindow.h:791
QLabel * rightPanelSelectedNodesLCD
Definition mainwindow.h:804
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:14249
int fortuneCookiesCounter
Definition mainwindow.h:602
QMenu * layoutRadialProminenceMenu
Definition mainwindow.h:671
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:10572
QAction * networkSaveAct
Definition mainwindow.h:690
DialogRandErdosRenyi * m_randErdosRenyiDialog
Definition mainwindow.h:645
QAction * editMouseModeScrollAct
Definition mainwindow.h:711
void slotOptionsProgressDialogVisibility(bool toggle)
Turns progress dialogs on or off.
Definition mainwindow.cpp:15921
QPushButton * m_networkToggleBtn
Definition mainwindow.h:821
QLabel * rightPanelNetworkTypeLCD
Definition mainwindow.h:798
void slotOptionsCanvasSmoothPixmapTransform(const bool &toggle=false)
Turns smooth pixmap transformations on or off.
Definition mainwindow.cpp:15703
QAction * editNodeSelectedToStarAct
Definition mainwindow.h:713
QLabel * rightPanelClickedNodeInDegreeLabel
Definition mainwindow.h:809
void slotOptionsEdgesBezier(bool toggle)
Definition mainwindow.cpp:15456
void slotNetworkImportEdgeList()
Imports a network from a simple List or weighted List formatted file.
Definition mainwindow.cpp:7390
void slotAnalyzeMatrixAdjacencyInverse()
Writes the adjacency matrix inverse.
Definition mainwindow.cpp:13295
void slotFilterNodesRestoreAll()
Restores all nodes hidden by the last filter.
Definition mainwindow.cpp:12216
QAction * layoutNodeColorProminence_SC_Act
Definition mainwindow.h:783
void slotLayoutLevelByProminenceIndex()
Runs when the user selects a radial layout menu option.
Definition mainwindow.cpp:12836
QAction * editNodeLabelsColorAct
Definition mainwindow.h:735
void slotLayoutNodeColorByComponent()
Colors nodes by their weakly connected component.
Definition mainwindow.cpp:13137
DialogExportPDF * m_dialogExportPDF
Definition mainwindow.h:634
void slotEditSubgraphExtractFromSelection()
Extracts currently selected nodes and their inter-edges into an independent Graph object and saves it...
Definition mainwindow.cpp:12376
QAction * layoutLevelProminence_CC_Act
Definition mainwindow.h:773
QAction * networkExportNodesCSVAct
Definition mainwindow.h:695
QAction * networkRandomLatticeRingAct
Definition mainwindow.h:704
void slotNetworkManagerReplyError(const QNetworkReply::NetworkError &code)
Shows a message box to the user when a NetworkReply encounters errors.
Definition mainwindow.cpp:9458
void toolBoxEditEdgeTransformSelectChanged(const int &selectedIndex)
Called when user selects something in the Edge Transform selectbox of the toolbox.
Definition mainwindow.cpp:6329
int initZoomIndex
Definition mainwindow.h:603
void slotOptionsEdgeArrowsVisibility(bool toggle)
Turns on/off the arrows of edges.
Definition mainwindow.cpp:15412
void slotNetworkExportEdgesJSON()
Exports all edge data (unfiltered) to a JSON file chosen by the user.
Definition mainwindow.cpp:8631
QGraphicsScene * scene
Definition mainwindow.h:627
QLabel * rightPanelDensityLCD
Definition mainwindow.h:802
QComboBox * toolBoxEditEdgeModeSelect
Definition mainwindow.h:676
bool askedAboutWeights
Definition mainwindow.h:604
QMenu * editMenu
Definition mainwindow.h:665
QLabel * rightPanelClickedNodeOutDegreeLabel
Definition mainwindow.h:811
QStringList tempFileNameNoPath
Definition mainwindow.h:610
QAction * networkRandomErdosRenyiAct
Definition mainwindow.h:702
void slotLayoutRadialRandom()
Calls Graph::layoutRadialRandom to reposition all nodes on a radial layout randomly.
Definition mainwindow.cpp:12611
void initPanels()
Creates docked panels for instant access to main app functionalities and displaying statistics.
Definition mainwindow.cpp:4390
QAction * analyzeMatrixAdjTransposeAct
Definition mainwindow.h:758
QPushButton * m_clickedNodeToggleBtn
Definition mainwindow.h:823
void slotEditEdgeDichotomizationDialog()
Opens up the edge dichotomization dialog.
Definition mainwindow.cpp:11801
QAction * strongColorationAct
Definition mainwindow.h:790
QComboBox * toolBoxLayoutByIndexTypeSelect
Definition mainwindow.h:681
void slotEditOpenContextMenu(const QPointF &mPos)
Shows a context menu when the user right-clicks on an empty area of the canvas (i....
Definition mainwindow.cpp:9720
QAction * networkImportTwoModeSM
Definition mainwindow.h:698
void slotOptionsNodeNumbersInside(bool toggle)
MainWindow::slotOptionsNodeNumbersInside Turns on/off displaying the nodenumbers inside the nodes.
Definition mainwindow.cpp:15325
void slotAnalyzeMatrixAdjacencyCocitation()
Writes the cocitation matrix.
Definition mainwindow.cpp:13365
QAction * editEdgeUndirectedAllAct
Definition mainwindow.h:732
void slotHelpSystemInfo()
Shows a dialog with system information for bug reporting purposes.
Definition mainwindow.cpp:16445
QString settingsFilePath
Definition mainwindow.h:608
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:10603
QComboBox * toolBoxFilterSelect
Definition mainwindow.h:677
void slotOptionsNodeLabelsVisibility(bool toggle)
MainWindow::slotOptionsNodeLabelsVisibility Turns on/off displaying labels.
Definition mainwindow.cpp:15357
QAction * layoutLevelProminence_PRP_Act
Definition mainwindow.h:776
QAction * editEdgeSymmetrizeAllAct
Definition mainwindow.h:731
void slotLayoutColorationRegular()
Definition mainwindow.cpp:12583
QAction * networkExportEdgesJSONAct
Definition mainwindow.h:696
QAction * layoutNodeSizeProminence_EVC_Act
Definition mainwindow.h:780
void slotAnalyzeCentralityStress()
MainWindow::slotAnalyzeCentralityStress Writes Stress Centralities into a file, then displays it.
Definition mainwindow.cpp:14956
void slotAnalyzeConnectedness()
Reports the network connectedness.
Definition mainwindow.cpp:13878
QAction * networkExportPDFAct
Definition mainwindow.h:693
void slotOptionsNodeNumbersVisibility(bool toggle)
MainWindow::slotOptionsNodeNumbersVisibility Turns on/off displaying the numbers of nodes (outside on...
Definition mainwindow.cpp:15299
DialogDataSetSelect * m_datasetSelectDialog
Definition mainwindow.h:633
void saveSubgraphToFile(Graph *sub, const QString &subgraphName)
Shows a format-selection save dialog for sub, writes the file, then deletes the graph object.
Definition mainwindow.cpp:12415
void slotAnalyzeCentralityPower()
MainWindow::slotAnalyzeCentralityPower Writes Gil-Schmidt Power Centralities into a file,...
Definition mainwindow.cpp:15000
QAction * editNodeSelectedToLineAct
Definition mainwindow.h:714
void slotHelp()
Opens the system web browser to load the online Manual.
Definition mainwindow.cpp:16318
void slotNetworkViewSociomatrix()
Displays the adjacency matrix of the network.
Definition mainwindow.cpp:8749
QAction * networkImportUcinetAct
Definition mainwindow.h:698
void slotOptionsShowZeroWeightEdges(bool toggle)
Turns on/off drawing of zero-weight edges on the canvas (#30).
Definition mainwindow.cpp:15611
QAction * layoutLevelProminence_PP_Act
Definition mainwindow.h:776
void slotEditEdgeAdd()
Opens dialogs for the user to specify the source and the target node of a new edge.
Definition mainwindow.cpp:11098
void slotEditEdgeRemove()
Removes a clicked edge. Otherwise asks the user to specify one edge.
Definition mainwindow.cpp:11284
QAction * networkPrintAct
Definition mainwindow.h:691
void slotEditRelationAdd(const QString &newRelationName)
Adds a new relation to the relations combo.
Definition mainwindow.cpp:7966
void slotLayoutSpringEmbedder()
Embed the Eades spring-gravitational model to the network. Called from menu or toolbox checkbox.
Definition mainwindow.cpp:12658
DialogFilterEdgesByWeight * m_DialogEdgeFilterByWeight
Definition mainwindow.h:639
int progressCounter
Definition mainwindow.h:597
QAction * analyzeMatrixDistancesGeodesicAct
Definition mainwindow.h:753
QAction * layoutRadialProminence_PC_Act
Definition mainwindow.h:769
void slotEditEdgeSymmetrizeAll()
Symmetrizes the ties between every two connected nodes. If there is an arc from Node A to Node B,...
Definition mainwindow.cpp:11759
QStringList fortuneCookie
Definition mainwindow.h:609
void slotAnalyzeReciprocity()
Definition mainwindow.cpp:13231
void slotHelpAbout()
Definition mainwindow.cpp:16459
QAction * editFilterNodesIsolatesAct
Definition mainwindow.h:727
void slotNetworkImportGraphviz()
Imports a network from a Dot (GraphViz) formatted file.
Definition mainwindow.cpp:7368
QAction * networkSaveAsAct
Definition mainwindow.h:690
void initGraph()
Initializes the Graph.
Definition mainwindow.cpp:958
QLabel * rightPanelClickedEdgeReciprocalWeightLCD
Definition mainwindow.h:819
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:8949
QAction * analyzeGraphDistanceAct
Definition mainwindow.h:752
void slotEditEdgeMode(const int &mode)
Toggles between directed (mode=0) and undirected edges (mode=1).
Definition mainwindow.cpp:11933
QAction * cPowerAct
Definition mainwindow.h:765
void createFortuneCookies()
Definition mainwindow.cpp:16498
void initToolBar()
Initializes the toolbar.
Definition mainwindow.cpp:4301
QAction * zoomOutAct
Definition mainwindow.h:685
QAction * cPageRankAct
Definition mainwindow.h:764
QStringList iconPathList
Definition mainwindow.h:613
void slotAnalyzeCommunitiesCliqueCensus()
Calls Graph:: writeCliqueCensus() to write the Clique Census into a file, then displays it.
Definition mainwindow.cpp:14149
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:10707
QComboBox * toolBoxEditEdgeTransformSelect
Definition mainwindow.h:676
void slotEditFilterEdgesByWeightDialog()
Shows a dialog where the user can specify how to filter edges by their weight.
Definition mainwindow.cpp:12268
QAction * editRotateRightAct
Definition mainwindow.h:685
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:13469
void slotAnalyzePrestigePageRank()
Definition mainwindow.cpp:14761
QAction * editSubgraphExtractFromSelectionAct
Definition mainwindow.h:730
void slotOptionsCanvasAntialiasing(bool toggle)
Turns antialiasing on or off.
Definition mainwindow.cpp:15648
QAction * analyzeCommunitiesCliquesAct
Definition mainwindow.h:757
QAction * filterByQueryBuilderAct
Definition mainwindow.h:726
QAction * optionsNodeNumbersInsideAct
Definition mainwindow.h:738
QAction * layoutLevelProminence_DC_Act
Definition mainwindow.h:772
DialogNodeEdit * m_nodeEditDialog
Definition mainwindow.h:636
void slotNetworkSaveAs()
Prompts the user to save the network in a new file. Always uses the GraphML format and extension.
Definition mainwindow.cpp:7191
QAction * networkViewSociomatrixPlotAct
Definition mainwindow.h:700
QList< QPair< QString, FilterCondition::Scope > > m_filterChips
Definition mainwindow.h:642
QAction * layoutNodeColorProminence_PP_Act
Definition mainwindow.h:786
void initApp()
Initializes the default app parameters.
Definition mainwindow.cpp:5863
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:10642
void slotNetworkManagerRequest(const QUrl &url, const NetworkRequestType &requestType)
Makes a network request to the given url.
Definition mainwindow.cpp:9409
QComboBox * toolBoxEditNodeSubgraphSelect
Definition mainwindow.h:675
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:15088
void statusMessage(const QString)
Shows a message in the status bar, with the given duration.
Definition mainwindow.cpp:6084
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:8221
QAction * analyzeStrEquivalencePearsonAct
Definition mainwindow.h:761
QAction * layoutFDP_KamadaKawai_Act
Definition mainwindow.h:792
QSlider * rotateSlider
Definition mainwindow.h:688
void slotEditNodeSelectedToClique()
Creates a complete subgraph (clique) from selected nodes.
Definition mainwindow.cpp:10272
void slotOptionsEdgeWeightsDuringComputation(bool)
Toggles edge weights during computations.
Definition mainwindow.cpp:15448
QAction * editNodeSelectedToCycleAct
Definition mainwindow.h:713
void slotEditNodeColorAll(QColor color=QColor())
Changes the color of all nodes to parameter color.
Definition mainwindow.cpp:10434
QGroupBox * leftPanel
Definition mainwindow.h:660
QAction * layoutNodeColorProminence_CC_Act
Definition mainwindow.h:783
void slotNetworkExportImageDialog()
Opens the Export to Image Dialog.
Definition mainwindow.cpp:8060
void slotAnalyzeMatrixDistances()
Invokes calculation of the matrix of geodesic distances for the loaded network, then displays it.
Definition mainwindow.cpp:13646
void slotOptionsCustomStylesheet(const bool checked)
Toggles the use of our own Qt StyleSheet.
Definition mainwindow.cpp:16171
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:15209
void slotHelpCheckUpdateDialog()
On user demand, makes a network request to SocNetV website to download the latest version text file.
Definition mainwindow.cpp:16330
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:9089
void slotNetworkImportUcinet()
Imports a network from a UCINET formatted file.
Definition mainwindow.cpp:7380
QComboBox * toolBoxLayoutForceDirectedSelect
Definition mainwindow.h:682
QAction * layoutRandomAct
Definition mainwindow.h:766
QAction * layoutLevelProminence_DP_Act
Definition mainwindow.h:772
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:10675
DialogEdgeDichotomization * m_edgeDichotomizationDialog
Definition mainwindow.h:638
QComboBox * toolBoxLayoutByIndexSelect
Definition mainwindow.h:681
QAction * editEdgePropertiesAct
Definition mainwindow.h:720
void slotAnalyzeStrEquivalencePearsonDialog()
Calls the m_dialogSimilarityPearson to display the Pearson statistics dialog.
Definition mainwindow.cpp:14397
QDockWidget * m_tableDock
Definition mainwindow.h:643
void slotNetworkSave(const int &fileFormat=-1)
Saves the network to a file.
Definition mainwindow.cpp:7111
void slotNetworkWebCrawlerDialog()
Shows the web crawler dialog.
Definition mainwindow.cpp:9311
QAction * networkImportPajekAct
Definition mainwindow.h:697
QAction * editNodeColorAll
Definition mainwindow.h:734
void slotOptionsCanvasEdgeHighlighting(const bool &toggle=false)
Turns selected edge highlighting.
Definition mainwindow.cpp:15792
QLabel * rightPanelClickedEdgeWeightLabel
Definition mainwindow.h:816
QString previous_fileName
Definition mainwindow.h:606
void toolBoxNetworkAutoCreateSelectChanged(const int &selectedIndex)
Called when user selects something in the Network Auto Create selectbox of the toolbox.
Definition mainwindow.cpp:6255
QMenu * optionsMenu
Definition mainwindow.h:666
QAction * cInfluenceRangeClosenessAct
Definition mainwindow.h:763
void slotEditDragModeSelection(bool)
Toggles the interactive/selection mouse drag mode.
Definition mainwindow.cpp:7819
QAction * layoutNodeColorProminence_EVC_Act
Definition mainwindow.h:785
QAction * editNodeSelectAllAct
Definition mainwindow.h:712
void slotEditNodeFindDialog()
Opens the Find Node dialog.
Definition mainwindow.cpp:9859
void slotEditFilterEdgesReset()
Restores all edges hidden by the weight filter.
Definition mainwindow.cpp:12295
void slotOptionsCanvasOpenGL(const bool &toggle=false)
Turns opengl on or off.
Definition mainwindow.cpp:15625
QMenu * editEdgeMenu
Definition mainwindow.h:667
QMenu * connectivityMenu
Definition mainwindow.h:668
QString settingsDir
Definition mainwindow.h:608
QAction * editNodeShapeAll
Definition mainwindow.h:722
void slotLayoutRadialByProminenceIndex()
Runs when the user selects a radial layout menu option.
Definition mainwindow.cpp:12732
QPrinter * printerPDF
Definition mainwindow.h:624
QAction * layoutNodeColorProminence_EC_Act
Definition mainwindow.h:783
QAction * layoutLevelProminence_IC_Act
Definition mainwindow.h:774
QString getLastPath()
Returns the last path used by user to open/save something.
Definition mainwindow.cpp:6707
QMenu * matrixMenu
Definition mainwindow.h:669
QAction * networkViewSociomatrixAct
Definition mainwindow.h:699
QList< QTextCodec * > codecs
Definition mainwindow.h:618
QAction * networkRandomScaleFreeAct
Definition mainwindow.h:705
QAction * layoutRadialProminence_SC_Act
Definition mainwindow.h:768
void slotAnalyzeMatrixGeodesics()
Invokes calculation of the geodedics matrix (the number of shortest paths between each pair of nodes ...
Definition mainwindow.cpp:13687
void slotAnalyzeMatrixDegree()
Writes the degree matrix of the graph.
Definition mainwindow.cpp:13399
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:14487
QAction * networkExportDotAct
Definition mainwindow.h:694
DialogRandLattice * m_randLatticeDialog
Definition mainwindow.h:649
QAction * layoutNodeColorProminence_CLC_Act
Definition mainwindow.h:787
QLabel * rightPanelClickedEdgeWeightLCD
Definition mainwindow.h:817
void slotEditRelationChange(const int &relIndex=RAND_MAX)
Changes the editRelations combo box index to relIndex.
Definition mainwindow.cpp:7998
void slotOptionsSaveZeroWeightEdges(bool toggle)
Turns on/off saving zero-edge edge weights (only for GraphML at the moment).
Definition mainwindow.cpp:15589
QAction * networkExportSMAct
Definition mainwindow.h:693
int edgesPerNodeEstimatedSize
Definition mainwindow.h:600
QMenu * exportSubMenu
Definition mainwindow.h:665
QGroupBox * rightPanel
Definition mainwindow.h:660
QAction * layoutLevelProminence_EC_Act
Definition mainwindow.h:773
QAction * networkRandomLatticeAct
Definition mainwindow.h:708
void slotNetworkExportEdgesCSV()
Exports all edge data (unfiltered) to a CSV file chosen by the user.
Definition mainwindow.cpp:8597
QAction * editNodePropertiesAct
Definition mainwindow.h:716
void slotAnalyzeEccentricity()
Definition mainwindow.cpp:13837
QWidget * m_clickedNodeSection
Definition mainwindow.h:829
void slotOptionsDebugMessages(bool toggle)
Turns debugging messages on or off.
Definition mainwindow.cpp:15940
QStringList prominenceIndexList
Definition mainwindow.h:611
void toolBoxAnalysisStrEquivalenceSelectChanged(const int &selectedIndex)
Called when the user selects something in the Structural Equivalence selectbox of the toolbox.
Definition mainwindow.cpp:6528
QMenu * viewOptionsMenu
Definition mainwindow.h:667
void slotAnalyzePrestigeProximity()
MainWindow::slotAnalyzePrestigeProximity Writes Proximity Prestige indices into a file,...
Definition mainwindow.cpp:14798
QAction * analyzeMatrixAdjCocitationAct
Definition mainwindow.h:759
QSlider * zoomSlider
Definition mainwindow.h:688
QAction * networkExportListAct
Definition mainwindow.h:694
QAction * analyzeGraphSymmetryAct
Definition mainwindow.h:751
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:11194
void slotNetworkImportGraphML()
Imports a network from a GraphML formatted file.
Definition mainwindow.cpp:7328
DialogRandSmallWorld * m_randSmallWorldDialog
Definition mainwindow.h:646
QAction * analyzeCommunitiesTriadCensusAct
Definition mainwindow.h:757
QAction * helpAboutQt
Definition mainwindow.h:748
void slotFilterNodesByAttribute()
Opens the Filter By Attribute dialog and applies the chosen condition.
Definition mainwindow.cpp:12102
void signalSetReportsDataDir(const QString &dataDir)
QAction * editEdgeRemoveAct
Definition mainwindow.h:720
QAction * editResetSlidersAct
Definition mainwindow.h:685
MainWindow(const QString &m_fileName=QString(), const bool &forceProgress=false, const bool &maximized=false, const bool &fullscreen=false, const int &debugLevel=0)
Constructs the MainWindow (MW) object.
Definition mainwindow.cpp:99
QLabel * rightPanelNodesLCD
Definition mainwindow.h:800
QAction * editEdgesCocitationAct
Definition mainwindow.h:736
DialogClusteringHierarchical * m_dialogClusteringHierarchical
Definition mainwindow.h:653
QComboBox * toolBoxAnalysisMatricesSelect
Definition mainwindow.h:680
QAction * optionsEdgeWeightNumbersAct
Definition mainwindow.h:739
QToolButton * resetSlidersBtn
Definition mainwindow.h:686
void slotEditRelationRename()
Prompts the user to enter a new name for the current relation.
Definition mainwindow.cpp:8018
QAction * networkExportImageAct
Definition mainwindow.h:692
void slotNetworkExportDot()
Exports the active relation to a GraphViz DOT (.dot) file.
Definition mainwindow.cpp:8405
QStringList tips
Definition mainwindow.h:610
DialogSimilarityMatches * m_dialogSimilarityMatches
Definition mainwindow.h:651
QAction * helpCheckUpdatesApp
Definition mainwindow.h:749
void initWindowLayout()
Initializes the application window layout.
Definition mainwindow.cpp:5327
void slotAnalyzeStrEquivalenceSimilarityMeasureDialog()
Displays the DialogSimilarityMatches dialog.
Definition mainwindow.cpp:14224
void slotEditFilterEdgesUnilateral(bool checked)
Toggles the status of all unilateral edges.
Definition mainwindow.cpp:12317
QAction * networkRandomSmallWorldAct
Definition mainwindow.h:706
QAction * cClosenessAct
Definition mainwindow.h:763
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:10740
void slotNetworkImportPajek()
Imports a network from a Pajek-like formatted file.
Definition mainwindow.cpp:7346
QAction * networkNewAct
Definition mainwindow.h:690
void slotEditNodePropertiesDialog()
Opens the Node Properties dialog for the selected nodes. If no nodes are selected,...
Definition mainwindow.cpp:10000
QAction * networkExportNodesJSONAct
Definition mainwindow.h:696
QLabel * rightPanelClickedEdgeNameLabel
Definition mainwindow.h:814
QAction * layoutRadialProminence_PRP_Act
Definition mainwindow.h:771
QMenu * layoutLevelProminenceMenu
Definition mainwindow.h:671
void slotEditEdgeProperties(const int &v1, const int &v2, const QString &label, const double &weight, const QColor &color, const QHash< QString, QString > &customAttributes)
Applies updated edge properties received from DialogEdgeEdit.
Definition mainwindow.cpp:11262
void slotNetworkFileRecentUpdateActions()
Updates the Recent Files QActions in the menu.
Definition mainwindow.cpp:6059
QWidget * m_networkSection
Definition mainwindow.h:827
void slotAnalyzeCommunitiesTriadCensus()
Definition mainwindow.cpp:14189
QMenu * edgeOptionsMenu
Definition mainwindow.h:666
QAction * backgroundImageAct
Definition mainwindow.h:743
QAction * optionsEdgeThicknessPerWeightAct
Definition mainwindow.h:739
QAction * networkExportDLAct
Definition mainwindow.h:693
void slotAnalyzeStrEquivalenceClusteringHierarchicalDialog()
Displays the slotAnalyzeStrEquivalenceClusteringHierarchicalDialog dialog.
Definition mainwindow.cpp:14455
QAction * editNodeFindAct
Definition mainwindow.h:715
QAction * networkExportPajek
Definition mainwindow.h:692
QLabel * rightPanelClickedNodeLCD
Definition mainwindow.h:808
void slotNetworkFileLoadRecent()
Loads a selected file entry from the "Recent Files" menu.
Definition mainwindow.cpp:7534
QLabel * rightPanelClickedEdgeReciprocalWeightLabel
Definition mainwindow.h:818
Chart * miniChart
Definition mainwindow.h:630
int maxZoomIndex
Definition mainwindow.h:603
void initNetworkAvailableTextCodecs()
Setup a list of all text codecs supported by OS.
Definition mainwindow.cpp:7448
QMenu * colorationMenu
Definition mainwindow.h:673
void initComboBoxes()
Initializes combo boxes in the MW.
Definition mainwindow.cpp:6044
QAction * editMouseModeInteractiveAct
Definition mainwindow.h:711
void initMenuBar()
Populates the menu bar with our menu items.
Definition mainwindow.cpp:3846
void slotNetworkFileDialogFilterSelected(const QString &filter)
Called when user the selects a file filter (i.e. GraphML) in the fileDialog.
Definition mainwindow.cpp:7035
void slotOptionsBackgroundImageSelect(bool toggle)
Toggles displaying a custom image in the background If toggle = true, presents a dialog to select an ...
Definition mainwindow.cpp:15996
QAction * layoutRadialProminence_PP_Act
Definition mainwindow.h:771
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:6122
QAction * cDegreeAct
Definition mainwindow.h:763
void slotAnalyzeDistanceAverage()
Displays the average shortest path length (average graph distance).
Definition mainwindow.cpp:13790
QAction * layoutLevelProminence_IRCC_Act
Definition mainwindow.h:776
QAction * networkRandomRegularSameDegreeAct
Definition mainwindow.h:707
void toolBoxAnalysisProminenceSelectChanged(const int &selectedIndex)
Called when user selects something in the Prominence selectbox of the toolbox.
Definition mainwindow.cpp:6561
QAction * viewDataTableAct
Definition mainwindow.h:746
QAction * analyzeGraphEccentricityAct
Definition mainwindow.h:754
void slotNetworkFileView()
Displays the file of the loaded network.
Definition mainwindow.cpp:8654
void slotOpenSettingsDialog()
Opens the Settings dialog.
Definition mainwindow.cpp:712
QPushButton * m_chartToggleBtn
Definition mainwindow.h:825
QAction * regularColorationAct
Definition mainwindow.h:790
void slotOptionsCanvasSavePainterState(const bool &toggle=false)
Turns saving painter state on or off.
Definition mainwindow.cpp:15732
QAction * analyzeGraphReciprocityAct
Definition mainwindow.h:751
void slotAnalyzeMatrixAdjacencyTranspose()
Writes the transpose adjacency matrix.
Definition mainwindow.cpp:13331
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:11546
QString userSelectedCodecName
Definition mainwindow.h:607
void slotEditNodeAdd()
Adds a new random node.
Definition mainwindow.cpp:9847
QAction * layoutNodeSizeProminence_PRP_Act
Definition mainwindow.h:781
void slotNetworkExportPajek()
Exports the network to a Pajek-formatted file Calls the relevant Graph method.
Definition mainwindow.cpp:8286
QLabel * rightPanelClickedNodeInDegreeLCD
Definition mainwindow.h:810
bool inverseWeights
Definition mainwindow.h:604
QWidget * m_selectionSection
Definition mainwindow.h:828
QAction * analyzeStrEquivalenceMatchesAct
Definition mainwindow.h:762
QAction * editFilterEdgesRestoreAllAct
Definition mainwindow.h:728
FilterBarWidget * m_filterBar
Definition mainwindow.h:640
void slotEditRelationsClear()
Clears the relations combo.
Definition mainwindow.cpp:7867
QAction * cInformationAct
Definition mainwindow.h:764
QComboBox * toolBoxAnalysisProminenceSelect
Definition mainwindow.h:679
void saveSettings()
Saves default (or user-defined) app settings.
Definition mainwindow.cpp:665
QMap< QString, QString > appSettings
Definition mainwindow.h:616
void slotNetworkImportTwoModeSM()
Imports a network from a two mode sociomatrix formatted file.
Definition mainwindow.cpp:7437
void slotOptionsEdgeThicknessPerWeight(bool toggle)
MainWindow::slotOptionsEdgeThicknessPerWeight.
Definition mainwindow.cpp:15472
QAction * analyzeStrEquivalenceTieProfileDissimilaritiesAct
Definition mainwindow.h:755
void slotEditNodeRemove()
Handles requests to delete a node and the attached objects (edges, etc).
Definition mainwindow.cpp:9934
void slotAboutQt()
Definition mainwindow.cpp:16539
QMenu * layoutNodeColorProminenceMenu
Definition mainwindow.h:672
void toolBoxLayoutByIndexApplyBtnPressed()
Called when the user selects a Prominence index in the Layout selectbox of the Control Panel.
Definition mainwindow.cpp:6612
void slotEditEdgeClicked(const MyEdge &edge=MyEdge(), const bool &openMenu=false)
Displays information about the clicked edge on the statusbar.
Definition mainwindow.cpp:10953
QMenu * randomLayoutMenu
Definition mainwindow.h:671
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:14418
bool slotNetworkExportGW()
Definition mainwindow.cpp:8479
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:9835
QAction * cEigenvectorAct
Definition mainwindow.h:764
void slotNetworkViewSociomatrixPlotText()
Displays a text-only plot of the network adjacency matrix.
Definition mainwindow.cpp:8789
QAction * layoutNodeSizeProminence_PC_Act
Definition mainwindow.h:779
QMenu * subgraphMenu
Definition mainwindow.h:670
void slotEditNodeSetPropertyForSelection()
Opens DialogBulkEdit for the currently selected nodes (canvas shortcut).
Definition mainwindow.cpp:10177
QStack< QProgressDialog * > progressDialogs
Definition mainwindow.h:622
QList< TextEditor * > m_textEditors
Definition mainwindow.h:620
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:9148
QAction * analyzeGraphConnectednessAct
Definition mainwindow.h:756
QAction * analyzeMatrixGeodesicsAct
Definition mainwindow.h:753
void slotAnalyzeCentralityCloseness()
Definition mainwindow.cpp:14581
void toolBoxEditNodeSubgraphSelectChanged(const int &selectedIndex)
Called when user selects something in the Subgraph from Selected Nodes selectbox of the toolbox.
Definition mainwindow.cpp:6297
QAction * editEdgeSetPropertyForSelectionAct
Definition mainwindow.h:719
QToolButton * zoomInBtn
Definition mainwindow.h:686
Graph * activeGraph
Definition mainwindow.h:629
QAction * analyzeMatrixAdjInvertAct
Definition mainwindow.h:758
void slotHelpMessageToUserError(const QString text=QString())
Helper function to display a popup with an error message.
Definition mainwindow.cpp:6104
QComboBox * toolBoxAnalysisCohesionSelect
Definition mainwindow.h:678
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:9349
DialogSettings * m_settingsDialog
Definition mainwindow.h:654
void slotLayoutKamadaKawai()
Layouts the network according to the Kamada-Kawai FDP model.
Definition mainwindow.cpp:12711
void slotNetworkFileChoose(QString m_fileName=QString(), int fileFormat=-1, const bool &checkSelectFileType=true)
Chooses a network file to load.
Definition mainwindow.cpp:6757
QMenu * layoutForceDirectedMenu
Definition mainwindow.h:672
QAction * changeBackColorAct
Definition mainwindow.h:743
QAction * helpApp
Definition mainwindow.h:748
void slotEditEdgeSetPropertyForSelection()
Opens DialogBulkEdit for the currently selected edges (canvas shortcut).
Definition mainwindow.cpp:10226
QComboBox * toolBoxNetworkAutoCreateSelect
Definition mainwindow.h:675
void slotLayoutGuides(const bool &toggle)
Shows or hides (clears) layout guides.
Definition mainwindow.cpp:13184
void slotNetworkRandomScaleFreeDialog()
Shows a dialog to create a scale-free random network.
Definition mainwindow.cpp:9000
QAction * cInDegreeAct
Definition mainwindow.h:763
GraphicsWidget * graphicsWidget
Definition mainwindow.h:628
QAction * analyzeGraphDiameterAct
Definition mainwindow.h:754
QAction * layoutLevelProminence_SC_Act
Definition mainwindow.h:773
QAction * editNodeAddAct
Definition mainwindow.h:715
int maxRandomlyCreatedNodes
Definition mainwindow.h:601
QAction * layoutEgoRadialAct
Definition mainwindow.h:766
void slotOptionsEdgesVisibility(bool toggle)
MainWindow::slotOptionsEdgesVisibility.
Definition mainwindow.cpp:15387
QAction * filterNodesRestoreAllAct
Definition mainwindow.h:727
QComboBox * toolBoxAnalysisStrEquivalenceSelect
Definition mainwindow.h:678
void slotNetworkRandomGaussian()
Definition mainwindow.cpp:9172
void slotOptionsWindowRightPanelVisibility(bool toggle)
Toggles right panel.
Definition mainwindow.cpp:16126
void slotEditNodeSelectNone()
Selects no nodes.
Definition mainwindow.cpp:9817
QAction * layoutRadialProminence_IRCC_Act
Definition mainwindow.h:771
void terminateThreads(const QString &reason)
Terminates any remaining threads.
Definition mainwindow.cpp:392
void slotNetworkExportSM()
Exports the network to an adjacency matrix-formatted file Calls the relevant Graph method.
Definition mainwindow.cpp:8328
void slotNetworkExportPDFDialog()
Opens the Export to PDF Dialog.
Definition mainwindow.cpp:8191
QMenu * colorOptionsMenu
Definition mainwindow.h:666
QAction * drawEdgesBezier
Definition mainwindow.h:741
int activeNodes()
Definition mainwindow.cpp:13219
void slotEditEdgeWeight()
Changes the weight of the clicked edge. If no edge is clicked, asks the user to specify an Edge.
Definition mainwindow.cpp:11627
QAction * layoutRadialProminence_EVC_Act
Definition mainwindow.h:770
void slotNetworkRandomRegularDialog()
Shows a dialog to create a d-regular random network.
Definition mainwindow.cpp:9118
QAction * networkRandomGaussianAct
Definition mainwindow.h:703
QAction * averGraphDistanceAct
Definition mainwindow.h:752
QAction * fullScreenModeAct
Definition mainwindow.h:744
QMenu * analysisMenu
Definition mainwindow.h:665
QAction * editNodeSetPropertyForSelectionAct
Definition mainwindow.h:718
DialogSimilarityPearson * m_dialogSimilarityPearson
Definition mainwindow.h:650
void slotAnalyzeDiameter()
Displays the network diameter (largest geodesic).
Definition mainwindow.cpp:13728
QLabel * rightPanelEdgesLabel
Definition mainwindow.h:799
void slotAnalyzeWalksTotal()
Calculate and print the total number of walks of any length, between each pair of nodes.
Definition mainwindow.cpp:14011
QAction * layoutNodeSizeProminence_SC_Act
Definition mainwindow.h:778
void slotAnalyzeCentralityDegree()
Definition mainwindow.cpp:14540
QAction * filterNodesByAttributeAct
Definition mainwindow.h:725
QString progressMsg
Definition mainwindow.h:606
void slotEditSubgraphExtract()
Extracts the currently visible nodes and their inter-edges into an independent Graph object and saves...
Definition mainwindow.cpp:12343
void slotLayoutRandom()
Calls Graph::layoutRandom to reposition all nodes on a random layout.
Definition mainwindow.cpp:12592
QAction * networkCloseAct
Definition mainwindow.h:691
QAction * networkImportGMLAct
Definition mainwindow.h:697
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:11504
bool slotNetworkClose()
Closes the current network, saving it if needed.
Definition mainwindow.cpp:7278
QComboBox * toolBoxAnalysisCommunitiesSelect
Definition mainwindow.h:679
void slotOptionsCanvasIndexMethod(const QString &method)
Changes the indexing method of the graphics scene.
Definition mainwindow.cpp:15868
QAction * networkExportEdgesCSVAct
Definition mainwindow.h:695
void slotLayoutEgoRadial()
Calls Graph::layoutEgoRadial. Resolves the ego vertex from the current selection (exactly one selecte...
Definition mainwindow.cpp:12633
QScrollArea * m_leftScrollArea
Definition mainwindow.h:661
void slotEditGraphDirectedChanged(const bool &directed)
Updates the edge-mode combo and arrows action to reflect the directed state of the newly selected rel...
Definition mainwindow.cpp:11981
void slotNetworkDataSetRecreate(const QString)
Recreates famous and widely used data sets in network analysis studies.
Definition mainwindow.cpp:8869
QToolButton * rotateRightBtn
Definition mainwindow.h:686
void slotNetworkRandomRingLattice()
Creates a ring lattice network.
Definition mainwindow.cpp:9184
QMenu * networkMenu
Definition mainwindow.h:670
void slotEditNodeOpenContextMenu()
Shows a context menu when the user right-clicks directly on a node.
Definition mainwindow.cpp:10777
void slotNetworkPrint()
Sends the active network to the printer.
Definition mainwindow.cpp:7311
QAction * layoutNodeColorProminence_IRCC_Act
Definition mainwindow.h:786
QAction * networkViewFileAct
Definition mainwindow.h:699
void slotOptionsCanvasUpdateMode(const QString &mode)
Sets canvas update mode.
Definition mainwindow.cpp:15822
QAction * optionsEdgesVisibilityAct
Definition mainwindow.h:740
void slotAnalyzeMatrixLaplacian()
Writes the Laplacian matrix of the graph.
Definition mainwindow.cpp:13433
QWidget * m_clickedEdgeSection
Definition mainwindow.h:830
QAction * editRelationAddAct
Definition mainwindow.h:794
QAction * networkOpenAct
Definition mainwindow.h:690
QAction * editNodeLabelsSizeAct
Definition mainwindow.h:721
void slotOptionsCanvasAntialiasingAutoAdjust(const bool &toggle=false)
Turns antialiasing auto-adjustment on or off.
Definition mainwindow.cpp:15675
QAction * layoutNodeSizeProminence_PP_Act
Definition mainwindow.h:781
QAction * analyzeGraphWalksTotalAct
Definition mainwindow.h:756
void slotStyleSheetByName(const QString &sheetFileName)
Loads a custom Qt StyleSheet (.qss file).
Definition mainwindow.cpp:16191
void slotCacheSelection(const QList< int > &nodes, const QList< SelectedEdge > &edges)
Syncs the Data Table selection to match the canvas selection.
Definition mainwindow.cpp:10131
DialogRandRegular * m_randRegularDialog
Definition mainwindow.h:648
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:9279
void slotNetworkSavedStatus(const int &status)
Updates the 'save' status of the network.
Definition mainwindow.cpp:7249
QAction * networkQuitAct
Definition mainwindow.h:691
QStringList nodeShapeList
Definition mainwindow.h:614
void slotEditTransformNodes2Edges()
Definition mainwindow.cpp:12565
QLabel * rightPanelSelectedEdgesLCD
Definition mainwindow.h:805
void closeEvent(QCloseEvent *ce)
Called when the application closes. Asks to write any unsaved network data.
Definition mainwindow.cpp:288
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:10842
~MainWindow()
Deletes variables on MW closing.
Definition mainwindow.cpp:250
QAction * editEdgeAddAct
Definition mainwindow.h:720
QLabel * rightPanelSelectedEdgesLabel
Definition mainwindow.h:806
QAction * layoutNodeColorProminence_DP_Act
Definition mainwindow.h:782
QAction * editNodeSelectedToCliqueAct
Definition mainwindow.h:714
void slotFilterNodesDialogByCentrality()
Shows a dialog where the user can specify criteria to filter nodes.
Definition mainwindow.cpp:12001
QAction * editEdgeDichotomizeAct
Definition mainwindow.h:733
void slotOptionsEdgeLabelsVisibility(bool toggle)
MainWindow::slotOptionsEdgeLabelsVisibility Turns on/off displaying edge labels.
Definition mainwindow.cpp:15564
void signalRelationAddAndChange(const QString &relName, const bool &changeRelation=true)
void slotEditEdgeSymmetrizeStrongTies()
MainWindow::slotEditEdgeSymmetrizeStrongTies.
Definition mainwindow.cpp:11849
void slotEditNodeSelectedToStar()
Creates a star subgraph from selected nodes. User must choose a central node.
Definition mainwindow.cpp:10307
QAction * layoutNodeSizeProminence_IRCC_Act
Definition mainwindow.h:781
void initView()
Initializes our graphics widget, the canvas where we draw networks.
Definition mainwindow.cpp:867
void slotOptionsWindowStatusbarVisibility(bool toggle)
Turns window statusbar on or off.
Definition mainwindow.cpp:16084
QAction * layoutLevelProminence_PC_Act
Definition mainwindow.h:774
QAction * layoutLevelProminence_BC_Act
Definition mainwindow.h:774
DialogRandScaleFree * m_randScaleFreeDialog
Definition mainwindow.h:647
QMenu * editNodeMenu
Definition mainwindow.h:667
QAction * layoutFDP_Eades_Act
Definition mainwindow.h:791
QAction * networkDataSetSelectAct
Definition mainwindow.h:700
void slotNetworkExportImage(const QString &filename, const QByteArray &format, const int &quality, const int &compression)
Exports the network to an image file.
Definition mainwindow.cpp:8089
QAction * cEccentAct
Definition mainwindow.h:765
void toolBoxAnalysisMatricesSelectChanged(const int &selectedIndex)
Called when user selects something in the Matrices selectbox of the toolbox.
Definition mainwindow.cpp:6399
QAction * layoutNodeSizeProminence_IC_Act
Definition mainwindow.h:779
QAction * editRotateLeftAct
Definition mainwindow.h:685
QMenu * communitiesMenu
Definition mainwindow.h:668
QAction * openTextEditorAct
Definition mainwindow.h:699
QAction * editNodeSelectNoneAct
Definition mainwindow.h:712
void slotOptionsWindowFullScreen(bool toggle)
Toggles full screen mode (F11).
Definition mainwindow.cpp:16048
void slotNetworkFileDialogFileSelected(const QString &fileName)
Called when user selects a file in the fileDialog Calls slotNetworkFileChoose() again.
Definition mainwindow.cpp:7089
void slotAnalyzeCentralityEccentricity()
MainWindow::slotAnalyzeCentralityEccentricity Writes Eccentricity Centralities into a file,...
Definition mainwindow.cpp:15042
void slotNetworkImportAdjacency()
Imports a network from a Adjacency matrix formatted file.
Definition mainwindow.cpp:7357
void polishProgressDialog(QProgressDialog *dialog)
Fixes known bugs in QProgressDialog class. i.e. Workaround for macOS-only Qt bug: QTBUG-65750,...
Definition mainwindow.cpp:15255
void slotAnalyzeCentralityEigenvector()
Writes Eigenvector Centralities into a file, then displays it.
Definition mainwindow.cpp:14911
void slotLayoutNodeColorByProminenceIndex()
Runs when the user selects a color layout menu option.
Definition mainwindow.cpp:13039
void resizeEvent(QResizeEvent *e)
Called whenever the app window is resized.
Definition mainwindow.cpp:412
QPushButton * m_selectionToggleBtn
Definition mainwindow.h:822
QAction * editEdgeSymmetrizeStrongTiesAct
Definition mainwindow.h:732
QAction * layoutRandomRadialAct
Definition mainwindow.h:766
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:9892
QString fileNameNoPath
Definition mainwindow.h:606
void initActions()
Initializes all QActions of the application.
Definition mainwindow.cpp:997
int activeEdges()
Definition mainwindow.cpp:13207
QAction * layoutNodeSizeProminence_DP_Act
Definition mainwindow.h:777
QAction * editRelationNextAct
Definition mainwindow.h:794
DialogNodeFind * m_nodeFindDialog
Definition mainwindow.h:637
void slotHelpMessageToUserInfo(const QString text=QString())
Helper function to display a popup with useful info.
Definition mainwindow.cpp:6095
QAction * networkImportGraphvizAct
Definition mainwindow.h:698
QAction * layoutLevelProminence_EVC_Act
Definition mainwindow.h:775
void slotOptionsWindowLeftPanelVisibility(bool toggle)
Toggles left panel.
Definition mainwindow.cpp:16105
void slotEditEdgeOpenContextMenu(const QString &str="")
Shows a context menu when the user right-clicks directly on an edge.
Definition mainwindow.cpp:11061
QAction * analyzeMatrixReachabilityAct
Definition mainwindow.h:756
QToolButton * zoomOutBtn
Definition mainwindow.h:686
Lightweight value type representing a directed or undirected edge.
Definition global.h:225
Definition texteditor.h:27
Defines the FilterCondition struct shared by all attribute-based filters.
Global definitions, constants, enumerations, and utility types for SocNetV.
NetworkRequestType
Identifies the purpose of an outgoing network request.
Definition global.h:151
#define SOCNETV_USE_NAMESPACE
Definition global.h:28
QHash< QString, int > H_StrToInt
Definition graph.h:53