#include "ui_PDFSupportUi.h"
#include "ui_ModulesUi.h"
#include "ui_OutputUi.h"
+#include "ui_ListingsSettingsUi.h"
#include <list>
#include <map>
void useDefaultsClicked();
void setLSpacing(int);
void setMargins(bool);
- void setCustomPapersize(int);
+ void papersizeChanged(int);
void setColSep();
void setCustomMargins(bool);
void romanChanged(int);
void sansChanged(int);
void ttChanged(int);
+ void setIndent(int);
+ void enableIndent(bool);
void setSkip(int);
void enableSkip(bool);
void portraitChanged();
void changeBackgroundColor();
void deleteBackgroundColor();
void xetexChanged(bool);
+ void branchesRename(docstring const &, docstring const &);
private:
/// validate listings parameters and return an error message, if any
QString validateListingsParameters();
UiWidget<Ui::PDFSupportUi> *pdfSupportModule;
UiWidget<Ui::ModulesUi> *modulesModule;
UiWidget<Ui::OutputUi> *outputModule;
+ UiWidget<Ui::ListingsSettingsUi> *listingsModule;
PreambleModule * preambleModule;
GuiBranches * branchesModule;
bool providesSC(std::string const & font) const;
/// does this font provide size adjustment?
bool providesScale(std::string const & font) const;
+ ///
+ void executeBranchRenaming() const;
+ ///
+ void setCustomPapersize(bool custom);
private:
///
void loadModuleInfo();
BufferParams bp_;
/// List of names of available modules
std::list<modInfoStruct> moduleNames_;
+ ///
+ std::map<docstring, docstring> changedBranches_;
};