// This file was autogenerated from /build/gimagereader/src/gimagereader-3.4.3/gtk/data/MainWindow.ui

#ifndef UI_MAINWINDOW_HH
#define UI_MAINWINDOW_HH

#include <vector>
#include <gtkmm.h>

namespace Ui {
struct MainWindow {
	Glib::RefPtr<Gtk::Builder> builder;
	Gtk::Image* imageAutolayout = nullptr;
	Gtk::Image* imageControls = nullptr;
	Gtk::Image* imageExport = nullptr;
	Gtk::Image* imageOutputpane = nullptr;
	Gtk::Image* imagePagesCancel = nullptr;
	Gtk::Image* imagePagesOk = nullptr;
	Gtk::Image* imagePdfpasswordCancel = nullptr;
	Gtk::Image* imagePdfpasswordOk = nullptr;
	Gtk::Image* imageProgressCancel = nullptr;
	Gtk::Image* imageRotateAll = nullptr;
	Gtk::Image* imageRotateCurrent = nullptr;
	Gtk::Menu* menuRotateMode = nullptr;
	Gtk::ImageMenuItem* menuitemDisplayRotateCurrent = nullptr;
	Gtk::ImageMenuItem* menuitemDisplayRotateAll = nullptr;
	Gtk::Image* imageSourceFolder = nullptr;
	Gtk::Image* imageSourcePaste = nullptr;
	Gtk::Image* imageSourceScreenshot = nullptr;
	Gtk::Image* imageSources = nullptr;
	Gtk::Image* imageSourcesAdd = nullptr;
	Gtk::Image* imageSourcesClear = nullptr;
	Gtk::Image* imageSourcesDelete = nullptr;
	Gtk::Image* imageSourcesRemove = nullptr;
	Gtk::Image* imageSourcesScan = nullptr;
	Gtk::Image* imageZoomfit = nullptr;
	Gtk::Image* imageZoomin = nullptr;
	Gtk::Image* imageZoomnorm = nullptr;
	Gtk::Image* imageZoomout = nullptr;
	Gtk::Menu* menuLanguages = nullptr;
	Gtk::ApplicationWindow* windowMain = nullptr;
	Gtk::Box* boxMain = nullptr;
	Gtk::Paned* panedOutput = nullptr;
	Gtk::Paned* panedSources = nullptr;
	Gtk::Notebook* notebookSources = nullptr;
	Gtk::Box* boxSources = nullptr;
	Gtk::Box* boxSourcesButtons = nullptr;
	Gtk::Box* boxSourcesAdd = nullptr;
	Gtk::Button* buttonSourcesAdd = nullptr;
	Gtk::MenuButton* menubuttonSourcesAdd = nullptr;
	Gtk::Arrow* arrowSourcesAdd = nullptr;
	Gtk::Button* buttonSourceFolder = nullptr;
	Gtk::Button* buttonSourcePaste = nullptr;
	Gtk::Button* buttonSourceScreenshot = nullptr;
	Gtk::Button* buttonSourcesRemove = nullptr;
	Gtk::Button* buttonSourcesDelete = nullptr;
	Gtk::Button* buttonSourcesClear = nullptr;
	Gtk::Paned* panedSource = nullptr;
	Gtk::ScrolledWindow* scrollwinSources = nullptr;
	Gtk::TreeView* treeviewSources = nullptr;
	Gtk::Box* boxThumbnails = nullptr;
	Gtk::CheckButton* checkBoxThumbnails = nullptr;
	Gtk::ScrolledWindow* scrollwinThumbnails = nullptr;
	Gtk::IconView* iconviewThumbnails = nullptr;
	Gtk::Label* labelSources = nullptr;
	Gtk::Grid* gridAcquire = nullptr;
	Gtk::Label* labelAcquireDevice = nullptr;
	Gtk::Box* boxAcquireDevice = nullptr;
	Gtk::ComboBox* comboAcquireDevice = nullptr;
	Gtk::Button* buttonAcquireRefresh = nullptr;
	Gtk::Image* imageAcquireRefresh = nullptr;
	Gtk::Spinner* spinnerAcquire = nullptr;
	Gtk::Label* labelAcquireOutput = nullptr;
	Gtk::Button* buttonAcquireOutput = nullptr;
	Gtk::Box* boxAcquireOutput = nullptr;
	Gtk::Label* labelAcquirePath = nullptr;
	Gtk::Image* imageAcquireOutput = nullptr;
	Gtk::Label* labelAcquireMode = nullptr;
	Gtk::ComboBoxText* comboAcquireMode = nullptr;
	Gtk::Label* labelAcquireResolution = nullptr;
	Gtk::ComboBoxText* comboAcquireResolution = nullptr;
	Gtk::Label* labelAcquireMessage = nullptr;
	Gtk::ButtonBox* buttonboxAcquire = nullptr;
	Gtk::Button* buttonAcquireScan = nullptr;
	Gtk::Label* labelAcquireSource = nullptr;
	Gtk::ComboBoxText* comboAcquireSource = nullptr;
	Gtk::Label* labelAcquire = nullptr;
	Gtk::Box* boxDisplay = nullptr;
	Gtk::Toolbar* toolbarDisplay = nullptr;
	Gtk::ToolItem* tbitemBrightness = nullptr;
	Gtk::SpinButton* spinBrightness = nullptr;
	Gtk::ToolItem* tbitemContrast = nullptr;
	Gtk::SpinButton* spinContrast = nullptr;
	Gtk::ToolItem* tbitemResolution = nullptr;
	Gtk::SpinButton* spinResolution = nullptr;
	Gtk::ToolItem* tbitemInvert = nullptr;
	Gtk::CheckButton* checkInvert = nullptr;
	Gtk::ToolItem* tbitemFiller = nullptr;
	Gtk::ScrolledWindow* scrollwinDisplay = nullptr;
	Gtk::Viewport* viewportDisplay = nullptr;
	Gtk::DrawingArea* drawingareaDisplay = nullptr;
	Gtk::Box* boxStatusbar = nullptr;
	Gtk::Statusbar* statusbar = nullptr;
	Gtk::Box* boxProgress = nullptr;
	Gtk::ProgressBar* progressbarProgress = nullptr;
	Gtk::Button* buttonProgressCancel = nullptr;
	Gtk::HeaderBar* headerbar = nullptr;
	Gtk::ToggleButton* buttonSources = nullptr;
	Gtk::Box* boxZoom = nullptr;
	Gtk::Button* buttonZoomin = nullptr;
	Gtk::Button* buttonZoomout = nullptr;
	Gtk::ToggleButton* buttonZoomnorm = nullptr;
	Gtk::ToggleButton* buttonZoomfit = nullptr;
	Gtk::Box* boxRotate = nullptr;
	Gtk::MenuButton* menubuttonRotateMode = nullptr;
	Gtk::Box* boxRotateMode = nullptr;
	Gtk::Image* imageRotateMode = nullptr;
	Gtk::Arrow* arrowRotateMode = nullptr;
	Gtk::SpinButton* spinRotate = nullptr;
	Gtk::SpinButton* spinPage = nullptr;
	Gtk::ToggleButton* buttonControls = nullptr;
	Gtk::Box* boxRecognize = nullptr;
	Gtk::ComboBoxText* comboOcrmode = nullptr;
	Gtk::Button* buttonAutolayout = nullptr;
	Gtk::Button* buttonRecognize = nullptr;
	Gtk::Grid* gridRecognize = nullptr;
	Gtk::Label* labelRecognizeMode = nullptr;
	Gtk::Label* labelRecognizeLang = nullptr;
	Gtk::Image* imageRecognizeIcon = nullptr;
	Gtk::MenuButton* menubuttonLanguages = nullptr;
	Gtk::Arrow* arrowLanguages = nullptr;
	Gtk::ToggleButton* buttonOutputpane = nullptr;
	Gtk::MenuButton* menubuttonOptions = nullptr;
	Gtk::Image* imageOptions = nullptr;
	Gtk::Button* buttonBatchExport = nullptr;
	Gtk::AboutDialog* dialogAbout = nullptr;
	Gtk::Box* boxAbout = nullptr;
	Gtk::ButtonBox* actionareaAbout = nullptr;
	Gtk::Label* labelAboutTesseractver = nullptr;
	Gtk::Dialog* dialogBatch = nullptr;
	Gtk::Button* buttonOk = nullptr;
	Gtk::Button* buttonCancel = nullptr;
	Gtk::Box* box = nullptr;
	Gtk::Label* labelIntro = nullptr;
	Gtk::Box* boxExisting = nullptr;
	Gtk::Label* labelExisting = nullptr;
	Gtk::ComboBoxText* comboBoxExisting = nullptr;
	Gtk::CheckButton* checkBoxPrependPage = nullptr;
	Gtk::CheckButton* checkBoxAutolayout = nullptr;
	Gtk::Dialog* dialogPageRange = nullptr;
	Gtk::Box* boxPageRange = nullptr;
	Gtk::ButtonBox* actionareaPageRange = nullptr;
	Gtk::Button* buttonPageRangeCancel = nullptr;
	Gtk::Button* buttonPageRangeOk = nullptr;
	Gtk::Grid* gridPageRange = nullptr;
	Gtk::Entry* entryPageRange = nullptr;
	Gtk::Label* labelPageRange = nullptr;
	Gtk::Label* labelPageRangeExample = nullptr;
	Gtk::Label* labelPageRangeRegions = nullptr;
	Gtk::ComboBoxText* comboPageRangeRegions = nullptr;
	Gtk::Label* labelPageRangeSpacer = nullptr;
	Gtk::Box* boxPageRangePrepend = nullptr;
	Gtk::Label* labelPageRangePrepend = nullptr;
	Gtk::CheckButton* checkPageRangePrependFile = nullptr;
	Gtk::CheckButton* checkPageRangePrependPage = nullptr;
	Gtk::Dialog* dialogPdfpassword = nullptr;
	Gtk::Box* boxPdfpassword = nullptr;
	Gtk::ButtonBox* buttonboxPdfpassword = nullptr;
	Gtk::Button* buttonPdfpasswordCancel = nullptr;
	Gtk::Button* buttonPdfpasswordOk = nullptr;
	Gtk::Label* labelPdfpassword = nullptr;
	Gtk::Entry* entryPdfpassword = nullptr;
	Gtk::Menu* menuRecognizePages = nullptr;
	Gtk::MenuItem* menuitemRecognizeCurrent = nullptr;
	Gtk::MenuItem* menuitemRecognizeMultiple = nullptr;
	Gtk::MenuItem* menuitemRecognizeBatch = nullptr;

	MainWindow() {
		builder = Gtk::Builder::create_from_resource("/org/gnome/gimagereader/MainWindow.ui");
		builder->set_translation_domain(GETTEXT_PACKAGE);
	}

	void setupUi() {
		builder->get_widget("imageAutolayout", imageAutolayout);
		imageAutolayout->set(Gdk::Pixbuf::create_from_resource("/org/gnome/gimagereader/autolayout.png"));
		builder->get_widget("imageControls", imageControls);
		imageControls->set(Gdk::Pixbuf::create_from_resource("/org/gnome/gimagereader/controls.png"));
		builder->get_widget("imageExport", imageExport);
		builder->get_widget("imageOutputpane", imageOutputpane);
		builder->get_widget("imagePagesCancel", imagePagesCancel);
		builder->get_widget("imagePagesOk", imagePagesOk);
		builder->get_widget("imagePdfpasswordCancel", imagePdfpasswordCancel);
		builder->get_widget("imagePdfpasswordOk", imagePdfpasswordOk);
		builder->get_widget("imageProgressCancel", imageProgressCancel);
		builder->get_widget("imageRotateAll", imageRotateAll);
		imageRotateAll->set(Gdk::Pixbuf::create_from_resource("/org/gnome/gimagereader/rotate_pages.png"));
		builder->get_widget("imageRotateCurrent", imageRotateCurrent);
		imageRotateCurrent->set(Gdk::Pixbuf::create_from_resource("/org/gnome/gimagereader/rotate_page.png"));
		builder->get_widget("menuRotateMode", menuRotateMode);
		builder->get_widget("menuitemDisplayRotateCurrent", menuitemDisplayRotateCurrent);
		builder->get_widget("menuitemDisplayRotateAll", menuitemDisplayRotateAll);
		builder->get_widget("imageSourceFolder", imageSourceFolder);
		builder->get_widget("imageSourcePaste", imageSourcePaste);
		builder->get_widget("imageSourceScreenshot", imageSourceScreenshot);
		builder->get_widget("imageSources", imageSources);
		builder->get_widget("imageSourcesAdd", imageSourcesAdd);
		builder->get_widget("imageSourcesClear", imageSourcesClear);
		builder->get_widget("imageSourcesDelete", imageSourcesDelete);
		builder->get_widget("imageSourcesRemove", imageSourcesRemove);
		builder->get_widget("imageSourcesScan", imageSourcesScan);
		builder->get_widget("imageZoomfit", imageZoomfit);
		builder->get_widget("imageZoomin", imageZoomin);
		builder->get_widget("imageZoomnorm", imageZoomnorm);
		builder->get_widget("imageZoomout", imageZoomout);
		builder->get_widget("menuLanguages", menuLanguages);
		builder->get_widget("windowMain", windowMain);
		builder->get_widget("boxMain", boxMain);
		builder->get_widget("panedOutput", panedOutput);
		builder->get_widget("panedSources", panedSources);
		builder->get_widget("notebookSources", notebookSources);
		builder->get_widget("boxSources", boxSources);
		builder->get_widget("boxSourcesButtons", boxSourcesButtons);
		builder->get_widget("boxSourcesAdd", boxSourcesAdd);
		builder->get_widget("buttonSourcesAdd", buttonSourcesAdd);
		builder->get_widget("menubuttonSourcesAdd", menubuttonSourcesAdd);
		builder->get_widget("arrowSourcesAdd", arrowSourcesAdd);
		builder->get_widget("buttonSourceFolder", buttonSourceFolder);
		builder->get_widget("buttonSourcePaste", buttonSourcePaste);
		builder->get_widget("buttonSourceScreenshot", buttonSourceScreenshot);
		builder->get_widget("buttonSourcesRemove", buttonSourcesRemove);
		builder->get_widget("buttonSourcesDelete", buttonSourcesDelete);
		builder->get_widget("buttonSourcesClear", buttonSourcesClear);
		builder->get_widget("panedSource", panedSource);
		builder->get_widget("scrollwinSources", scrollwinSources);
		builder->get_widget("treeviewSources", treeviewSources);
		builder->get_widget("boxThumbnails", boxThumbnails);
		builder->get_widget("checkBoxThumbnails", checkBoxThumbnails);
		builder->get_widget("scrollwinThumbnails", scrollwinThumbnails);
		builder->get_widget("iconviewThumbnails", iconviewThumbnails);
		builder->get_widget("labelSources", labelSources);
		builder->get_widget("gridAcquire", gridAcquire);
		builder->get_widget("labelAcquireDevice", labelAcquireDevice);
		builder->get_widget("boxAcquireDevice", boxAcquireDevice);
		builder->get_widget("comboAcquireDevice", comboAcquireDevice);
		builder->get_widget("buttonAcquireRefresh", buttonAcquireRefresh);
		builder->get_widget("imageAcquireRefresh", imageAcquireRefresh);
		builder->get_widget("spinnerAcquire", spinnerAcquire);
		builder->get_widget("labelAcquireOutput", labelAcquireOutput);
		builder->get_widget("buttonAcquireOutput", buttonAcquireOutput);
		builder->get_widget("boxAcquireOutput", boxAcquireOutput);
		builder->get_widget("labelAcquirePath", labelAcquirePath);
		builder->get_widget("imageAcquireOutput", imageAcquireOutput);
		builder->get_widget("labelAcquireMode", labelAcquireMode);
		builder->get_widget("comboAcquireMode", comboAcquireMode);
		builder->get_widget("labelAcquireResolution", labelAcquireResolution);
		builder->get_widget("comboAcquireResolution", comboAcquireResolution);
		builder->get_widget("labelAcquireMessage", labelAcquireMessage);
		builder->get_widget("buttonboxAcquire", buttonboxAcquire);
		builder->get_widget("buttonAcquireScan", buttonAcquireScan);
		builder->get_widget("labelAcquireSource", labelAcquireSource);
		builder->get_widget("comboAcquireSource", comboAcquireSource);
		builder->get_widget("labelAcquire", labelAcquire);
		builder->get_widget("boxDisplay", boxDisplay);
		builder->get_widget("toolbarDisplay", toolbarDisplay);
		builder->get_widget("tbitemBrightness", tbitemBrightness);
		builder->get_widget("spinBrightness", spinBrightness);
		builder->get_widget("tbitemContrast", tbitemContrast);
		builder->get_widget("spinContrast", spinContrast);
		builder->get_widget("tbitemResolution", tbitemResolution);
		builder->get_widget("spinResolution", spinResolution);
		builder->get_widget("tbitemInvert", tbitemInvert);
		builder->get_widget("checkInvert", checkInvert);
		builder->get_widget("tbitemFiller", tbitemFiller);
		builder->get_widget("scrollwinDisplay", scrollwinDisplay);
		builder->get_widget("viewportDisplay", viewportDisplay);
		builder->get_widget("drawingareaDisplay", drawingareaDisplay);
		builder->get_widget("boxStatusbar", boxStatusbar);
		builder->get_widget("statusbar", statusbar);
		builder->get_widget("boxProgress", boxProgress);
		builder->get_widget("progressbarProgress", progressbarProgress);
		builder->get_widget("buttonProgressCancel", buttonProgressCancel);
		builder->get_widget("headerbar", headerbar);
		builder->get_widget("buttonSources", buttonSources);
		builder->get_widget("boxZoom", boxZoom);
		builder->get_widget("buttonZoomin", buttonZoomin);
		builder->get_widget("buttonZoomout", buttonZoomout);
		builder->get_widget("buttonZoomnorm", buttonZoomnorm);
		builder->get_widget("buttonZoomfit", buttonZoomfit);
		builder->get_widget("boxRotate", boxRotate);
		builder->get_widget("menubuttonRotateMode", menubuttonRotateMode);
		builder->get_widget("boxRotateMode", boxRotateMode);
		builder->get_widget("imageRotateMode", imageRotateMode);
		imageRotateMode->set(Gdk::Pixbuf::create_from_resource("/org/gnome/gimagereader/rotate_pages.png"));
		builder->get_widget("arrowRotateMode", arrowRotateMode);
		builder->get_widget("spinRotate", spinRotate);
		builder->get_widget("spinPage", spinPage);
		builder->get_widget("buttonControls", buttonControls);
		builder->get_widget("boxRecognize", boxRecognize);
		builder->get_widget("comboOcrmode", comboOcrmode);
		builder->get_widget("buttonAutolayout", buttonAutolayout);
		builder->get_widget("buttonRecognize", buttonRecognize);
		builder->get_widget("gridRecognize", gridRecognize);
		builder->get_widget("labelRecognizeMode", labelRecognizeMode);
		builder->get_widget("labelRecognizeLang", labelRecognizeLang);
		builder->get_widget("imageRecognizeIcon", imageRecognizeIcon);
		builder->get_widget("menubuttonLanguages", menubuttonLanguages);
		builder->get_widget("arrowLanguages", arrowLanguages);
		builder->get_widget("buttonOutputpane", buttonOutputpane);
		builder->get_widget("menubuttonOptions", menubuttonOptions);
		builder->get_widget("imageOptions", imageOptions);
		builder->get_widget("buttonBatchExport", buttonBatchExport);
		builder->get_widget("dialogAbout", dialogAbout);
		builder->get_widget("boxAbout", boxAbout);
		builder->get_widget("actionareaAbout", actionareaAbout);
		builder->get_widget("labelAboutTesseractver", labelAboutTesseractver);
		builder->get_widget("dialogBatch", dialogBatch);
		builder->get_widget("buttonOk", buttonOk);
		builder->get_widget("buttonCancel", buttonCancel);
		builder->get_widget("box", box);
		builder->get_widget("labelIntro", labelIntro);
		builder->get_widget("boxExisting", boxExisting);
		builder->get_widget("labelExisting", labelExisting);
		builder->get_widget("comboBoxExisting", comboBoxExisting);
		builder->get_widget("checkBoxPrependPage", checkBoxPrependPage);
		builder->get_widget("checkBoxAutolayout", checkBoxAutolayout);
		builder->get_widget("dialogPageRange", dialogPageRange);
		builder->get_widget("boxPageRange", boxPageRange);
		builder->get_widget("actionareaPageRange", actionareaPageRange);
		builder->get_widget("buttonPageRangeCancel", buttonPageRangeCancel);
		builder->get_widget("buttonPageRangeOk", buttonPageRangeOk);
		builder->get_widget("gridPageRange", gridPageRange);
		builder->get_widget("entryPageRange", entryPageRange);
		builder->get_widget("labelPageRange", labelPageRange);
		builder->get_widget("labelPageRangeExample", labelPageRangeExample);
		builder->get_widget("labelPageRangeRegions", labelPageRangeRegions);
		builder->get_widget("comboPageRangeRegions", comboPageRangeRegions);
		builder->get_widget("labelPageRangeSpacer", labelPageRangeSpacer);
		builder->get_widget("boxPageRangePrepend", boxPageRangePrepend);
		builder->get_widget("labelPageRangePrepend", labelPageRangePrepend);
		builder->get_widget("checkPageRangePrependFile", checkPageRangePrependFile);
		builder->get_widget("checkPageRangePrependPage", checkPageRangePrependPage);
		builder->get_widget("dialogPdfpassword", dialogPdfpassword);
		builder->get_widget("boxPdfpassword", boxPdfpassword);
		builder->get_widget("buttonboxPdfpassword", buttonboxPdfpassword);
		builder->get_widget("buttonPdfpasswordCancel", buttonPdfpasswordCancel);
		builder->get_widget("buttonPdfpasswordOk", buttonPdfpasswordOk);
		builder->get_widget("labelPdfpassword", labelPdfpassword);
		builder->get_widget("entryPdfpassword", entryPdfpassword);
		builder->get_widget("menuRecognizePages", menuRecognizePages);
		builder->get_widget("menuitemRecognizeCurrent", menuitemRecognizeCurrent);
		builder->get_widget("menuitemRecognizeMultiple", menuitemRecognizeMultiple);
		builder->get_widget("menuitemRecognizeBatch", menuitemRecognizeBatch);
	}

	~MainWindow() {
		std::vector<Gtk::Widget*> toplevelWidgets;
		if(!imageAutolayout->get_parent()) toplevelWidgets.push_back(imageAutolayout);
		if(!imageControls->get_parent()) toplevelWidgets.push_back(imageControls);
		if(!imageExport->get_parent()) toplevelWidgets.push_back(imageExport);
		if(!imageOutputpane->get_parent()) toplevelWidgets.push_back(imageOutputpane);
		if(!imagePagesCancel->get_parent()) toplevelWidgets.push_back(imagePagesCancel);
		if(!imagePagesOk->get_parent()) toplevelWidgets.push_back(imagePagesOk);
		if(!imagePdfpasswordCancel->get_parent()) toplevelWidgets.push_back(imagePdfpasswordCancel);
		if(!imagePdfpasswordOk->get_parent()) toplevelWidgets.push_back(imagePdfpasswordOk);
		if(!imageProgressCancel->get_parent()) toplevelWidgets.push_back(imageProgressCancel);
		if(!imageRotateAll->get_parent()) toplevelWidgets.push_back(imageRotateAll);
		if(!imageRotateCurrent->get_parent()) toplevelWidgets.push_back(imageRotateCurrent);
		if(!menuRotateMode->get_parent()) toplevelWidgets.push_back(menuRotateMode);
		if(!menuitemDisplayRotateCurrent->get_parent()) toplevelWidgets.push_back(menuitemDisplayRotateCurrent);
		if(!menuitemDisplayRotateAll->get_parent()) toplevelWidgets.push_back(menuitemDisplayRotateAll);
		if(!imageSourceFolder->get_parent()) toplevelWidgets.push_back(imageSourceFolder);
		if(!imageSourcePaste->get_parent()) toplevelWidgets.push_back(imageSourcePaste);
		if(!imageSourceScreenshot->get_parent()) toplevelWidgets.push_back(imageSourceScreenshot);
		if(!imageSources->get_parent()) toplevelWidgets.push_back(imageSources);
		if(!imageSourcesAdd->get_parent()) toplevelWidgets.push_back(imageSourcesAdd);
		if(!imageSourcesClear->get_parent()) toplevelWidgets.push_back(imageSourcesClear);
		if(!imageSourcesDelete->get_parent()) toplevelWidgets.push_back(imageSourcesDelete);
		if(!imageSourcesRemove->get_parent()) toplevelWidgets.push_back(imageSourcesRemove);
		if(!imageSourcesScan->get_parent()) toplevelWidgets.push_back(imageSourcesScan);
		if(!imageZoomfit->get_parent()) toplevelWidgets.push_back(imageZoomfit);
		if(!imageZoomin->get_parent()) toplevelWidgets.push_back(imageZoomin);
		if(!imageZoomnorm->get_parent()) toplevelWidgets.push_back(imageZoomnorm);
		if(!imageZoomout->get_parent()) toplevelWidgets.push_back(imageZoomout);
		if(!menuLanguages->get_parent()) toplevelWidgets.push_back(menuLanguages);
		if(!windowMain->get_parent()) toplevelWidgets.push_back(windowMain);
		if(!boxMain->get_parent()) toplevelWidgets.push_back(boxMain);
		if(!panedOutput->get_parent()) toplevelWidgets.push_back(panedOutput);
		if(!panedSources->get_parent()) toplevelWidgets.push_back(panedSources);
		if(!notebookSources->get_parent()) toplevelWidgets.push_back(notebookSources);
		if(!boxSources->get_parent()) toplevelWidgets.push_back(boxSources);
		if(!boxSourcesButtons->get_parent()) toplevelWidgets.push_back(boxSourcesButtons);
		if(!boxSourcesAdd->get_parent()) toplevelWidgets.push_back(boxSourcesAdd);
		if(!buttonSourcesAdd->get_parent()) toplevelWidgets.push_back(buttonSourcesAdd);
		if(!menubuttonSourcesAdd->get_parent()) toplevelWidgets.push_back(menubuttonSourcesAdd);
		if(!arrowSourcesAdd->get_parent()) toplevelWidgets.push_back(arrowSourcesAdd);
		if(!buttonSourceFolder->get_parent()) toplevelWidgets.push_back(buttonSourceFolder);
		if(!buttonSourcePaste->get_parent()) toplevelWidgets.push_back(buttonSourcePaste);
		if(!buttonSourceScreenshot->get_parent()) toplevelWidgets.push_back(buttonSourceScreenshot);
		if(!buttonSourcesRemove->get_parent()) toplevelWidgets.push_back(buttonSourcesRemove);
		if(!buttonSourcesDelete->get_parent()) toplevelWidgets.push_back(buttonSourcesDelete);
		if(!buttonSourcesClear->get_parent()) toplevelWidgets.push_back(buttonSourcesClear);
		if(!panedSource->get_parent()) toplevelWidgets.push_back(panedSource);
		if(!scrollwinSources->get_parent()) toplevelWidgets.push_back(scrollwinSources);
		if(!treeviewSources->get_parent()) toplevelWidgets.push_back(treeviewSources);
		if(!boxThumbnails->get_parent()) toplevelWidgets.push_back(boxThumbnails);
		if(!checkBoxThumbnails->get_parent()) toplevelWidgets.push_back(checkBoxThumbnails);
		if(!scrollwinThumbnails->get_parent()) toplevelWidgets.push_back(scrollwinThumbnails);
		if(!iconviewThumbnails->get_parent()) toplevelWidgets.push_back(iconviewThumbnails);
		if(!labelSources->get_parent()) toplevelWidgets.push_back(labelSources);
		if(!gridAcquire->get_parent()) toplevelWidgets.push_back(gridAcquire);
		if(!labelAcquireDevice->get_parent()) toplevelWidgets.push_back(labelAcquireDevice);
		if(!boxAcquireDevice->get_parent()) toplevelWidgets.push_back(boxAcquireDevice);
		if(!comboAcquireDevice->get_parent()) toplevelWidgets.push_back(comboAcquireDevice);
		if(!buttonAcquireRefresh->get_parent()) toplevelWidgets.push_back(buttonAcquireRefresh);
		if(!imageAcquireRefresh->get_parent()) toplevelWidgets.push_back(imageAcquireRefresh);
		if(!spinnerAcquire->get_parent()) toplevelWidgets.push_back(spinnerAcquire);
		if(!labelAcquireOutput->get_parent()) toplevelWidgets.push_back(labelAcquireOutput);
		if(!buttonAcquireOutput->get_parent()) toplevelWidgets.push_back(buttonAcquireOutput);
		if(!boxAcquireOutput->get_parent()) toplevelWidgets.push_back(boxAcquireOutput);
		if(!labelAcquirePath->get_parent()) toplevelWidgets.push_back(labelAcquirePath);
		if(!imageAcquireOutput->get_parent()) toplevelWidgets.push_back(imageAcquireOutput);
		if(!labelAcquireMode->get_parent()) toplevelWidgets.push_back(labelAcquireMode);
		if(!comboAcquireMode->get_parent()) toplevelWidgets.push_back(comboAcquireMode);
		if(!labelAcquireResolution->get_parent()) toplevelWidgets.push_back(labelAcquireResolution);
		if(!comboAcquireResolution->get_parent()) toplevelWidgets.push_back(comboAcquireResolution);
		if(!labelAcquireMessage->get_parent()) toplevelWidgets.push_back(labelAcquireMessage);
		if(!buttonboxAcquire->get_parent()) toplevelWidgets.push_back(buttonboxAcquire);
		if(!buttonAcquireScan->get_parent()) toplevelWidgets.push_back(buttonAcquireScan);
		if(!labelAcquireSource->get_parent()) toplevelWidgets.push_back(labelAcquireSource);
		if(!comboAcquireSource->get_parent()) toplevelWidgets.push_back(comboAcquireSource);
		if(!labelAcquire->get_parent()) toplevelWidgets.push_back(labelAcquire);
		if(!boxDisplay->get_parent()) toplevelWidgets.push_back(boxDisplay);
		if(!toolbarDisplay->get_parent()) toplevelWidgets.push_back(toolbarDisplay);
		if(!tbitemBrightness->get_parent()) toplevelWidgets.push_back(tbitemBrightness);
		if(!spinBrightness->get_parent()) toplevelWidgets.push_back(spinBrightness);
		if(!tbitemContrast->get_parent()) toplevelWidgets.push_back(tbitemContrast);
		if(!spinContrast->get_parent()) toplevelWidgets.push_back(spinContrast);
		if(!tbitemResolution->get_parent()) toplevelWidgets.push_back(tbitemResolution);
		if(!spinResolution->get_parent()) toplevelWidgets.push_back(spinResolution);
		if(!tbitemInvert->get_parent()) toplevelWidgets.push_back(tbitemInvert);
		if(!checkInvert->get_parent()) toplevelWidgets.push_back(checkInvert);
		if(!tbitemFiller->get_parent()) toplevelWidgets.push_back(tbitemFiller);
		if(!scrollwinDisplay->get_parent()) toplevelWidgets.push_back(scrollwinDisplay);
		if(!viewportDisplay->get_parent()) toplevelWidgets.push_back(viewportDisplay);
		if(!drawingareaDisplay->get_parent()) toplevelWidgets.push_back(drawingareaDisplay);
		if(!boxStatusbar->get_parent()) toplevelWidgets.push_back(boxStatusbar);
		if(!statusbar->get_parent()) toplevelWidgets.push_back(statusbar);
		if(!boxProgress->get_parent()) toplevelWidgets.push_back(boxProgress);
		if(!progressbarProgress->get_parent()) toplevelWidgets.push_back(progressbarProgress);
		if(!buttonProgressCancel->get_parent()) toplevelWidgets.push_back(buttonProgressCancel);
		if(!headerbar->get_parent()) toplevelWidgets.push_back(headerbar);
		if(!buttonSources->get_parent()) toplevelWidgets.push_back(buttonSources);
		if(!boxZoom->get_parent()) toplevelWidgets.push_back(boxZoom);
		if(!buttonZoomin->get_parent()) toplevelWidgets.push_back(buttonZoomin);
		if(!buttonZoomout->get_parent()) toplevelWidgets.push_back(buttonZoomout);
		if(!buttonZoomnorm->get_parent()) toplevelWidgets.push_back(buttonZoomnorm);
		if(!buttonZoomfit->get_parent()) toplevelWidgets.push_back(buttonZoomfit);
		if(!boxRotate->get_parent()) toplevelWidgets.push_back(boxRotate);
		if(!menubuttonRotateMode->get_parent()) toplevelWidgets.push_back(menubuttonRotateMode);
		if(!boxRotateMode->get_parent()) toplevelWidgets.push_back(boxRotateMode);
		if(!imageRotateMode->get_parent()) toplevelWidgets.push_back(imageRotateMode);
		if(!arrowRotateMode->get_parent()) toplevelWidgets.push_back(arrowRotateMode);
		if(!spinRotate->get_parent()) toplevelWidgets.push_back(spinRotate);
		if(!spinPage->get_parent()) toplevelWidgets.push_back(spinPage);
		if(!buttonControls->get_parent()) toplevelWidgets.push_back(buttonControls);
		if(!boxRecognize->get_parent()) toplevelWidgets.push_back(boxRecognize);
		if(!comboOcrmode->get_parent()) toplevelWidgets.push_back(comboOcrmode);
		if(!buttonAutolayout->get_parent()) toplevelWidgets.push_back(buttonAutolayout);
		if(!buttonRecognize->get_parent()) toplevelWidgets.push_back(buttonRecognize);
		if(!gridRecognize->get_parent()) toplevelWidgets.push_back(gridRecognize);
		if(!labelRecognizeMode->get_parent()) toplevelWidgets.push_back(labelRecognizeMode);
		if(!labelRecognizeLang->get_parent()) toplevelWidgets.push_back(labelRecognizeLang);
		if(!imageRecognizeIcon->get_parent()) toplevelWidgets.push_back(imageRecognizeIcon);
		if(!menubuttonLanguages->get_parent()) toplevelWidgets.push_back(menubuttonLanguages);
		if(!arrowLanguages->get_parent()) toplevelWidgets.push_back(arrowLanguages);
		if(!buttonOutputpane->get_parent()) toplevelWidgets.push_back(buttonOutputpane);
		if(!menubuttonOptions->get_parent()) toplevelWidgets.push_back(menubuttonOptions);
		if(!imageOptions->get_parent()) toplevelWidgets.push_back(imageOptions);
		if(!buttonBatchExport->get_parent()) toplevelWidgets.push_back(buttonBatchExport);
		if(!dialogAbout->get_parent()) toplevelWidgets.push_back(dialogAbout);
		if(!boxAbout->get_parent()) toplevelWidgets.push_back(boxAbout);
		if(!actionareaAbout->get_parent()) toplevelWidgets.push_back(actionareaAbout);
		if(!labelAboutTesseractver->get_parent()) toplevelWidgets.push_back(labelAboutTesseractver);
		if(!dialogBatch->get_parent()) toplevelWidgets.push_back(dialogBatch);
		if(!buttonOk->get_parent()) toplevelWidgets.push_back(buttonOk);
		if(!buttonCancel->get_parent()) toplevelWidgets.push_back(buttonCancel);
		if(!box->get_parent()) toplevelWidgets.push_back(box);
		if(!labelIntro->get_parent()) toplevelWidgets.push_back(labelIntro);
		if(!boxExisting->get_parent()) toplevelWidgets.push_back(boxExisting);
		if(!labelExisting->get_parent()) toplevelWidgets.push_back(labelExisting);
		if(!comboBoxExisting->get_parent()) toplevelWidgets.push_back(comboBoxExisting);
		if(!checkBoxPrependPage->get_parent()) toplevelWidgets.push_back(checkBoxPrependPage);
		if(!checkBoxAutolayout->get_parent()) toplevelWidgets.push_back(checkBoxAutolayout);
		if(!dialogPageRange->get_parent()) toplevelWidgets.push_back(dialogPageRange);
		if(!boxPageRange->get_parent()) toplevelWidgets.push_back(boxPageRange);
		if(!actionareaPageRange->get_parent()) toplevelWidgets.push_back(actionareaPageRange);
		if(!buttonPageRangeCancel->get_parent()) toplevelWidgets.push_back(buttonPageRangeCancel);
		if(!buttonPageRangeOk->get_parent()) toplevelWidgets.push_back(buttonPageRangeOk);
		if(!gridPageRange->get_parent()) toplevelWidgets.push_back(gridPageRange);
		if(!entryPageRange->get_parent()) toplevelWidgets.push_back(entryPageRange);
		if(!labelPageRange->get_parent()) toplevelWidgets.push_back(labelPageRange);
		if(!labelPageRangeExample->get_parent()) toplevelWidgets.push_back(labelPageRangeExample);
		if(!labelPageRangeRegions->get_parent()) toplevelWidgets.push_back(labelPageRangeRegions);
		if(!comboPageRangeRegions->get_parent()) toplevelWidgets.push_back(comboPageRangeRegions);
		if(!labelPageRangeSpacer->get_parent()) toplevelWidgets.push_back(labelPageRangeSpacer);
		if(!boxPageRangePrepend->get_parent()) toplevelWidgets.push_back(boxPageRangePrepend);
		if(!labelPageRangePrepend->get_parent()) toplevelWidgets.push_back(labelPageRangePrepend);
		if(!checkPageRangePrependFile->get_parent()) toplevelWidgets.push_back(checkPageRangePrependFile);
		if(!checkPageRangePrependPage->get_parent()) toplevelWidgets.push_back(checkPageRangePrependPage);
		if(!dialogPdfpassword->get_parent()) toplevelWidgets.push_back(dialogPdfpassword);
		if(!boxPdfpassword->get_parent()) toplevelWidgets.push_back(boxPdfpassword);
		if(!buttonboxPdfpassword->get_parent()) toplevelWidgets.push_back(buttonboxPdfpassword);
		if(!buttonPdfpasswordCancel->get_parent()) toplevelWidgets.push_back(buttonPdfpasswordCancel);
		if(!buttonPdfpasswordOk->get_parent()) toplevelWidgets.push_back(buttonPdfpasswordOk);
		if(!labelPdfpassword->get_parent()) toplevelWidgets.push_back(labelPdfpassword);
		if(!entryPdfpassword->get_parent()) toplevelWidgets.push_back(entryPdfpassword);
		if(!menuRecognizePages->get_parent()) toplevelWidgets.push_back(menuRecognizePages);
		if(!menuitemRecognizeCurrent->get_parent()) toplevelWidgets.push_back(menuitemRecognizeCurrent);
		if(!menuitemRecognizeMultiple->get_parent()) toplevelWidgets.push_back(menuitemRecognizeMultiple);
		if(!menuitemRecognizeBatch->get_parent()) toplevelWidgets.push_back(menuitemRecognizeBatch);
		std::for_each(toplevelWidgets.begin(), toplevelWidgets.end(), [](Gtk::Widget* w) { delete w; });
	}
};
} // Ui
#endif // UI_MAINWINDOW_HH
