Pencil2D  ff90c0872e88be3bf81c548cd60f01983012ec49
Pencil2D is an animation software for both bitmap and vector graphics. It is free, multi-platform, and open source.
 All Classes Functions
Public Slots | Signals | Public Member Functions | Static Public Attributes | Protected Slots | Properties | Private Attributes | List of all members
RecentFileMenu Class Reference
+ Inheritance diagram for RecentFileMenu:

Public Slots

void clear ()
 

Signals

void loadRecentFile (QString filename)
 

Public Member Functions

 RecentFileMenu (QString title=tr("Open Recent"), QWidget *parent=0)
 
QStringList getRecentFiles ()
 
void setRecentFiles (QStringList filenames)
 
void addRecentFile (QString filename)
 
void removeRecentFile (QString filename)
 
bool loadFromDisk ()
 
bool saveToDisk ()
 

Static Public Attributes

static const int MAX_RECENT_FILES = 10
 

Protected Slots

void onRecentFileTriggered ()
 

Properties

QStringList recentFiles
 

Private Attributes

QStringList mRecentFiles
 
std::map< QString, QAction * > mRecentActions
 
QAction * mClearAction = nullptr
 
QAction * mClearSeparator = nullptr
 

Detailed Description

Definition at line 30 of file recentfilemenu.h.


The documentation for this class was generated from the following files: