/* * Xournal++ * * Latex settings panel * * @author Xournal++ Team * https://github.com/xournalpp/xournalpp * * @license GNU GPLv2 or later */ #pragma once #include #include "control/settings/LatexSettings.h" #include "gui/GladeGui.h" class LatexSettingsPanel: public GladeGui { public: LatexSettingsPanel(GladeSearchpath*); LatexSettingsPanel(const LatexSettingsPanel&) = delete; LatexSettingsPanel& operator=(const LatexSettingsPanel&) = delete; LatexSettingsPanel(const LatexSettingsPanel&&) = delete; LatexSettingsPanel& operator=(const LatexSettingsPanel&&) = delete; virtual ~LatexSettingsPanel(); void show(GtkWindow* parent) override; void load(const LatexSettings& settings); void save(LatexSettings& settings); private: void checkDeps(); GtkToggleButton* cbAutoDepCheck; GtkFileChooser* globalTemplateChooser; };