Home | Ruby | Ruby Graphical User Interface |     Share This Page

Listing: regexp_tester.ui


Click here to download original file.

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>RegExpTesterUI</class>
<widget class="QMainWindow">
    <property name="name">
        <cstring>RegExpTesterUI</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>595</width>
            <height>469</height>
        </rect>
    </property>
    <property name="caption">
        <string>RegExpTester</string>
    </property>
    <grid>
        <property name="name">
            <cstring>unnamed</cstring>
        </property>
        <widget class="QGroupBox" row="0" column="0">
            <property name="name">
                <cstring>groupBox1</cstring>
            </property>
            <property name="title">
                <string>Input</string>
            </property>
            <grid>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="QTextEdit" row="0" column="0">
                    <property name="name">
                        <cstring>textInput</cstring>
                    </property>
                    <property name="font">
                        <font>
                            <family>Monospace</family>
                        </font>
                    </property>
                    <property name="toolTip" stdset="0">
                        <string>Load or paste sample text here.</string>
                    </property>
                </widget>
            </grid>
        </widget>
        <widget class="QLayoutWidget" row="1" column="0">
            <property name="name">
                <cstring>layout6</cstring>
            </property>
            <hbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="QLabel">
                    <property name="name">
                        <cstring>textLabel1</cstring>
                    </property>
                    <property name="text">
                        <string>Find:</string>
                    </property>
                </widget>
                <widget class="QLineEdit">
                    <property name="name">
                        <cstring>regexSearch</cstring>
                    </property>
                    <property name="toolTip" stdset="0">
                        <string>Type search argument here.</string>
                    </property>
                </widget>
                <widget class="QLabel">
                    <property name="name">
                        <cstring>textLabel2</cstring>
                    </property>
                    <property name="text">
                        <string>Replace With:</string>
                    </property>
                </widget>
                <widget class="QLineEdit">
                    <property name="name">
                        <cstring>regexReplace</cstring>
                    </property>
                    <property name="toolTip" stdset="0">
                        <string>Type replacement argument here.</string>
                    </property>
                </widget>
            </hbox>
        </widget>
        <widget class="QGroupBox" row="3" column="0">
            <property name="name">
                <cstring>groupBox2</cstring>
            </property>
            <property name="title">
                <string>Output</string>
            </property>
            <grid>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="QTextEdit" row="0" column="0">
                    <property name="name">
                        <cstring>textOutput</cstring>
                    </property>
                    <property name="font">
                        <font>
                            <family>Monospace</family>
                        </font>
                    </property>
                    <property name="wordWrap">
                        <enum>WidgetWidth</enum>
                    </property>
                    <property name="readOnly">
                        <bool>true</bool>
                    </property>
                    <property name="toolTip" stdset="0">
                        <string>The processed text will appear here.</string>
                    </property>
                </widget>
            </grid>
        </widget>
        <widget class="QLayoutWidget" row="2" column="0">
            <property name="name">
                <cstring>layout4</cstring>
            </property>
            <hbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="QCheckBox">
                    <property name="name">
                        <cstring>globalCheckBox</cstring>
                    </property>
                    <property name="text">
                        <string>&amp;Global</string>
                    </property>
                    <property name="accel">
                        <string>Alt+G</string>
                    </property>
                    <property name="checked">
                        <bool>true</bool>
                    </property>
                    <property name="toolTip" stdset="0">
                        <string>Select if search is to be global.</string>
                    </property>
                </widget>
                <widget class="QCheckBox">
                    <property name="name">
                        <cstring>caseCheckBox</cstring>
                    </property>
                    <property name="text">
                        <string>Case Sensitive</string>
                    </property>
                    <property name="accel">
                        <string></string>
                    </property>
                    <property name="checked">
                        <bool>false</bool>
                    </property>
                    <property name="toolTip" stdset="0">
                        <string>Select case sensitive.</string>
                    </property>
                </widget>
                <widget class="QCheckBox">
                    <property name="name">
                        <cstring>extendedCheckBox</cstring>
                    </property>
                    <property name="text">
                        <string>Whitespace</string>
                    </property>
                    <property name="accel">
                        <string></string>
                    </property>
                    <property name="checked">
                        <bool>false</bool>
                    </property>
                    <property name="toolTip" stdset="0">
                        <string>Select to ignore whitespace in regexp.</string>
                    </property>
                </widget>
                <widget class="QCheckBox">
                    <property name="name">
                        <cstring>multilineCheckBox</cstring>
                    </property>
                    <property name="text">
                        <string>Multiline</string>
                    </property>
                    <property name="accel">
                        <string></string>
                    </property>
                    <property name="checked">
                        <bool>false</bool>
                    </property>
                    <property name="toolTip" stdset="0">
                        <string>Select to treat newlines as normal character.</string>
                    </property>
                </widget>
                <widget class="QPushButton">
                    <property name="name">
                        <cstring>regexExecute</cstring>
                    </property>
                    <property name="text">
                        <string>E&amp;xecute</string>
                    </property>
                    <property name="accel">
                        <string>Alt+X</string>
                    </property>
                    <property name="toolTip" stdset="0">
                        <string>Click to carry out search and replacement.</string>
                    </property>
                </widget>
            </hbox>
        </widget>
    </grid>
</widget>
<menubar>
    <property name="name">
        <cstring>qt_dead_widget_MenuBarEditor</cstring>
    </property>
    <item text="File" name="File">
        <action name="fileReadAction"/>
        <action name="fileAboutAction"/>
        <action name="exitAction"/>
    </item>
    <item text="" name="unnamed">
    </item>
</menubar>
<toolbars>
</toolbars>
<actions>
    <action>
        <property name="name">
            <cstring>exitAction</cstring>
        </property>
        <property name="text">
            <string>Exit</string>
        </property>
        <property name="menuText">
            <string>Exit</string>
        </property>
    </action>
    <action>
        <property name="name">
            <cstring>fileReadAction</cstring>
        </property>
        <property name="text">
            <string>Read</string>
        </property>
        <property name="menuText">
            <string>Read</string>
        </property>
    </action>
    <action>
        <property name="name">
            <cstring>fileAboutAction</cstring>
        </property>
        <property name="text">
            <string>About</string>
        </property>
        <property name="menuText">
            <string>About</string>
        </property>
    </action>
</actions>
<connections>
    <connection>
        <sender>regexExecute</sender>
        <signal>pressed()</signal>
        <receiver>RegExpTesterUI</receiver>
        <slot>regexExecute()</slot>
    </connection>
    <connection>
        <sender>exitAction</sender>
        <signal>activated()</signal>
        <receiver>RegExpTesterUI</receiver>
        <slot>exitAction_activated()</slot>
    </connection>
    <connection>
        <sender>fileReadAction</sender>
        <signal>activated()</signal>
        <receiver>RegExpTesterUI</receiver>
        <slot>fileReadAction_activated()</slot>
    </connection>
    <connection>
        <sender>fileAboutAction</sender>
        <signal>activated()</signal>
        <receiver>RegExpTesterUI</receiver>
        <slot>fileAbout_activated()</slot>
    </connection>
    <connection>
        <sender>regexReplace</sender>
        <signal>returnPressed()</signal>
        <receiver>RegExpTesterUI</receiver>
        <slot>regexReplace_returnPressed()</slot>
    </connection>
    <connection>
        <sender>regexSearch</sender>
        <signal>returnPressed()</signal>
        <receiver>RegExpTesterUI</receiver>
        <slot>regexSearch_returnPressed()</slot>
    </connection>
</connections>
<slots>
    <slot>regexExecute()</slot>
    <slot>exitAction_activated()</slot>
    <slot>fileReadAction_activated()</slot>
    <slot>fileAbout_activated()</slot>
    <slot>regexReplace_returnPressed()</slot>
    <slot>regexSearch_returnPressed()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
    

Home | Ruby | Ruby Graphical User Interface |     Share This Page