<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>MainForm</class>
<widget class="TQMainWindow">
    <property name="name">
        <cstring>MainForm</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>600</width>
            <height>480</height>
        </rect>
    </property>
    <property name="caption">
        <string>Color Tool</string>
    </property>
    <hbox>
        <property name="name">
            <cstring>unnamed</cstring>
        </property>
        <widget class="TQWidgetStack">
            <property name="name">
                <cstring>colorWidgetStack</cstring>
            </property>
            <property name="frameShape">
                <enum>NoFrame</enum>
            </property>
            <property name="frameShadow">
                <enum>Plain</enum>
            </property>
            <widget class="TQWidget">
                <property name="name">
                    <cstring>tablePage</cstring>
                </property>
                <attribute name="id">
                    <number>0</number>
                </attribute>
                <hbox>
                    <property name="name">
                        <cstring>unnamed</cstring>
                    </property>
                    <widget class="TQTable">
                        <column>
                            <property name="text">
                                <string>Name</string>
                            </property>
                        </column>
                        <column>
                            <property name="text">
                                <string>Hex</string>
                            </property>
                        </column>
                        <column>
                            <property name="text">
                                <string>Web</string>
                            </property>
                        </column>
                        <property name="name">
                            <cstring>colorTable</cstring>
                        </property>
                        <property name="numRows">
                            <number>0</number>
                        </property>
                        <property name="numCols">
                            <number>3</number>
                        </property>
                        <property name="readOnly">
                            <bool>true</bool>
                        </property>
                    </widget>
                </hbox>
            </widget>
            <widget class="TQWidget">
                <property name="name">
                    <cstring>iconsPage</cstring>
                </property>
                <attribute name="id">
                    <number>1</number>
                </attribute>
                <vbox>
                    <property name="name">
                        <cstring>unnamed</cstring>
                    </property>
                    <widget class="TQIconView">
                        <property name="name">
                            <cstring>colorIconView</cstring>
                        </property>
                        <property name="gridX">
                            <number>100</number>
                        </property>
                        <property name="resizeMode">
                            <enum>Adjust</enum>
                        </property>
                    </widget>
                </vbox>
            </widget>
        </widget>
    </hbox>
</widget>
<menubar>
    <property name="name">
        <cstring>menubar</cstring>
    </property>
    <item text="&amp;File" name="fileMenu">
        <action name="fileNewAction"/>
        <action name="fileOpenAction"/>
        <action name="fileSaveAction"/>
        <action name="fileSaveAsAction"/>
        <separator/>
        <action name="fileExitAction"/>
    </item>
    <item text="&amp;Edit" name="editMenu">
        <action name="editAddAction"/>
        <action name="editCutAction"/>
        <action name="editCopyAction"/>
        <separator/>
        <action name="editFindAction"/>
        <separator/>
        <action name="optionsAction"/>
    </item>
    <item text="&amp;View" name="viewMenu">
        <action name="viewTableAction"/>
        <action name="viewIconsAction"/>
    </item>
    <item text="&amp;Help" name="helpMenu">
        <action name="helpContentsAction"/>
        <action name="helpIndexAction"/>
        <separator/>
        <action name="helpAboutAction"/>
    </item>
</menubar>
<toolbars>
    <toolbar dock="2">
        <property name="name">
            <cstring>toolBar</cstring>
        </property>
        <property name="label">
            <string>Tools</string>
        </property>
        <action name="fileNewAction"/>
        <action name="fileOpenAction"/>
        <action name="fileSaveAction"/>
        <separator/>
        <action name="editAddAction"/>
        <action name="editCutAction"/>
        <action name="editCopyAction"/>
        <action name="editFindAction"/>
        <separator/>
        <action name="optionsAction"/>
        <separator/>
        <action name="viewTableAction"/>
        <action name="viewIconsAction"/>
    </toolbar>
</toolbars>
<actions>
    <action>
        <property name="name">
            <cstring>fileNewAction</cstring>
        </property>
        <property name="iconSet">
            <iconset>filenew.png</iconset>
        </property>
        <property name="text">
            <string>New</string>
        </property>
        <property name="menuText">
            <string>&amp;New</string>
        </property>
        <property name="accel">
            <string>Ctrl+N</string>
        </property>
    </action>
    <action>
        <property name="name">
            <cstring>fileOpenAction</cstring>
        </property>
        <property name="iconSet">
            <iconset>fileopen.png</iconset>
        </property>
        <property name="text">
            <string>Open</string>
        </property>
        <property name="menuText">
            <string>&amp;Open...</string>
        </property>
        <property name="accel">
            <string>Ctrl+O</string>
        </property>
    </action>
    <action>
        <property name="name">
            <cstring>fileSaveAction</cstring>
        </property>
        <property name="iconSet">
            <iconset>filesave.png</iconset>
        </property>
        <property name="text">
            <string>Save</string>
        </property>
        <property name="menuText">
            <string>&amp;Save</string>
        </property>
        <property name="accel">
            <string>Ctrl+S</string>
        </property>
    </action>
    <action>
        <property name="name">
            <cstring>fileSaveAsAction</cstring>
        </property>
        <property name="text">
            <string>Save As</string>
        </property>
        <property name="menuText">
            <string>Save &amp;As...</string>
        </property>
    </action>
    <action>
        <property name="name">
            <cstring>fileExitAction</cstring>
        </property>
        <property name="text">
            <string>Exit</string>
        </property>
        <property name="menuText">
            <string>E&amp;xit</string>
        </property>
    </action>
    <action>
        <property name="name">
            <cstring>editCutAction</cstring>
        </property>
        <property name="iconSet">
            <iconset>editcut.png</iconset>
        </property>
        <property name="text">
            <string>Delete</string>
        </property>
        <property name="menuText">
            <string>&amp;Delete</string>
        </property>
        <property name="accel">
            <string>Ctrl+X</string>
        </property>
    </action>
    <action>
        <property name="name">
            <cstring>editCopyAction</cstring>
        </property>
        <property name="iconSet">
            <iconset>editcopy.png</iconset>
        </property>
        <property name="text">
            <string>Copy</string>
        </property>
        <property name="menuText">
            <string>&amp;Copy</string>
        </property>
        <property name="accel">
            <string>Ctrl+C</string>
        </property>
    </action>
    <action>
        <property name="name">
            <cstring>editFindAction</cstring>
        </property>
        <property name="iconSet">
            <iconset>searchfind.png</iconset>
        </property>
        <property name="text">
            <string>Find</string>
        </property>
        <property name="menuText">
            <string>&amp;Find...</string>
        </property>
        <property name="accel">
            <string>Ctrl+F</string>
        </property>
    </action>
    <action>
        <property name="name">
            <cstring>helpContentsAction</cstring>
        </property>
        <property name="text">
            <string>Contents</string>
        </property>
        <property name="menuText">
            <string>&amp;Contents...</string>
        </property>
    </action>
    <action>
        <property name="name">
            <cstring>helpIndexAction</cstring>
        </property>
        <property name="text">
            <string>Index</string>
        </property>
        <property name="menuText">
            <string>&amp;Index...</string>
        </property>
    </action>
    <action>
        <property name="name">
            <cstring>helpAboutAction</cstring>
        </property>
        <property name="text">
            <string>About</string>
        </property>
        <property name="menuText">
            <string>&amp;About</string>
        </property>
    </action>
    <action>
        <property name="name">
            <cstring>optionsAction</cstring>
        </property>
        <property name="iconSet">
            <iconset>tabwidget.png</iconset>
        </property>
        <property name="text">
            <string>Options</string>
        </property>
        <property name="menuText">
            <string>&amp;Options...</string>
        </property>
    </action>
    <actiongroup>
        <property name="name">
            <cstring>viewActionGroup</cstring>
        </property>
        <property name="text">
            <string>View</string>
        </property>
        <property name="menuText">
            <string>View</string>
        </property>
        <property name="usesDropDown">
            <bool>false</bool>
        </property>
        <action>
            <property name="name">
                <cstring>viewTableAction</cstring>
            </property>
            <property name="toggleAction">
                <bool>true</bool>
            </property>
            <property name="on">
                <bool>true</bool>
            </property>
            <property name="iconSet">
                <iconset>table.png</iconset>
            </property>
            <property name="text">
                <string>View Table</string>
            </property>
            <property name="menuText">
                <string>View &amp;Table</string>
            </property>
            <property name="toolTip">
                <string>View Table (Ctrl+T)</string>
            </property>
            <property name="accel">
                <string>Ctrl+T</string>
            </property>
        </action>
        <action>
            <property name="name">
                <cstring>viewIconsAction</cstring>
            </property>
            <property name="toggleAction">
                <bool>true</bool>
            </property>
            <property name="iconSet">
                <iconset>iconview.png</iconset>
            </property>
            <property name="text">
                <string>View Icons</string>
            </property>
            <property name="menuText">
                <string>View &amp;Icons</string>
            </property>
            <property name="toolTip">
                <string>View Icons (Ctrl+I)</string>
            </property>
            <property name="accel">
                <string>Ctrl+I</string>
            </property>
        </action>
    </actiongroup>
    <action>
        <property name="name">
            <cstring>editAddAction</cstring>
        </property>
        <property name="iconSet">
            <iconset>widgetstack.png</iconset>
        </property>
        <property name="text">
            <string>Add</string>
        </property>
        <property name="menuText">
            <string>&amp;Add...</string>
        </property>
        <property name="accel">
            <string>Ctrl+A</string>
        </property>
    </action>
</actions>
<connections>
    <connection>
        <sender>fileNewAction</sender>
        <signal>activated()</signal>
        <receiver>MainForm</receiver>
        <slot>fileNew()</slot>
    </connection>
    <connection>
        <sender>fileOpenAction</sender>
        <signal>activated()</signal>
        <receiver>MainForm</receiver>
        <slot>fileOpen()</slot>
    </connection>
    <connection>
        <sender>fileSaveAction</sender>
        <signal>activated()</signal>
        <receiver>MainForm</receiver>
        <slot>fileSave()</slot>
    </connection>
    <connection>
        <sender>fileSaveAsAction</sender>
        <signal>activated()</signal>
        <receiver>MainForm</receiver>
        <slot>fileSaveAs()</slot>
    </connection>
    <connection>
        <sender>fileExitAction</sender>
        <signal>activated()</signal>
        <receiver>MainForm</receiver>
        <slot>fileExit()</slot>
    </connection>
    <connection>
        <sender>editCutAction</sender>
        <signal>activated()</signal>
        <receiver>MainForm</receiver>
        <slot>editCut()</slot>
    </connection>
    <connection>
        <sender>editCopyAction</sender>
        <signal>activated()</signal>
        <receiver>MainForm</receiver>
        <slot>editCopy()</slot>
    </connection>
    <connection>
        <sender>editFindAction</sender>
        <signal>activated()</signal>
        <receiver>MainForm</receiver>
        <slot>editFind()</slot>
    </connection>
    <connection>
        <sender>helpIndexAction</sender>
        <signal>activated()</signal>
        <receiver>MainForm</receiver>
        <slot>helpIndex()</slot>
    </connection>
    <connection>
        <sender>helpContentsAction</sender>
        <signal>activated()</signal>
        <receiver>MainForm</receiver>
        <slot>helpContents()</slot>
    </connection>
    <connection>
        <sender>helpAboutAction</sender>
        <signal>activated()</signal>
        <receiver>MainForm</receiver>
        <slot>helpAbout()</slot>
    </connection>
    <connection>
        <sender>colorTable</sender>
        <signal>currentChanged(int,int)</signal>
        <receiver>MainForm</receiver>
        <slot>changedTableColor(int,int)</slot>
    </connection>
    <connection>
        <sender>colorIconView</sender>
        <signal>currentChanged(TQIconViewItem*)</signal>
        <receiver>MainForm</receiver>
        <slot>changedIconColor(TQIconViewItem*)</slot>
    </connection>
    <connection>
        <sender>viewActionGroup</sender>
        <signal>selected(TQAction*)</signal>
        <receiver>MainForm</receiver>
        <slot>changeView(TQAction*)</slot>
    </connection>
    <connection>
        <sender>editAddAction</sender>
        <signal>activated()</signal>
        <receiver>MainForm</receiver>
        <slot>editAdd()</slot>
    </connection>
    <connection>
        <sender>optionsAction</sender>
        <signal>activated()</signal>
        <receiver>MainForm</receiver>
        <slot>editOptions()</slot>
    </connection>
    <connection>
        <sender>colorWidgetStack</sender>
        <signal>aboutToShow(int)</signal>
        <receiver>MainForm</receiver>
        <slot>aboutToShow()</slot>
    </connection>
</connections>
<includes>
    <include location="local" impldecl="in declaration">findform.h</include>
    <include location="local" impldecl="in implementation">ntqsettings.h</include>
    <include location="local" impldecl="in implementation">ntqradiobutton.h</include>
    <include location="local" impldecl="in implementation">ntqcheckbox.h</include>
    <include location="local" impldecl="in implementation">colornameform.h</include>
    <include location="local" impldecl="in implementation">ntqcolordialog.h</include>
    <include location="local" impldecl="in implementation">ntqregexp.h</include>
    <include location="local" impldecl="in implementation">ntqfile.h</include>
    <include location="local" impldecl="in implementation">ntqfiledialog.h</include>
    <include location="local" impldecl="in implementation">ntqapplication.h</include>
    <include location="local" impldecl="in implementation">ntqcolor.h</include>
    <include location="local" impldecl="in implementation">ntqstring.h</include>
    <include location="local" impldecl="in implementation">ntqpainter.h</include>
    <include location="local" impldecl="in implementation">ntqstatusbar.h</include>
    <include location="local" impldecl="in implementation">ntqmessagebox.h</include>
    <include location="local" impldecl="in implementation">ntqclipboard.h</include>
    <include location="local" impldecl="in implementation">ntqlabel.h</include>
    <include location="local" impldecl="in implementation">ntqlineedit.h</include>
    <include location="local" impldecl="in implementation">optionsform.h</include>
    <include location="local" impldecl="in implementation">mainform.ui.h</include>
</includes>
<forwards>
    <forward>class TQString;</forward>
    <forward>class TQColor;</forward>
</forwards>
<variables>
    <variable>TQStringList m_comments;</variable>
    <variable>TQString m_filename;</variable>
    <variable>bool m_changed;</variable>
    <variable>bool m_table_dirty;</variable>
    <variable>bool m_icons_dirty;</variable>
    <variable>int m_clip_as;</variable>
    <variable>bool m_show_web;</variable>
    <variable>TQClipboard *clipboard;</variable>
    <variable>FindForm *findForm;</variable>
    <variable>TQMap&lt;TQString,TQColor&gt; m_colors;</variable>
</variables>
<slots>
    <slot>fileNew()</slot>
    <slot>fileOpen()</slot>
    <slot>fileSave()</slot>
    <slot>fileSaveAs()</slot>
    <slot>closeEvent( TQCloseEvent * )</slot>
    <slot>fileExit()</slot>
    <slot>editCut()</slot>
    <slot>editCopy()</slot>
    <slot>editFind()</slot>
    <slot>lookfor( const TQString &amp; text )</slot>
    <slot>helpIndex()</slot>
    <slot>helpContents()</slot>
    <slot>helpAbout()</slot>
    <slot>changedTableColor( int row, int )</slot>
    <slot>changedIconColor( TQIconViewItem * item )</slot>
    <slot>changeView( TQAction * action )</slot>
    <slot>editAdd()</slot>
    <slot>editOptions()</slot>
    <slot>aboutToShow()</slot>
</slots>
<functions>
    <function access="private">init()</function>
    <function>clearData( bool fillWithDefaults )</function>
    <function>populate()</function>
    <function returnType="TQPixmap">colorSwatch( const TQColor color )</function>
    <function>load( const TQString &amp; filename )</function>
    <function returnType="bool">okToClear()</function>
    <function>changedColor( const TQString &amp; name )</function>
    <function returnType="bool">isWebColor( TQColor color )</function>
    <function>loadSettings()</function>
    <function>saveSettings()</function>
</functions>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>
