Project Name: MakeHuman
Product Home Page: http://www.makehuman.org/
Code Home Page: https://bitbucket.org/MakeHuman/makehuman/
Authors: Thanasis Papoutsidakis
Copyright(c): MakeHuman Team 2001-2015
Licensing: AGPL3 (http://www.makehuman.org/doc/node/the_makehuman_application.html)
This file is part of MakeHuman (www.makehuman.org).
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Coding Standards: See http://www.makehuman.org/node/165
This module defines the File class, an object that represents a file that is being edited inside MakeHuman.
Object class representing a file that is being opened and edited from inside the application.
It can be used for managing project files, and handling the currently opened files in a Graphical User Interface using an organized structure.
Method to be called when the File’s associated data is modified.
Without arguments, it is equivalent to File.modified = True. Extra arguments are passed to the FileModifiedEvent constructor.
Method to be called after loading the file from a path.
Get the state of the modified flag.
Event class to be emitted upon modification of a managed File object.
It contains information about the state of the modified flag and possibly about the reason that the event was triggered.
Class method that returns a new FileModifiedEvent object properly modified to inform about a modification event, in the case that the change was done with the use of assignment (instead of the standard object’s methods e.g. load() etc.).