rocs/RocsCore
TikzFileFormatPlugin.cpp
Go to the documentation of this file.
75 setError(FileIsReadOnly, i18n("Could not open file \"%1\" in write mode: %2", file().fileName(), fileHandle.errorString()));
96 QString dataTypeStyle = QString("\\tikzstyle{data%1}=[circle,thin,fill=black!25,minimum size=20pt,inner sep=0pt]").
127 QString pointerTypeStyle = QString("\\tikzstyle{edge%1} = [%2]").arg(type).arg(styleAttributes);
QString & append(QChar ch)
QString errorString() const
virtual void writeFile(Document &graph)
Writes given graph document to formerly specified file.
Definition: TikzFileFormatPlugin.cpp:70
~TikzFileFormatPlugin()
Definition: TikzFileFormatPlugin.cpp:47
virtual void readFile()
Open given file and imports it into internal format.
Definition: TikzFileFormatPlugin.cpp:63
Definition: PointerType.h:47
class TikzFileFormatPlugin: Export Plugin for PGF/TikZ files
Definition: TikzFileFormatPlugin.h:29
void setError(Error error, QString message=QString())
Definition: GraphFilePluginInterface.cpp:83
DataStructurePtr activeDataStructure() const
Definition: Document.cpp:431
virtual GraphFilePluginInterface::PluginType pluginCapability() const
Returns PluginType to indicate whether the plugin only provides import, only export or both capabilit...
Definition: TikzFileFormatPlugin.cpp:57
static const KAboutData aboutdata("rocs_tikzfileformat", 0, ki18nc("@title Displayed plugin name","PGF/TikZ Export File Backend"),"0.1", ki18n("Export graph documents in PGF/TikZ format."), KAboutData::License_GPL_V2)
virtual bool open(QFlags< QIODevice::OpenModeFlag > mode)
PluginType
Describes the capability of the plugin, i.e., if the plugin can be used to read and/or write files...
Definition: GraphFilePluginInterface.h:65
Definition: Document.h:41
QList< int > pointerTypeList() const
Getter for all registered pointer types.
Definition: Document.cpp:165
QList< int > dataTypeList() const
Getter for all registered data types.
Definition: Document.cpp:160
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
const KUrl & file() const
Definition: GraphFilePluginInterface.cpp:120
This class provides an interface for graph file format plugins.
Definition: GraphFilePluginInterface.h:42
virtual const QStringList extensions() const
File extensions that are common for this file type.
Definition: TikzFileFormatPlugin.cpp:51
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.