|
| enum | MessageId { MI_NONE_SUPPORTS = 0xf8e0
} |
| |
| typedef ilog::CLoggerComponentBase | BaseClass |
| |
| typedef Base | BaseClass |
| | Base class typedef for component functionality.
|
| |
| typedef ilog::CLoggerBase | BaseClass2 |
| | Base class typedef for logger functionality.
|
| |
| enum | OperationState { OS_OK
, OS_CANCELED
, OS_FAILED
} |
| | Result of operation. More...
|
| |
| enum | ErrorType { ET_NO_WRITE_PERMISSIONS
, ET_NO_READ_PERMISSIONS
, ET_FILE_NOT_EXIST
} |
| | Possible file I/O errors. More...
|
| |
| enum | MessageId {
MI_BAD_OBJECT_TYPE = 0xabf0
, MI_CANNOT_LOAD
, MI_CANNOT_SAVE
, MI_BAD_EXTENSION
,
MI_FILE_NOT_EXIST
, MI_UNSUPPORTED_VERSION
} |
| | List of possible message IDs used in context of this interface. More...
|
| |
| enum | QueryFlags {
QF_LOAD = 1 << 0
, QF_SAVE = 1 << 1
, QF_FILE = 1 << 2
, QF_DIRECTORY = 1 << 3
,
QF_ANONYMOUS = 1 << 4
} |
| | Describe detailed options of query. More...
|
| |
| enum | OperationType { OT_UNKNOWN
, OT_LOAD
, OT_SAVE
} |
| |
| enum | PathType { PT_COMPLETE
, OT_FILENAME
, OT_DIR
} |
| |
|
| virtual bool | IsOperationSupported (const istd::IChangeable *dataObjectPtr, const QString *filePathPtr=NULL, int flags=-1, bool beQuiet=true) const override |
| | Returns true if object dataObject can be loaded/saved.
|
| |
| virtual ifile::IFilePersistence::OperationState | LoadFromFile (istd::IChangeable &data, const QString &filePath=QString(), ibase::IProgressManager *progressManagerPtr=NULL) const override |
| | This function loads data data from file filePath.
|
| |
| virtual ifile::IFilePersistence::OperationState | SaveToFile (const istd::IChangeable &data, const QString &filePath=QString(), ibase::IProgressManager *progressManagerPtr=NULL) const override |
| | This function saves data data to file filePath.
|
| |
| virtual bool | GetFileExtensions (QStringList &result, const istd::IChangeable *dataObjectPtr=NULL, int flags=-1, bool doAppend=false) const override |
| | Get file extensions supported by this loader.
|
| |
| virtual QString | GetTypeDescription (const QString *extensionPtr=NULL) const override |
| | Get description of object type associated with single extension.
|
| |
| virtual QString | GetLastFilePath (OperationType operationType=OT_UNKNOWN, PathType pathType=PT_COMPLETE) const override |
| | Returns the last opened file name.
|
| |
| | CLoggerBase () |
| | Default constructor.
|
| |
| virtual void | SetLogPtr (ilog::IMessageConsumer *logPtr) override |
| | Attach a message consumer for logging.
|
| |
| virtual ilog::IMessageConsumer * | GetLogPtr () const override |
| | Get the currently attached message consumer.
|
| |
| virtual | ~IPolymorphic () |
| |
|
| QString | GetPathForType (const QFileInfo &fileInfo, PathType pathType) const |
| |
| virtual QString | GetFileName (const istd::IChangeable &data, const QString &filePath, bool isSaving, int &selectionIndex) const |
| |
| ifile::IFilePersistence * | GetLoaderFor (const istd::IChangeable *dataObjectPtr, const QString &filePath, int selectionIndex, int flags, bool beQuiet) const |
| |
| virtual void | OnComponentCreated () override |
| | Called when component is created.
|
| |
| bool | IsVerboseEnabled (int tracingLevel=0) const |
| | Check if verbose messages are enabled for a given tracing level.
|
| |
| void | SendVerboseMessage (const QString &message, const QString &messageSource=QString(), int tracingLevel=0) const |
| | Send a verbose message if enabled.
|
| |
| virtual void | DecorateMessage (istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const override |
| | Decorate message before sending.
|
| |
| virtual void | OnComponentDestroyed () override |
| | Called when component is destroyed.
|
| |
| bool | SendInfoMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| | Send info message to log.
|
| |
| bool | SendWarningMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| | Send warning message to log.
|
| |
| bool | SendErrorMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| | Send error message to log.
|
| |
| bool | SendCriticalMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| | Send critical message to log.
|
| |
| bool | SendInfoMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| | Send once info message to log.
|
| |
| bool | SendWarningMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| | Send once warning message to log.
|
| |
| bool | SendErrorMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| | Send once error message to log.
|
| |
| bool | SendCriticalMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| | Send once critical message to log.
|
| |
| bool | SendUserMessage (const istd::IInformationProvider *messagePtr) const |
| | Send message with user object.
|
| |
| bool | AllowMessageOnceAgain (int id) |
| | Reset message lock.
|
| |
| virtual bool | IsLogConsumed (const istd::IInformationProvider::InformationCategory *categoryPtr=NULL, const int *flagsPtr=NULL) const override |
| | Check if any log message is consumed.
|
| |
| virtual bool | SendLogMessage (istd::IInformationProvider::InformationCategory category, int id, const QString &message, const QString &messageSource, int flags=0) const override |
| | Send any message to log.
|
| |
File dialog component.
File dialog will be created according to set of the slave file loaders.
Definition at line 27 of file CFileDialogLoaderComp.h.