Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Create New Class 'ExportAllLevelsPopup' which inherit from ExportLevelPopup

Abel83774e61d131
diff --git a/toonz/sources/toonz/CMakeLists.txt b/toonz/sources/toonz/CMakeLists.txt
index 7614f98e8..44b8c60d8 100644
--- a/toonz/sources/toonz/CMakeLists.txt
+++ b/toonz/sources/toonz/CMakeLists.txt
@@ -234,6 +234,7 @@ set(SOURCES
batchserversviewer.cpp
castviewer.cpp
exportlevelpopup.cpp
+ exportalllevelspopup.cpp
exportscenepopup.cpp
colormodelviewer.cpp
exportpanel.cpp
diff --git a/toonz/sources/toonz/exportalllevelspopup.cpp b/toonz/sources/toonz/exportalllevelspopup.cpp
new file mode 100644
index 000000000..16494eaa2
--- /dev/null
+++ b/toonz/sources/toonz/exportalllevelspopup.cpp
@@ -0,0 +1,62 @@
+
+
+#include "exportlevelpopup.h"
+
+// Tnz6 includes
+#include "tapp.h"
+#include "filebrowser.h"
+#include "columnselection.h"
+#include "menubarcommandids.h"
+#include "iocommand.h"
+#include "exportlevelcommand.h"
+#include "formatsettingspopups.h"
+
+// TnzQt includes
+#include "toonzqt/checkbox.h"
+#include "toonzqt/doublefield.h"
+#include "toonzqt/colorfield.h"
+#include "toonzqt/tselectionhandle.h"
+#include "toonzqt/gutil.h"
+#include "toonzqt/planeviewer.h"
+#include "toonzqt/framenavigator.h"
+#include "toonzqt/imageutils.h"
+
+// TnzLib includes
+#include "toonz/txsheet.h"
+#include "toonz/tcamera.h"
+#include "toonz/txshsimplelevel.h"
+#include "toonz/txshcell.h"
+#include "toonz/tstageobjecttree.h"
+#include "toonz/toonzscene.h"
+#include "toonz/sceneproperties.h"
+#include "toonz/tproject.h"
+#include "toonz/stage.h"
+#include "toonz/preferences.h"
+
+#include "toonz/txshlevelhandle.h"
+#include "toonz/txsheethandle.h"
+#include "toonz/tscenehandle.h"
+#include "toutputproperties.h"
+
+// TnzCore includes
+#include "tiio.h"
+#include "tproperty.h"
+
+// Qt includes
+#include <QDir>
+
+#include <QLabel>
+#include <QPushButton>
+#include <QComboBox>
+#include <QGroupBox>
+#include <QTabBar>
+#include <QStackedWidget>
+#include <QSplitter>
+#include <QToolBar>
+
+//********************************************************************************
+// Export All Levels Command instantiation
+//********************************************************************************
+
+OpenPopupCommandHandler<ExportAllLevelsPopup> exportAllLevelsPopupCommand(
+ MI_ExportAllLevels);
\ No newline at end of file
diff --git a/toonz/sources/toonz/exportlevelpopup.h b/toonz/sources/toonz/exportlevelpopup.h
index 5d87e04e2..003c929dc 100644
--- a/toonz/sources/toonz/exportlevelpopup.h
+++ b/toonz/sources/toonz/exportlevelpopup.h
@@ -55,7 +55,7 @@ class QHideEvent;
/*!
\brief The popup dealing with level exports in Toonz.
*/
-class ExportLevelPopup final : public FileBrowserPopup {
+class ExportLevelPopup : public FileBrowserPopup {
Q_OBJECT
public:
@@ -158,4 +158,6 @@ private slots:
void onThicknessTransformModeChanged();
};
+class ExportAllLevelsPopup : public ExportLevelPopup {};
+
#endif // EXPORTLEVELPOPUP_H