class UiWidget : public QWidget, public UI
{
public:
- UiWidget(QWidget * parent = 0) : QWidget(parent) { UI::setupUi(this); }
+ UiWidget(QWidget * parent) : QWidget(parent) { UI::setupUi(this); }
};
{
Q_OBJECT
public:
- PreambleModule();
+ PreambleModule(QWidget * parent);
void update(BufferParams const & params, BufferId id);
void apply(BufferParams & params);
{
Q_OBJECT
public:
- LocalLayout();
+ LocalLayout(QWidget * parent);
void update(BufferParams const & params, BufferId id);
void apply(BufferParams & params);
bool isValid() const { return validated_; }
{
Q_OBJECT
public:
+ FontModule(QWidget * parent) : UiWidget<Ui::FontUi>(parent),
+ font_sf_scale(100), font_tt_scale(100) {}
/// The roman font currently not selected by osFontsCB->isChecked()
QString font_roman;
/// The sans font currently not selected by osFontsCB->isChecked()