Graphviz 13.0.0~dev.20250121.0651
Loading...
Searching...
No Matches
csettings.cpp File Reference
#include "csettings.h"
#include "mainwindow.h"
#include "mdichild.h"
#include "qfiledialog.h"
#include "qmessagebox.h"
#include "string.h"
#include <QTemporaryFile>
#include <QtWidgets>
#include <cgraph/rdr.h>
#include <cstdlib>
#include <qfile.h>
#include <string>
#include <util/gv_find_me.h>
Include dependency graph for csettings.cpp:

Go to the source code of this file.

Macros

#define WIDGET(t, f)   (findChild<t *>(QStringLiteral(#f)))
 

Functions

int errorPipe (char *errMsg)
 
static std::string find_me ()
 wrapper around gv_find_me to convert to a C++ type
 
static std::string find_share (void)
 find an absolute path to where Gvedit auxiliary files are stored
 
bool loadAttrs (const QString &fileName, QComboBox *cbNameG, QComboBox *cbNameN, QComboBox *cbNameE)
 
QString stripFileExtension (const QString &fileName)
 
static QString buildTempFile ()
 

Macro Definition Documentation

◆ WIDGET

#define WIDGET (   t,
 
)    (findChild<t *>(QStringLiteral(#f)))

Definition at line 29 of file csettings.cpp.

Function Documentation

◆ buildTempFile()

static QString buildTempFile ( )
static

Definition at line 319 of file csettings.cpp.

◆ errorPipe()

int errorPipe ( char *  errMsg)
extern

Definition at line 23 of file mainwindow.cpp.

References globTextEdit.

◆ find_me()

static std::string find_me ( )
static

Definition at line 32 of file csettings.cpp.

References free(), gv_find_me(), and NULL.

Referenced by find_share().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ find_share()

static std::string find_share ( void  )
static

Definition at line 40 of file csettings.cpp.

References errout, and find_me().

Referenced by CFrmSettings::CFrmSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ loadAttrs()

bool loadAttrs ( const QString &  fileName,
QComboBox *  cbNameG,
QComboBox *  cbNameN,
QComboBox *  cbNameE 
)

Definition at line 77 of file csettings.cpp.

References errout, fileName(), and id.

Referenced by CFrmSettings::CFrmSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ stripFileExtension()

QString stripFileExtension ( const QString &  fileName)

Definition at line 112 of file csettings.cpp.

References fileName().

Here is the call graph for this function: