You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
307 lines
9.2 KiB
307 lines
9.2 KiB
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
|
|
<class>AddressBook</class>
|
|
<widget class="TQMainWindow">
|
|
<property name="name">
|
|
<cstring>AddressBook</cstring>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>600</width>
|
|
<height>480</height>
|
|
</rect>
|
|
</property>
|
|
<property name="caption">
|
|
<string>Address Book</string>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>11</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<widget class="TQListView">
|
|
<column>
|
|
<property name="text">
|
|
<string>Last Name</string>
|
|
</property>
|
|
<property name="clickable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="resizeable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>First Name</string>
|
|
</property>
|
|
<property name="clickable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="resizeable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Phone Number</string>
|
|
</property>
|
|
<property name="clickable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="resizeable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Street </string>
|
|
</property>
|
|
<property name="clickable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="resizeable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>City</string>
|
|
</property>
|
|
<property name="clickable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="resizeable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Country</string>
|
|
</property>
|
|
<property name="clickable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="resizeable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Zip Code</string>
|
|
</property>
|
|
<property name="clickable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="resizeable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</column>
|
|
<property name="name">
|
|
<cstring>addressView</cstring>
|
|
</property>
|
|
<property name="selectionMode">
|
|
<enum>Extended</enum>
|
|
</property>
|
|
<property name="allColumnsShowFocus">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
<menubar>
|
|
<property name="name">
|
|
<cstring>menubar</cstring>
|
|
</property>
|
|
<item text="&File" name="fileMenu">
|
|
<action name="fileNewAction"/>
|
|
<action name="fileOpenAction"/>
|
|
<action name="fileSaveAction"/>
|
|
<action name="fileSaveAsAction"/>
|
|
<separator/>
|
|
<action name="fileExitAction"/>
|
|
</item>
|
|
<item text="&Edit" name="editMenu">
|
|
<action name="actionDeleteAddress"/>
|
|
<separator/>
|
|
<action name="editFindAction"/>
|
|
</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="actionDeleteAddress"/>
|
|
<action name="editFindAction"/>
|
|
</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>&New</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>&Open...</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>&Save</string>
|
|
</property>
|
|
</action>
|
|
<action>
|
|
<property name="name">
|
|
<cstring>fileSaveAsAction</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Save As</string>
|
|
</property>
|
|
<property name="menuText">
|
|
<string>Save &As...</string>
|
|
</property>
|
|
</action>
|
|
<action>
|
|
<property name="name">
|
|
<cstring>fileExitAction</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Exit</string>
|
|
</property>
|
|
<property name="menuText">
|
|
<string>E&xit</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>&Find...</string>
|
|
</property>
|
|
</action>
|
|
<action>
|
|
<property name="name">
|
|
<cstring>actionDeleteAddress</cstring>
|
|
</property>
|
|
<property name="iconSet">
|
|
<iconset>editcut.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Delete</string>
|
|
</property>
|
|
</action>
|
|
</actions>
|
|
<connections>
|
|
<connection>
|
|
<sender>fileNewAction</sender>
|
|
<signal>activated()</signal>
|
|
<receiver>AddressBook</receiver>
|
|
<slot>fileNew()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>fileOpenAction</sender>
|
|
<signal>activated()</signal>
|
|
<receiver>AddressBook</receiver>
|
|
<slot>fileOpen()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>fileSaveAction</sender>
|
|
<signal>activated()</signal>
|
|
<receiver>AddressBook</receiver>
|
|
<slot>fileSave()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>fileSaveAsAction</sender>
|
|
<signal>activated()</signal>
|
|
<receiver>AddressBook</receiver>
|
|
<slot>fileSaveAs()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>fileExitAction</sender>
|
|
<signal>activated()</signal>
|
|
<receiver>AddressBook</receiver>
|
|
<slot>fileExit()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>editFindAction</sender>
|
|
<signal>activated()</signal>
|
|
<receiver>AddressBook</receiver>
|
|
<slot>editFind()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>actionDeleteAddress</sender>
|
|
<signal>activated()</signal>
|
|
<receiver>AddressBook</receiver>
|
|
<slot>deleteAddress()</slot>
|
|
</connection>
|
|
</connections>
|
|
<includes>
|
|
<include location="local" impldecl="in implementation">addressbook.ui.h</include>
|
|
</includes>
|
|
<variables>
|
|
<variable>TQString currentFileName;</variable>
|
|
</variables>
|
|
<slots>
|
|
<slot>fileNew()</slot>
|
|
<slot>insertAddress( const TQString & firstName, const TQString & lastName, const TQString & phoneNumber, const TQString & street, const TQString & city, const TQString & country, const TQString & zipCode )</slot>
|
|
<slot>deleteAddress()</slot>
|
|
<slot>fileOpen()</slot>
|
|
<slot>fileSave()</slot>
|
|
<slot>fileSaveAs()</slot>
|
|
<slot>fileExit()</slot>
|
|
<slot>editFind()</slot>
|
|
<slot>searchAddress( const TQString & expr )</slot>
|
|
</slots>
|
|
<pixmapinproject/>
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
</UI>
|