Modified: freeswitch/trunk/contrib/jmesquita/FSPhone/mainwindow.cpp (16137 => 16138)
--- freeswitch/trunk/contrib/jmesquita/FSPhone/mainwindow.cpp 2010-01-04 18:15:18 UTC (rev 16137)
+++ freeswitch/trunk/contrib/jmesquita/FSPhone/mainwindow.cpp 2010-01-04 18:37:40 UTC (rev 16138)
@@ -50,6 +50,10 @@
connect(ui->dtmf7Btn, SIGNAL(clicked()), dialpadMapper, SLOT(map()));
connect(ui->dtmf8Btn, SIGNAL(clicked()), dialpadMapper, SLOT(map()));
connect(ui->dtmf9Btn, SIGNAL(clicked()), dialpadMapper, SLOT(map()));
+ connect(ui->dtmfABtn, SIGNAL(clicked()), dialpadMapper, SLOT(map()));
+ connect(ui->dtmfBBtn, SIGNAL(clicked()), dialpadMapper, SLOT(map()));
+ connect(ui->dtmfCBtn, SIGNAL(clicked()), dialpadMapper, SLOT(map()));
+ connect(ui->dtmfDBtn, SIGNAL(clicked()), dialpadMapper, SLOT(map()));
connect(ui->dtmfAstBtn, SIGNAL(clicked()), dialpadMapper, SLOT(map()));
connect(ui->dtmfPoundBtn, SIGNAL(clicked()), dialpadMapper, SLOT(map()));
dialpadMapper->setMapping(ui->dtmf0Btn, QString("0"));
@@ -62,6 +66,10 @@
dialpadMapper->setMapping(ui->dtmf7Btn, QString("7"));
dialpadMapper->setMapping(ui->dtmf8Btn, QString("8"));
dialpadMapper->setMapping(ui->dtmf9Btn, QString("9"));
+ dialpadMapper->setMapping(ui->dtmfABtn, QString("A"));
+ dialpadMapper->setMapping(ui->dtmfBBtn, QString("B"));
+ dialpadMapper->setMapping(ui->dtmfCBtn, QString("C"));
+ dialpadMapper->setMapping(ui->dtmfDBtn, QString("D"));
dialpadMapper->setMapping(ui->dtmfAstBtn, QString("*"));
dialpadMapper->setMapping(ui->dtmfPoundBtn, QString("#"));
connect(dialpadMapper, SIGNAL(mapped(QString)), this, SLOT(dialDTMF(QString)));
@@ -271,6 +279,10 @@
ui->dtmf7Btn->setEnabled(true);
ui->dtmf8Btn->setEnabled(true);
ui->dtmf9Btn->setEnabled(true);
+ ui->dtmfABtn->setEnabled(true);
+ ui->dtmfBBtn->setEnabled(true);
+ ui->dtmfCBtn->setEnabled(true);
+ ui->dtmfDBtn->setEnabled(true);
ui->dtmfAstBtn->setEnabled(true);
ui->dtmfPoundBtn->setEnabled(true);
}
@@ -300,6 +312,10 @@
ui->dtmf7Btn->setEnabled(false);
ui->dtmf8Btn->setEnabled(false);
ui->dtmf9Btn->setEnabled(false);
+ ui->dtmfABtn->setEnabled(false);
+ ui->dtmfBBtn->setEnabled(false);
+ ui->dtmfCBtn->setEnabled(false);
+ ui->dtmfDBtn->setEnabled(false);
ui->dtmfAstBtn->setEnabled(false);
ui->dtmfPoundBtn->setEnabled(false);
delete call;
Modified: freeswitch/trunk/contrib/jmesquita/FSPhone/mainwindow.ui (16137 => 16138)
--- freeswitch/trunk/contrib/jmesquita/FSPhone/mainwindow.ui 2010-01-04 18:15:18 UTC (rev 16137)
+++ freeswitch/trunk/contrib/jmesquita/FSPhone/mainwindow.ui 2010-01-04 18:37:40 UTC (rev 16138)
@@ -6,15 +6,15 @@
<rect>
<x>0</x>
<y>0</y>
- <width>579</width>
- <height>541</height>
+ <width>580</width>
+ <height>563</height>
</rect>
</property>
<property name="windowTitle">
<string>FSPhone - A FreeSWITCH softphone</string>
</property>
<widget class="QWidget" name="centralWidget">
- <layout class="QHBoxLayout" name="horizontalLayout_4">
+ <layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
@@ -66,6 +66,50 @@
</layout>
</item>
<item>
+ <layout class="QHBoxLayout" name="horizontalLayout_4">
+ <item>
+ <widget class="QPushButton" name="dtmfABtn">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>A</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="dtmfBBtn">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>B</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="dtmfDBtn">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>D</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="dtmfCBtn">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>C</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QPushButton" name="dtmf1Btn">
@@ -270,8 +314,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>579</width>
- <height>24</height>
+ <width>580</width>
+ <height>22</height>
</rect>
</property>
<widget class="QMenu" name="menu_File">