]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt/GuiCharacter.cpp
Show suggestions containing the input in the command buffer
[features.git] / src / frontends / qt / GuiCharacter.cpp
index 06a007ca31f0ba4d316f641cf53dc597459632bf..dadae88c33fb045ead4ee162a9e9da5fbae7242d 100644 (file)
@@ -18,7 +18,6 @@
 #include "GuiApplication.h"
 #include "qt_helpers.h"
 
-#include "Font.h"
 #include "Buffer.h"
 #include "BufferParams.h"
 #include "BufferView.h"
@@ -31,7 +30,6 @@
 #include "Paragraph.h"
 
 #include "support/gettext.h"
-#include "support/lstrings.h"
 
 #include <QAbstractItemModel>
 #include <QPushButton>
@@ -221,14 +219,14 @@ GuiCharacter::GuiCharacter(GuiView & lv)
        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();
@@ -698,9 +696,6 @@ void GuiCharacter::restoreSession()
 }
 
 
-Dialog * createGuiCharacter(GuiView & lv) { return new GuiCharacter(lv); }
-
-
 } // namespace frontend
 } // namespace lyx