Android: extract styles for ToolBar & ToolButton

Task-number: QTBUG-39215
Change-Id: I1d424436e50f96385b5581444b260c3e27e7291e
Reviewed-by: BogDan Vatra <bogdan@kde.org>
This commit is contained in:
J-P Nurmi 2014-05-28 23:56:30 +02:00 committed by The Qt Project
parent 523440a15f
commit 46630f866f

View File

@ -1490,6 +1490,10 @@ public class ExtractStyle {
jsonWriter.name("scrollViewStyle").value(extractTextAppearanceInformations("scrollViewStyle", "QAbstractScrollArea", null, -1));
extractItemsStyle(jsonWriter);
extractCompoundButton(jsonWriter, "buttonStyleToggle", null);
if (Build.VERSION.SDK_INT > 10) {
jsonWriter.name("actionBarStyle").value(extractTextAppearanceInformations("actionBarStyle", "QToolBar", null, -1));
jsonWriter.name("actionButtonStyle").value(extractTextAppearanceInformations("actionButtonStyle", "QToolButton", null, -1));
}
} catch (Exception e) {
e.printStackTrace();
}