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 | Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
MainWindow2 Class Reference
+ Inheritance diagram for MainWindow2:

Public Slots

void undoActSetText ()
 
void undoActSetEnabled ()
 
void updateSaveState ()
 
void clearRecentFilesList ()
 

Signals

void updateRecentFilesList (bool b)
 

Public Member Functions

 MainWindow2 (QWidget *parent=0)
 
void setOpacity (int opacity)
 
void newDocument ()
 
void openDocument ()
 
void saveDocument ()
 
bool saveAsNewDocument ()
 
bool maybeSave ()
 
void importImage ()
 
void exportImage ()
 
void importImageSequence ()
 
void exportImageSequence ()
 
void importMovie ()
 
void lockWidgets (bool shouldLock)
 
void preferences ()
 
void helpBox ()
 
void aboutPencil ()
 
void openFile (QString filename)
 
PreferencesDialoggetPrefDialog ()
 

Public Attributes

EditormEditor = nullptr
 

Protected Member Functions

void tabletEvent (QTabletEvent *) override
 
void closeEvent (QCloseEvent *) override
 

Private Member Functions

bool openObject (QString strFilename)
 
bool saveObject (QString strFileName)
 
void dockAllSubWidgets ()
 
void createDockWidgets ()
 
void createMenus ()
 
void setMenuActionChecked (QAction *, bool bChecked)
 
void setupKeyboardShortcuts ()
 
void clearKeyboardShortcuts ()
 
void updateZoomLabel ()
 
void importPalette ()
 
void exportPalette ()
 
void readSettings ()
 
void writeSettings ()
 
void changePlayState (bool isPlaying)
 
void makeConnections (Editor *)
 
void makeConnections (Editor *, ColorBox *)
 
void makeConnections (Editor *, ScribbleArea *)
 
void makeConnections (Editor *, ColorPaletteWidget *)
 
void makeConnections (Editor *, TimeLine *)
 
void makeConnections (Editor *, DisplayOptionWidget *)
 
void makeConnections (Editor *, ToolOptionWidget *)
 
void bindActionWithSetting (QAction *, SETTING)
 

Private Attributes

ScribbleAreamScribbleArea = nullptr
 
ColorBoxmColorWheel = nullptr
 
ColorPaletteWidgetmColorPalette = nullptr
 
DisplayOptionWidgetmDisplayOptionWidget = nullptr
 
ToolOptionWidgetmToolOptions = nullptr
 
ToolBoxWidgetmToolBox = nullptr
 
Timeline2mTimeline2 = nullptr
 
RecentFileMenumRecentFileMenu = nullptr
 
PreferencesDialogmPrefDialog = nullptr
 
TimeLinemTimeLine
 
BackupElementmBackupAtSave = nullptr
 
ActionCommandsmCommands = nullptr
 
QList< BaseDockWidget * > mDockWidgets
 
BackgroundWidgetmBackground
 
QIcon mStartIcon
 
QIcon mStopIcon
 
Ui::MainWindow2 * ui = nullptr
 

Detailed Description

Definition at line 61 of file mainwindow2.h.

Member Function Documentation

void MainWindow2::createMenus ( )
private

— Export Menu —

— Import Menu —

— Edit Menu —

Layer Menu —

— View Menu —

— Animation Menu —

— Tool Menu —

— Window Menu —

Definition at line 230 of file mainwindow2.cpp.


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