Parent: [698fad] (diff)

Child: [cf0757] (diff)

Download this file

preview.ui    224 lines (223 with data), 9.1 kB

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>Preview</class>
<widget class="QWidget">
    <property name="name">
        <cstring>Preview</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>751</width>
            <height>727</height>
        </rect>
    </property>
    <property name="sizePolicy">
        <sizepolicy>
            <hsizetype>5</hsizetype>
            <vsizetype>5</vsizetype>
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
        </sizepolicy>
    </property>
    <property name="minimumSize">
        <size>
            <width>130</width>
            <height>30</height>
        </size>
    </property>
    <property name="caption">
        <string>Preview</string>
    </property>
    <vbox>
        <property name="name">
            <cstring>unnamed</cstring>
        </property>
        <widget class="QLayoutWidget">
            <property name="name">
                <cstring>layout4</cstring>
            </property>
            <vbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="QTabWidget">
                    <property name="name">
                        <cstring>pvTab</cstring>
                    </property>
                    <widget class="QWidget">
                        <property name="name">
                            <cstring>unnamed</cstring>
                        </property>
                        <attribute name="title">
                            <string>Preview 1</string>
                        </attribute>
                        <vbox>
                            <property name="name">
                                <cstring>unnamed</cstring>
                            </property>
                            <widget class="QTextEdit">
                                <property name="name">
                                    <cstring>pvEdit</cstring>
                                </property>
                                <property name="focusPolicy">
                                    <enum>WheelFocus</enum>
                                </property>
                                <property name="readOnly">
                                    <bool>true</bool>
                                </property>
                                <property name="undoRedoEnabled">
                                    <bool>false</bool>
                                </property>
                            </widget>
                        </vbox>
                    </widget>
                </widget>
                <widget class="QLayoutWidget">
                    <property name="name">
                        <cstring>layout3</cstring>
                    </property>
                    <hbox>
                        <property name="name">
                            <cstring>unnamed</cstring>
                        </property>
                        <widget class="QLabel">
                            <property name="name">
                                <cstring>searchLabel</cstring>
                            </property>
                            <property name="text">
                                <string>&amp;Search for:</string>
                            </property>
                            <property name="buddy" stdset="0">
                                <cstring>searchTextLine</cstring>
                            </property>
                        </widget>
                        <widget class="QLineEdit">
                            <property name="name">
                                <cstring>searchTextLine</cstring>
                            </property>
                            <property name="frameShape">
                                <enum>LineEditPanel</enum>
                            </property>
                            <property name="frameShadow">
                                <enum>Sunken</enum>
                            </property>
                        </widget>
                        <widget class="QPushButton">
                            <property name="name">
                                <cstring>nextButton</cstring>
                            </property>
                            <property name="enabled">
                                <bool>false</bool>
                            </property>
                            <property name="text">
                                <string>&amp;Next</string>
                            </property>
                            <property name="accel">
                                <string>Alt+N</string>
                            </property>
                        </widget>
                        <widget class="QPushButton">
                            <property name="name">
                                <cstring>prevButton</cstring>
                            </property>
                            <property name="enabled">
                                <bool>false</bool>
                            </property>
                            <property name="text">
                                <string>&amp;Previous</string>
                            </property>
                            <property name="accel">
                                <string>Alt+P</string>
                            </property>
                        </widget>
                        <widget class="QPushButton">
                            <property name="name">
                                <cstring>clearPB</cstring>
                            </property>
                            <property name="enabled">
                                <bool>false</bool>
                            </property>
                            <property name="text">
                                <string>Clear</string>
                            </property>
                        </widget>
                        <widget class="QCheckBox">
                            <property name="name">
                                <cstring>matchCheck</cstring>
                            </property>
                            <property name="text">
                                <string>Match &amp;Case</string>
                            </property>
                            <property name="accel">
                                <string>Alt+C</string>
                            </property>
                        </widget>
                    </hbox>
                </widget>
            </vbox>
        </widget>
    </vbox>
</widget>
<connections>
    <connection>
        <sender>searchTextLine</sender>
        <signal>textChanged(const QString&amp;)</signal>
        <receiver>Preview</receiver>
        <slot>searchTextLine_textChanged(const QString&amp;)</slot>
    </connection>
    <connection>
        <sender>nextButton</sender>
        <signal>clicked()</signal>
        <receiver>Preview</receiver>
        <slot>nextPressed()</slot>
    </connection>
    <connection>
        <sender>prevButton</sender>
        <signal>clicked()</signal>
        <receiver>Preview</receiver>
        <slot>prevPressed()</slot>
    </connection>
    <connection>
        <sender>clearPB</sender>
        <signal>clicked()</signal>
        <receiver>searchTextLine</receiver>
        <slot>clear()</slot>
    </connection>
</connections>
<includes>
    <include location="local" impldecl="in implementation">qapplication.h</include>
    <include location="local" impldecl="in declaration">rcldb.h</include>
    <include location="local" impldecl="in implementation">preview.ui.h</include>
</includes>
<variables>
    <variable>int matchIndex;</variable>
    <variable>int matchPara;</variable>
    <variable>bool dynSearchActive;</variable>
    <variable>bool canBeep;</variable>
    <variable>void *tabData;</variable>
</variables>
<signals>
    <signal>previewClosed(QWidget *)</signal>
</signals>
<slots>
    <slot>searchTextLine_textChanged( const QString &amp; text )</slot>
    <slot>doSearch( bool next, bool reverse )</slot>
    <slot>nextPressed()</slot>
    <slot>prevPressed()</slot>
    <slot>currentChanged( QWidget * tw )</slot>
    <slot>closeCurrentTab()</slot>
    <slot>setCurTabProps( const string &amp; fn, const Rcl::Doc &amp; doc )</slot>
</slots>
<functions>
    <function access="private" specifier="non virtual">init()</function>
    <function>closeEvent( QCloseEvent * e )</function>
    <function returnType="bool">eventFilter( QObject * target, QEvent * event )</function>
    <function returnType="bool">makeDocCurrent( const string &amp; fn, const Rcl::Doc &amp; doc )</function>
    <function returnType="QTextEdit *">getCurrentEditor()</function>
    <function returnType="QTextEdit *">addEditorTab()</function>
    <function access="private">destroy()</function>
    <function access="public" returnType="bool">loadFileInCurrentTab( string fn, size_t sz, const Rcl::Doc &amp; idoc )</function>
</functions>
<layoutdefaults spacing="6" margin="11"/>
</UI>