summaryrefslogtreecommitdiffstats
path: root/src/gui/historyform.ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/historyform.ui')
-rw-r--r--src/gui/historyform.ui475
1 files changed, 475 insertions, 0 deletions
diff --git a/src/gui/historyform.ui b/src/gui/historyform.ui
new file mode 100644
index 0000000..aedf488
--- /dev/null
+++ b/src/gui/historyform.ui
@@ -0,0 +1,475 @@
+<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
+<class>HistoryForm</class>
+<widget class="QDialog">
+ <property name="name">
+ <cstring>HistoryForm</cstring>
+ </property>
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>872</width>
+ <height>647</height>
+ </rect>
+ </property>
+ <property name="caption">
+ <string>Twinkle - Call History</string>
+ </property>
+ <grid>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QListView" row="0" column="0">
+ <column>
+ <property name="text">
+ <string>Time</string>
+ </property>
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ <column>
+ <property name="text">
+ <string>In/Out</string>
+ </property>
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ <column>
+ <property name="text">
+ <string>From/To</string>
+ </property>
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ <column>
+ <property name="text">
+ <string>Subject</string>
+ </property>
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ <column>
+ <property name="text">
+ <string>Status</string>
+ </property>
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ <property name="name">
+ <cstring>historyListView</cstring>
+ </property>
+ <property name="allColumnsShowFocus">
+ <bool>true</bool>
+ </property>
+ <property name="showSortIndicator">
+ <bool>true</bool>
+ </property>
+ <property name="resizeMode">
+ <enum>LastColumn</enum>
+ </property>
+ </widget>
+ <widget class="QLayoutWidget" row="1" column="0">
+ <property name="name">
+ <cstring>layout37</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QGroupBox">
+ <property name="name">
+ <cstring>cdrGroupBox</cstring>
+ </property>
+ <property name="title">
+ <string>Call details</string>
+ </property>
+ <grid>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QTextEdit" row="0" column="0">
+ <property name="name">
+ <cstring>cdrTextEdit</cstring>
+ </property>
+ <property name="textFormat">
+ <enum>RichText</enum>
+ </property>
+ <property name="wordWrap">
+ <enum>NoWrap</enum>
+ </property>
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ <property name="autoFormatting">
+ <set>AutoAll</set>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Details of the selected call record.</string>
+ </property>
+ </widget>
+ </grid>
+ </widget>
+ <widget class="QGroupBox">
+ <property name="name">
+ <cstring>viewGroupBox</cstring>
+ </property>
+ <property name="title">
+ <string>View</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>inCheckBox</cstring>
+ </property>
+ <property name="text">
+ <string>&amp;Incoming calls</string>
+ </property>
+ <property name="accel">
+ <string>Alt+I</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Check this option to show incoming calls.</string>
+ </property>
+ </widget>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>outCheckBox</cstring>
+ </property>
+ <property name="text">
+ <string>&amp;Outgoing calls</string>
+ </property>
+ <property name="accel">
+ <string>Alt+O</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Check this option to show outgoing calls.</string>
+ </property>
+ </widget>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>successCheckBox</cstring>
+ </property>
+ <property name="text">
+ <string>&amp;Answered calls</string>
+ </property>
+ <property name="accel">
+ <string>Alt+A</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Check this option to show answered calls.</string>
+ </property>
+ </widget>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>missedCheckBox</cstring>
+ </property>
+ <property name="text">
+ <string>&amp;Missed calls</string>
+ </property>
+ <property name="accel">
+ <string>Alt+M</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Check this option to show missed calls.</string>
+ </property>
+ </widget>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>profileCheckBox</cstring>
+ </property>
+ <property name="text">
+ <string>Current &amp;user profiles only</string>
+ </property>
+ <property name="accel">
+ <string>Alt+U</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Check this option to show only calls associated with this user profile.</string>
+ </property>
+ </widget>
+ </vbox>
+ </widget>
+ </hbox>
+ </widget>
+ <widget class="QLayoutWidget" row="3" column="0">
+ <property name="name">
+ <cstring>layout39</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QPushButton">
+ <property name="name">
+ <cstring>clearPushButton</cstring>
+ </property>
+ <property name="text">
+ <string>C&amp;lear</string>
+ </property>
+ <property name="accel">
+ <string>Alt+L</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;Clear the complete call history.&lt;/p&gt;
+&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; this will clear &lt;b&gt;all&lt;/b&gt; records, also records not shown depending on the checked view options.&lt;/p&gt;</string>
+ </property>
+ </widget>
+ <spacer>
+ <property name="name">
+ <cstring>spacer28</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>540</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ <widget class="QPushButton">
+ <property name="name">
+ <cstring>closePushButton</cstring>
+ </property>
+ <property name="text">
+ <string>Clo&amp;se</string>
+ </property>
+ <property name="accel">
+ <string>Alt+S</string>
+ </property>
+ <property name="default">
+ <bool>false</bool>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Close this window.</string>
+ </property>
+ </widget>
+ <widget class="QPushButton">
+ <property name="name">
+ <cstring>callPushButton</cstring>
+ </property>
+ <property name="text">
+ <string>&amp;Call</string>
+ </property>
+ <property name="accel">
+ <string>Alt+C</string>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Call selected address.</string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ <widget class="QLayoutWidget" row="2" column="0">
+ <property name="name">
+ <cstring>layout6</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>numberlCallsTtextLabel</cstring>
+ </property>
+ <property name="text">
+ <string>Number of calls:</string>
+ </property>
+ </widget>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>numberCallsValueTextLabel</cstring>
+ </property>
+ <property name="text">
+ <string>###</string>
+ </property>
+ </widget>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>totalDurationTextLabel</cstring>
+ </property>
+ <property name="text">
+ <string>Total call duration:</string>
+ </property>
+ </widget>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>totalDurationValueTextLabel</cstring>
+ </property>
+ <property name="text">
+ <string>###</string>
+ </property>
+ </widget>
+ <spacer>
+ <property name="name">
+ <cstring>spacer11</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>460</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </hbox>
+ </widget>
+ </grid>
+</widget>
+<connections>
+ <connection>
+ <sender>closePushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>HistoryForm</receiver>
+ <slot>close()</slot>
+ </connection>
+ <connection>
+ <sender>historyListView</sender>
+ <signal>currentChanged(QListViewItem*)</signal>
+ <receiver>HistoryForm</receiver>
+ <slot>showCallDetails(QListViewItem*)</slot>
+ </connection>
+ <connection>
+ <sender>inCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>HistoryForm</receiver>
+ <slot>loadHistory()</slot>
+ </connection>
+ <connection>
+ <sender>missedCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>HistoryForm</receiver>
+ <slot>loadHistory()</slot>
+ </connection>
+ <connection>
+ <sender>outCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>HistoryForm</receiver>
+ <slot>loadHistory()</slot>
+ </connection>
+ <connection>
+ <sender>profileCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>HistoryForm</receiver>
+ <slot>loadHistory()</slot>
+ </connection>
+ <connection>
+ <sender>successCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>HistoryForm</receiver>
+ <slot>loadHistory()</slot>
+ </connection>
+ <connection>
+ <sender>historyListView</sender>
+ <signal>rightButtonPressed(QListViewItem*,const QPoint&amp;,int)</signal>
+ <receiver>HistoryForm</receiver>
+ <slot>popupMenu(QListViewItem*,const QPoint&amp;)</slot>
+ </connection>
+ <connection>
+ <sender>historyListView</sender>
+ <signal>doubleClicked(QListViewItem*,const QPoint&amp;,int)</signal>
+ <receiver>HistoryForm</receiver>
+ <slot>call(QListViewItem*)</slot>
+ </connection>
+ <connection>
+ <sender>clearPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>HistoryForm</receiver>
+ <slot>clearHistory()</slot>
+ </connection>
+ <connection>
+ <sender>callPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>HistoryForm</receiver>
+ <slot>call()</slot>
+ </connection>
+</connections>
+<tabstops>
+ <tabstop>historyListView</tabstop>
+ <tabstop>cdrTextEdit</tabstop>
+ <tabstop>inCheckBox</tabstop>
+ <tabstop>outCheckBox</tabstop>
+ <tabstop>successCheckBox</tabstop>
+ <tabstop>missedCheckBox</tabstop>
+ <tabstop>profileCheckBox</tabstop>
+ <tabstop>clearPushButton</tabstop>
+ <tabstop>closePushButton</tabstop>
+</tabstops>
+<includes>
+ <include location="local" impldecl="in declaration">user.h</include>
+ <include location="local" impldecl="in declaration">phone.h</include>
+ <include location="local" impldecl="in declaration">qpopupmenu.h</include>
+ <include location="local" impldecl="in implementation">call_history.h</include>
+ <include location="local" impldecl="in implementation">util.h</include>
+ <include location="local" impldecl="in implementation">gui.h</include>
+ <include location="local" impldecl="in implementation">qlistview.h</include>
+ <include location="local" impldecl="in implementation">historylistview.h</include>
+ <include location="local" impldecl="in implementation">qiconset.h</include>
+ <include location="local" impldecl="in implementation">audits/memman.h</include>
+ <include location="local" impldecl="in implementation">historyform.ui.h</include>
+</includes>
+<forwards>
+ <forward>extern t_phone *phone;</forward>
+</forwards>
+<variables>
+ <variable access="private">time_t timeLastViewed;</variable>
+ <variable access="private">QPopupMenu *histPopupMenu;</variable>
+ <variable access="private">int itemCall;</variable>
+</variables>
+<signals>
+ <signal>call(t_user *, const QString &amp;, const QString &amp;, bool)</signal>
+</signals>
+<slots>
+ <slot>loadHistory()</slot>
+ <slot>update()</slot>
+ <slot>show()</slot>
+ <slot>closeEvent( QCloseEvent * e )</slot>
+ <slot>showCallDetails( QListViewItem * item )</slot>
+ <slot>popupMenu( QListViewItem * item, const QPoint &amp; pos )</slot>
+ <slot>call( QListViewItem * item )</slot>
+ <slot>call( void )</slot>
+ <slot>deleteEntry( void )</slot>
+ <slot>clearHistory()</slot>
+</slots>
+<functions>
+ <function access="private" specifier="non virtual">init()</function>
+ <function access="private" specifier="non virtual">destroy()</function>
+</functions>
+<pixmapinproject/>
+<layoutdefaults spacing="6" margin="11"/>
+</UI>