Class Avogadro::QtGui::BackgroundFileFormat#
-
class BackgroundFileFormat : public QObject#
The BackgroundFileFormat class provides a thin QObject wrapper around an instance of Io::FileFormat.
Unnamed Group
Unnamed Group
-
inline void setFileName(const QString &filename)#
The name of the file to read/write.
-
inline QString fileName() const#
The name of the file to read/write.
Public Functions
-
explicit BackgroundFileFormat(Io::FileFormat *format, QObject *parent = nullptr)#
This class takes ownership of format and will delete it when destructed.
-
~BackgroundFileFormat()#
-
inline Io::FileFormat *fileFormat() const#
The Io::FileFormat to use.
-
inline bool success() const#
- Returns:
True if the operation was successful.
Public Slots
-
void read()#
Use the fileFormat() to read fileName() into molecule().
-
void write()#
Use the fileFormat() to write fileName() from molecule().
Signals
-
void finished()#
Emitted when a call to read or write is called.
-
inline void setFileName(const QString &filename)#