<commit_before>import Qt 4.6
import Bauhaus 1.0

GroupBox {
    maximumHeight: 200;

    finished: finishedNotify;
    caption: "Text";

    layout: QVBoxLayout {
        id: textSpecifics;
        topMargin: 4;
        bottomMargin: 2;
        leftMargin: 4;
        rightMargin: 4;
        QWidget {
            layout: QHBoxLayout {
                topMargin: 8;
                bottomMargin: 2;
                leftMargin: 10;
                rightMargin: 10;
                QLabel {
                    text: "Text:"
                    font.bold: true;
                }
                QLineEdit {
                    text: backendValues.text.value;
                    onTextChanged: {
                        backendValues.text.value = text;
                    }
                }
            }
        }
        QWidget {
            layout: QHBoxLayout {
                topMargin: 6;
                bottomMargin: 2;
                leftMargin: 10;
                rightMargin: 10;
                QLabel {
                    text: "wrap:"
                    font.bold: true;
                }
                QCheckBox {

                    text: "isWrapping";
                    checkable: true;
                    checked: backendValues.wrap.value;
                    onToggled: {
                        backendValues.wrap.value = checked;
                    }
                }
            }
        }

        FontWidget {
            text: "Font:";
            dataFont: backendValues.font.value;
            onDataFontChanged: {
                backendValues.font.value = dataFont;
            }
        }

        QWidget {
            layout: QHBoxLayout {
                topMargin: 4;
                bottomMargin: 2;
                leftMargin: 10;
                rightMargin: 6;

            }
        }

        QWidget {
            layout: QHBoxLayout {
                topMargin: 4;
                bottomMargin: 2;
                leftMargin: 10;
                rightMargin: 6;
                QLabel {
                    text: "Alignment:"
                    font.bold: true;
                }
                QLabel {
                    styleSheet: "QLabel {font: normal }";
                    text: backendValues.horizontalAlignment.value;
                }

                QComboBox {
                    items : { ["AlignLeft", "AlignRight", "AlignHCenter"] }
                    currentText: backendValues.hAlign.value;
                    onItemsChanged: {
                        currentText =  backendValues.horizontalAlignment.value;
                        print(currentText);
                    }

                    onCurrentTextChanged: {
                        if (count == 3)
                            print("set");
                        print(currentText);
                        backendValues.horizontalAlignment.value = currentText;
                        print(currentText);
                        print("set");
                    }

                }
            }
        }
        HorizontalLine {
        }
        QWidget {
            layout: QHBoxLayout {
                topMargin: 2;
                bottomMargin: 2;
                leftMargin: 10;
                rightMargin: 10;

                ColorWidget {
                    text: "Color:";
                    color: backendValues.color.value;
                    onColorChanged: {
                        backendValues.color.value = strColor;
                    }
                }
                ColorWidget {
                    text: "Style color:";
                    color: backendValues.styleColor.value;
                    onColorChanged: {
                        backendValues.styleColor.value = strColor;
                    }
                }
            }
        }
    }
}<commit_msg>QmlDesigner.PropertyEditor: cleaned up old code in FlipableSpecifics<commit_after>import Qt 4.6
import Bauhaus 1.0

GroupBox {
    maximumHeight: 200;

    finished: finishedNotify;

}
{'fraction_non_alphanumeric': 0.07190676915447558, 'fraction_numerical': 0.011653855690552939, 'mean_word_length': 0.8581298940580377, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7059960', 'n_tokens_mistral': 1028, 'n_tokens_neox': 914, 'n_words': 182}