#include "GuiApplication.h"
#include "qt_helpers.h"
-#include "Font.h"
#include "Buffer.h"
#include "BufferParams.h"
#include "BufferView.h"
#include "Paragraph.h"
#include "support/gettext.h"
-#include "support/lstrings.h"
#include <QAbstractItemModel>
#include <QPushButton>
connect(autoapplyCB, SIGNAL(stateChanged(int)), this,
SLOT(slotAutoApply()));
- connect(ulineCO, SIGNAL(currentIndexChanged(int)), this, SLOT(change_adaptor()));
- connect(strikeCO, SIGNAL(currentIndexChanged(int)), this, SLOT(change_adaptor()));
- connect(sizeCO, SIGNAL(currentIndexChanged(int)), this, SLOT(change_adaptor()));
- connect(familyCO, SIGNAL(currentIndexChanged(int)), this, SLOT(change_adaptor()));
- connect(seriesCO, SIGNAL(currentIndexChanged(int)), this, SLOT(change_adaptor()));
- connect(shapeCO, SIGNAL(currentIndexChanged(int)), this, SLOT(change_adaptor()));
- connect(colorCO, SIGNAL(currentIndexChanged(int)), this, SLOT(change_adaptor()));
- connect(langCO, SIGNAL(currentIndexChanged(int)), this, SLOT(change_adaptor()));
+ connect(ulineCO, SIGNAL(activated(int)), this, SLOT(change_adaptor()));
+ connect(strikeCO, SIGNAL(activated(int)), this, SLOT(change_adaptor()));
+ connect(sizeCO, SIGNAL(activated(int)), this, SLOT(change_adaptor()));
+ connect(familyCO, SIGNAL(activated(int)), this, SLOT(change_adaptor()));
+ connect(seriesCO, SIGNAL(activated(int)), this, SLOT(change_adaptor()));
+ connect(shapeCO, SIGNAL(activated(int)), this, SLOT(change_adaptor()));
+ connect(colorCO, SIGNAL(activated(int)), this, SLOT(change_adaptor()));
+ connect(langCO, SIGNAL(activated(int)), this, SLOT(change_adaptor()));
family = familyData();
series = seriesData();
bar = barData();
strike = strikeData();
color = colorData();
- qSort(color.begin(), color.end(), ColorSorter);
+ sort(color.begin(), color.end(), ColorSorter);
language = languageData();
language.prepend(LanguagePair(qt_("Default"), "reset"));
// to be really good here, we should set the combos to the values of
// the current text, and make it appear as "no change" if the values
- // stay the same between applys. Might be difficult though wrt to a
+ // stay the same between applies. Might be difficult though wrt to a
// moved cursor - jbl
slotApply();
}
}
-Dialog * createGuiCharacter(GuiView & lv) { return new GuiCharacter(lv); }
-
-
} // namespace frontend
} // namespace lyx