Added About Dialog, Updated UI, Fixed Bug 6669
authorNaresh Mehta <nareshtechs@gmail.com>
Wed, 12 Jan 2011 15:29:24 +0000 (16:29 +0100)
committerNaresh Mehta <nareshtechs@gmail.com>
Wed, 12 Jan 2011 15:29:24 +0000 (16:29 +0100)
26 files changed:
Makefile
aboutdialog.cpp [new file with mode: 0644]
aboutdialog.h [new file with mode: 0644]
aboutdialog.ui [new file with mode: 0644]
addstep.ui
confmgr.pro
mainwindow.cpp
mainwindow.h
mainwindow.ui
src/Makefile
src/aboutdialog.cpp [new file with mode: 0644]
src/aboutdialog.h [new file with mode: 0644]
src/aboutdialog.ui [new file with mode: 0644]
src/addstep.ui
src/mainwindow.cpp
src/mainwindow.h
src/mainwindow.ui
src/src.pro
src/ui_aboutdialog.h [new file with mode: 0644]
src/ui_addprofile.h [new file with mode: 0644]
src/ui_addstep.h [new file with mode: 0644]
src/ui_mainwindow.h [new file with mode: 0644]
ui_aboutdialog.h [new file with mode: 0644]
ui_addprofile.h [new file with mode: 0644]
ui_addstep.h [new file with mode: 0644]
ui_mainwindow.h [new file with mode: 0644]

index e84a78b..3ccfc3b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,25 +1,25 @@
 #############################################################################
 # Makefile for building: confmgr
-# Generated by qmake (2.01a) (Qt 4.6.2) on: Tue Jul 6 16:19:30 2010
+# Generated by qmake (2.01a) (Qt 4.7.0) on: Thu Nov 11 12:50:51 2010
 # Project:  confmgr.pro
 # Template: app
-# Command: /usr/bin/qmake -unix -o Makefile confmgr.pro
+# Command: /usr/bin/qmake-qt4 -o Makefile confmgr.pro
 #############################################################################
 
 ####### Compiler, tools and options
 
 CC            = gcc
 CXX           = g++
-DEFINES       = -DQT_GL_NO_SCISSOR_TEST -DQT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH=1024 -DQT_NO_DEBUG -DQT_MAEMO5_LIB -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-CFLAGS        = -pipe -O3 -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wall -W -D_REENTRANT $(DEFINES)
-CXXFLAGS      = -pipe -O3 -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wall -W -D_REENTRANT $(DEFINES)
-INCPATH       = -I/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-maemo5 -I. -I/targets/FREMANTLE_ARMEL/usr/include/QtCore -I/targets/FREMANTLE_ARMEL/usr/include/QtGui -I/targets/FREMANTLE_ARMEL/usr/include/QtXml -I/targets/FREMANTLE_ARMEL/usr/include/QtDBus -I/targets/FREMANTLE_ARMEL/usr/include/QtMaemo5 -I/targets/FREMANTLE_ARMEL/usr/include -I. -I.
+DEFINES       = -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
+CFLAGS        = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
+CXXFLAGS      = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
+INCPATH       = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -I. -I.
 LINK          = g++
-LFLAGS        = -Wl,-rpath-link,/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -Wl,-rpath,/usr/lib
-LIBS          = $(SUBLIBS)  -L/usr/lib -lQtMaemo5 -L/usr/lib -L/usr/X11R6/lib -lQtDBus -lQtXml -lQtGui -lQtCore -lpthread 
+LFLAGS        = -Wl,-O1
+LIBS          = $(SUBLIBS)  -L/usr/lib -lQtDBus -lQtXml -lQtGui -lQtCore -lpthread 
 AR            = ar cqs
 RANLIB        = 
-QMAKE         = /usr/bin/qmake
+QMAKE         = /usr/bin/qmake-qt4
 TAR           = tar -cf
 COMPRESS      = gzip -9f
 COPY          = cp -f
@@ -74,26 +74,28 @@ OBJECTS       = main.o \
                moc_addprofile.o \
                moc_addstep.o \
                moc_confmanager.o
-DIST          = /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/release.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/dbusinterfaces.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/dbusadaptors.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf \
+DIST          = /usr/share/qt4/mkspecs/common/g++.conf \
+               /usr/share/qt4/mkspecs/common/unix.conf \
+               /usr/share/qt4/mkspecs/common/linux.conf \
+               /usr/share/qt4/mkspecs/qconfig.pri \
+               /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
+               /usr/share/qt4/mkspecs/features/qt_functions.prf \
+               /usr/share/qt4/mkspecs/features/qt_config.prf \
+               /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
+               /usr/share/qt4/mkspecs/features/default_pre.prf \
+               /usr/share/qt4/mkspecs/features/release.prf \
+               /usr/share/qt4/mkspecs/features/default_post.prf \
+               /usr/share/qt4/mkspecs/features/warn_on.prf \
+               /usr/share/qt4/mkspecs/features/qt.prf \
+               /usr/share/qt4/mkspecs/features/moc.prf \
+               /usr/share/qt4/mkspecs/features/dbusinterfaces.prf \
+               /usr/share/qt4/mkspecs/features/dbusadaptors.prf \
+               /usr/share/qt4/mkspecs/features/unix/thread.prf \
+               /usr/share/qt4/mkspecs/features/resources.prf \
+               /usr/share/qt4/mkspecs/features/uic.prf \
+               /usr/share/qt4/mkspecs/features/yacc.prf \
+               /usr/share/qt4/mkspecs/features/lex.prf \
+               /usr/share/qt4/mkspecs/features/include_source_dir.prf \
                confmgr.pro
 QMAKE_TARGET  = confmgr
 DESTDIR       = 
@@ -126,59 +128,61 @@ all: Makefile $(TARGET)
 $(TARGET): ui_mainwindow.h ui_addprofile.h ui_addstep.h $(OBJECTS)  
        $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
 
-Makefile: confmgr.pro  /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-maemo5/qmake.conf /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/release.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/dbusinterfaces.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/dbusadaptors.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf \
-               /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf \
-               /usr/lib/libQtMaemo5.prl \
+Makefile: confmgr.pro  /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
+               /usr/share/qt4/mkspecs/common/unix.conf \
+               /usr/share/qt4/mkspecs/common/linux.conf \
+               /usr/share/qt4/mkspecs/qconfig.pri \
+               /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
+               /usr/share/qt4/mkspecs/features/qt_functions.prf \
+               /usr/share/qt4/mkspecs/features/qt_config.prf \
+               /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
+               /usr/share/qt4/mkspecs/features/default_pre.prf \
+               /usr/share/qt4/mkspecs/features/release.prf \
+               /usr/share/qt4/mkspecs/features/default_post.prf \
+               /usr/share/qt4/mkspecs/features/warn_on.prf \
+               /usr/share/qt4/mkspecs/features/qt.prf \
+               /usr/share/qt4/mkspecs/features/moc.prf \
+               /usr/share/qt4/mkspecs/features/dbusinterfaces.prf \
+               /usr/share/qt4/mkspecs/features/dbusadaptors.prf \
+               /usr/share/qt4/mkspecs/features/unix/thread.prf \
+               /usr/share/qt4/mkspecs/features/resources.prf \
+               /usr/share/qt4/mkspecs/features/uic.prf \
+               /usr/share/qt4/mkspecs/features/yacc.prf \
+               /usr/share/qt4/mkspecs/features/lex.prf \
+               /usr/share/qt4/mkspecs/features/include_source_dir.prf \
                /usr/lib/libQtDBus.prl \
                /usr/lib/libQtXml.prl \
-               /usr/lib/libQtCore.prl \
-               /usr/lib/libQtGui.prl
-       $(QMAKE) -unix -o Makefile confmgr.pro
-/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf:
-/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf:
-/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri:
-/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf:
-/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf:
-/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
-/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf:
-/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/release.prf:
-/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf:
-/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf:
-/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf:
-/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf:
-/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/dbusinterfaces.prf:
-/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/dbusadaptors.prf:
-/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf:
-/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf:
-/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf:
-/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf:
-/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf:
-/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf:
-/usr/lib/libQtMaemo5.prl:
+               /usr/lib/libQtGui.prl \
+               /usr/lib/libQtCore.prl
+       $(QMAKE) -o Makefile confmgr.pro
+/usr/share/qt4/mkspecs/common/g++.conf:
+/usr/share/qt4/mkspecs/common/unix.conf:
+/usr/share/qt4/mkspecs/common/linux.conf:
+/usr/share/qt4/mkspecs/qconfig.pri:
+/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri:
+/usr/share/qt4/mkspecs/features/qt_functions.prf:
+/usr/share/qt4/mkspecs/features/qt_config.prf:
+/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
+/usr/share/qt4/mkspecs/features/default_pre.prf:
+/usr/share/qt4/mkspecs/features/release.prf:
+/usr/share/qt4/mkspecs/features/default_post.prf:
+/usr/share/qt4/mkspecs/features/warn_on.prf:
+/usr/share/qt4/mkspecs/features/qt.prf:
+/usr/share/qt4/mkspecs/features/moc.prf:
+/usr/share/qt4/mkspecs/features/dbusinterfaces.prf:
+/usr/share/qt4/mkspecs/features/dbusadaptors.prf:
+/usr/share/qt4/mkspecs/features/unix/thread.prf:
+/usr/share/qt4/mkspecs/features/resources.prf:
+/usr/share/qt4/mkspecs/features/uic.prf:
+/usr/share/qt4/mkspecs/features/yacc.prf:
+/usr/share/qt4/mkspecs/features/lex.prf:
+/usr/share/qt4/mkspecs/features/include_source_dir.prf:
 /usr/lib/libQtDBus.prl:
 /usr/lib/libQtXml.prl:
-/usr/lib/libQtCore.prl:
 /usr/lib/libQtGui.prl:
+/usr/lib/libQtCore.prl:
 qmake:  FORCE
-       @$(QMAKE) -unix -o Makefile confmgr.pro
+       @$(QMAKE) -o Makefile confmgr.pro
 
 dist: 
        @$(CHK_DIR_EXISTS) .tmp/confmgr1.0.0 || $(MKDIR) .tmp/confmgr1.0.0 
@@ -197,6 +201,8 @@ distclean: clean
        -$(DEL_FILE) Makefile
 
 
+check: first
+
 mocclean: compiler_moc_header_clean compiler_moc_source_clean
 
 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
@@ -211,32 +217,32 @@ moc_mainwindow.cpp: config.h \
                confmanager.h \
                dbusutility.h \
                mainwindow.h
-       /usr/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp
+       /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp
 
 moc_xmlutil.cpp: profile.h \
                xmlutil.h
-       /usr/bin/moc $(DEFINES) $(INCPATH) xmlutil.h -o moc_xmlutil.cpp
+       /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) xmlutil.h -o moc_xmlutil.cpp
 
 moc_profile.cpp: profile.h
-       /usr/bin/moc $(DEFINES) $(INCPATH) profile.h -o moc_profile.cpp
+       /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) profile.h -o moc_profile.cpp
 
 moc_config.cpp: profile.h \
                config.h
-       /usr/bin/moc $(DEFINES) $(INCPATH) config.h -o moc_config.cpp
+       /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) config.h -o moc_config.cpp
 
 moc_addprofile.cpp: addstep.h \
                profile.h \
                addprofile.h
-       /usr/bin/moc $(DEFINES) $(INCPATH) addprofile.h -o moc_addprofile.cpp
+       /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) addprofile.h -o moc_addprofile.cpp
 
 moc_addstep.cpp: profile.h \
                addstep.h
-       /usr/bin/moc $(DEFINES) $(INCPATH) addstep.h -o moc_addstep.cpp
+       /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) addstep.h -o moc_addstep.cpp
 
 moc_confmanager.cpp: profile.h \
                dbusutility.h \
                confmanager.h
-       /usr/bin/moc $(DEFINES) $(INCPATH) confmanager.h -o moc_confmanager.cpp
+       /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) confmanager.h -o moc_confmanager.cpp
 
 compiler_dbus_interface_source_make_all:
 compiler_dbus_interface_source_clean:
@@ -261,13 +267,13 @@ compiler_uic_make_all: ui_mainwindow.h ui_addprofile.h ui_addstep.h
 compiler_uic_clean:
        -$(DEL_FILE) ui_mainwindow.h ui_addprofile.h ui_addstep.h
 ui_mainwindow.h: mainwindow.ui
-       /usr/bin/uic mainwindow.ui -o ui_mainwindow.h
+       /usr/bin/uic-qt4 mainwindow.ui -o ui_mainwindow.h
 
 ui_addprofile.h: addprofile.ui
-       /usr/bin/uic addprofile.ui -o ui_addprofile.h
+       /usr/bin/uic-qt4 addprofile.ui -o ui_addprofile.h
 
 ui_addstep.h: addstep.ui
-       /usr/bin/uic addstep.ui -o ui_addstep.h
+       /usr/bin/uic-qt4 addstep.ui -o ui_addstep.h
 
 compiler_yacc_decl_make_all:
 compiler_yacc_decl_clean:
diff --git a/aboutdialog.cpp b/aboutdialog.cpp
new file mode 100644 (file)
index 0000000..cca3b84
--- /dev/null
@@ -0,0 +1,14 @@
+#include "aboutdialog.h"
+#include "ui_aboutdialog.h"
+
+AboutDialog::AboutDialog(QWidget *parent) :
+    QDialog(parent),
+    ui(new Ui::AboutDialog)
+{
+    ui->setupUi(this);
+}
+
+AboutDialog::~AboutDialog()
+{
+    delete ui;
+}
diff --git a/aboutdialog.h b/aboutdialog.h
new file mode 100644 (file)
index 0000000..c4073ba
--- /dev/null
@@ -0,0 +1,22 @@
+#ifndef ABOUTDIALOG_H
+#define ABOUTDIALOG_H
+
+#include <QDialog>
+
+namespace Ui {
+    class AboutDialog;
+}
+
+class AboutDialog : public QDialog
+{
+    Q_OBJECT
+
+public:
+    explicit AboutDialog(QWidget *parent = 0);
+    ~AboutDialog();
+
+private:
+    Ui::AboutDialog *ui;
+};
+
+#endif // ABOUTDIALOG_H
diff --git a/aboutdialog.ui b/aboutdialog.ui
new file mode 100644 (file)
index 0000000..86bd041
--- /dev/null
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>AboutDialog</class>
+ <widget class="QDialog" name="AboutDialog">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>637</width>
+    <height>237</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>About Conference Manager</string>
+  </property>
+  <widget class="QLabel" name="label">
+   <property name="geometry">
+    <rect>
+     <x>10</x>
+     <y>20</y>
+     <width>611</width>
+     <height>151</height>
+    </rect>
+   </property>
+   <property name="text">
+    <string>Conference Manager - Conference calling at your fingertips! 
+Developed by: Naresh Mehta (c) 2010 
+Hosted on: http://gitorious.org/confmgr 
+Visit me at: http://www.naresh.se/
+</string>
+   </property>
+  </widget>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>
index 9582a99..7e63341 100644 (file)
@@ -36,7 +36,7 @@
     <item>
      <widget class="QLineEdit" name="addStepValue">
       <property name="inputMethodHints">
-       <set>Qt::ImhDigitsOnly</set>
+       <set>Qt::ImhDialableCharactersOnly</set>
       </property>
      </widget>
     </item>
index ba74dad..004dce3 100644 (file)
@@ -19,7 +19,8 @@ SOURCES += main.cpp\
     addprofile.cpp \
     addstep.cpp \
     dbusutility.cpp \
-    confmanager.cpp
+    confmanager.cpp \
+    aboutdialog.cpp
 
 HEADERS  += mainwindow.h \
     xmlutil.h \
@@ -28,11 +29,13 @@ HEADERS  += mainwindow.h \
     addprofile.h \
     addstep.h \
     dbusutility.h \
-    confmanager.h
+    confmanager.h \
+    aboutdialog.h
 
 FORMS    += mainwindow.ui \
     addprofile.ui \
-    addstep.ui
+    addstep.ui \
+    aboutdialog.ui
 
 CONFIG += mobility
 MOBILITY = 
index bac22c2..6b7a6b8 100644 (file)
@@ -1,6 +1,7 @@
 #include "mainwindow.h"
 #include "ui_mainwindow.h"
 #include "xmlutil.h"
+#include "aboutdialog.h"
 #include <QDebug>
 #include <QMessageBox>
 
@@ -11,6 +12,10 @@ MainWindow::MainWindow(QWidget *parent) :
     ui->setupUi(this);
     connect(&mFrmAddProfile, SIGNAL(ProfileAddedSuccessfully(Profile)),
             this, SLOT(updateProfileList(Profile)));
+/*
+    connect(&ui->mainMenuAbout, SIGNAL(Triggered(QAction*)),
+            this, SLOT(mainAboutClickedSlot()));
+*/
     Initialize();
 }
 
@@ -108,17 +113,23 @@ void MainWindow::on_mainPBEditProfile_clicked()
     mFrmAddProfile.showProfile(p);
 }
 
-void MainWindow::on_mainPBAbout_clicked()
-{
-    QMessageBox msg;
-    msg.setText("A nice screen yet to be implemented!");
-    msg.exec();
-    return;
-}
-
 void MainWindow::on_mainPBQuit_clicked()
 {
     mConfig.writeAllProfiles();
     mConfig.closeConfig();
     close();
 }
+
+void MainWindow::on_actionAbout_triggered()
+{
+    AboutDialog abtdlg;
+    abtdlg.exec();
+}
+
+void MainWindow::on_actionAdd_Templated_Profile_triggered()
+{
+    QMessageBox msg;
+    msg.setText("Placeholder for a nice function yet to be implemented!");
+    msg.exec();
+    return;
+}
index 1838d09..219fdcb 100644 (file)
@@ -34,11 +34,11 @@ private:
     AddProfile mFrmAddProfile;
     bool bIsProfileEdited;
     confManager mConfMgr;
-    QMenuBar *pMenu;
 
 private slots:
+    void on_actionAdd_Templated_Profile_triggered();
+    void on_actionAbout_triggered();
     void on_mainPBQuit_clicked();
-    void on_mainPBAbout_clicked();
     void on_mainPBEditProfile_clicked();
     void on_btnmainStartConference_clicked();
     void on_mainPBDelete_clicked();
index 7683261..e4d7a3b 100644 (file)
    <string>Conference Manager</string>
   </property>
   <widget class="QWidget" name="centralWidget">
-   <widget class="QWidget" name="verticalLayoutWidget">
+   <widget class="QListWidget" name="mainProfileList">
+    <property name="geometry">
+     <rect>
+      <x>25</x>
+      <y>4</y>
+      <width>751</width>
+      <height>241</height>
+     </rect>
+    </property>
+   </widget>
+   <widget class="QWidget" name="verticalLayoutWidget_2">
     <property name="geometry">
      <rect>
-      <x>26</x>
+      <x>535</x>
       <y>260</y>
       <width>241</width>
       <height>141</height>
      </rect>
     </property>
-    <layout class="QVBoxLayout" name="verticalLayout">
-     <property name="sizeConstraint">
-      <enum>QLayout::SetDefaultConstraint</enum>
-     </property>
+    <layout class="QVBoxLayout" name="verticalLayout_2">
      <item>
-      <widget class="QPushButton" name="btnmainStartConference">
+      <widget class="QPushButton" name="mainPBEditProfile">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
          <horstretch>0</horstretch>
         </sizepolicy>
        </property>
        <property name="text">
-        <string>Start Conference</string>
+        <string>Edit Profile</string>
        </property>
       </widget>
      </item>
      <item>
-      <widget class="QPushButton" name="mainPBAdd">
+      <widget class="QPushButton" name="mainPBQuit">
        <property name="sizePolicy">
-        <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+        <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="text">
-        <string>Add Profile</string>
+        <string>Exit</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
-   <widget class="QListWidget" name="mainProfileList">
+   <widget class="QWidget" name="horizontalLayoutWidget_2">
     <property name="geometry">
      <rect>
-      <x>25</x>
-      <y>4</y>
-      <width>751</width>
-      <height>241</height>
-     </rect>
-    </property>
-   </widget>
-   <widget class="QWidget" name="verticalLayoutWidget_2">
-    <property name="geometry">
-     <rect>
-      <x>535</x>
+      <x>31</x>
       <y>260</y>
-      <width>241</width>
-      <height>141</height>
+      <width>491</width>
+      <height>71</height>
      </rect>
     </property>
-    <layout class="QVBoxLayout" name="verticalLayout_2">
+    <layout class="QHBoxLayout" name="horizontalLayout_2">
      <item>
-      <widget class="QPushButton" name="mainPBAbout">
+      <widget class="QPushButton" name="btnmainStartConference">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
          <horstretch>0</horstretch>
         </sizepolicy>
        </property>
        <property name="text">
-        <string>About</string>
+        <string>Start Conference</string>
        </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QPushButton" name="mainPBQuit">
-       <property name="sizePolicy">
-        <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
-         <horstretch>0</horstretch>
-         <verstretch>0</verstretch>
-        </sizepolicy>
+       <property name="autoDefault">
+        <bool>true</bool>
        </property>
-       <property name="text">
-        <string>Exit</string>
+       <property name="default">
+        <bool>true</bool>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
-   <widget class="QWidget" name="verticalLayoutWidget_3">
+   <widget class="QWidget" name="horizontalLayoutWidget">
     <property name="geometry">
      <rect>
-      <x>281</x>
-      <y>260</y>
-      <width>241</width>
-      <height>141</height>
+      <x>30</x>
+      <y>340</y>
+      <width>491</width>
+      <height>61</height>
      </rect>
     </property>
-    <layout class="QVBoxLayout" name="verticalLayout_3">
+    <layout class="QHBoxLayout" name="horizontalLayout">
      <item>
-      <widget class="QPushButton" name="mainPBEditProfile">
+      <widget class="QPushButton" name="mainPBAdd">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
          <horstretch>0</horstretch>
         </sizepolicy>
        </property>
        <property name="text">
-        <string>Edit Profile</string>
+        <string>Add Profile</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </widget>
+  <widget class="QMenuBar" name="mainMenuBar">
+   <property name="geometry">
+    <rect>
+     <x>0</x>
+     <y>0</y>
+     <width>800</width>
+     <height>25</height>
+    </rect>
+   </property>
+   <widget class="QMenu" name="mainMenuAbout">
+    <property name="title">
+     <string>About</string>
+    </property>
+    <addaction name="actionAdd_Templated_Profile"/>
+    <addaction name="actionAbout"/>
+   </widget>
+   <addaction name="mainMenuAbout"/>
+  </widget>
+  <action name="actionAbout">
+   <property name="text">
+    <string>About</string>
+   </property>
+  </action>
+  <action name="actionAdd_Templated_Profile">
+   <property name="text">
+    <string>Add Templated Profile</string>
+   </property>
+  </action>
  </widget>
  <layoutdefault spacing="6" margin="11"/>
  <resources/>
    <slot>close()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>411</x>
-     <y>440</y>
+     <x>536</x>
+     <y>424</y>
     </hint>
     <hint type="destinationlabel">
      <x>399</x>
    </hints>
   </connection>
  </connections>
+ <slots>
+  <signal>mainAboutClickedSignal()</signal>
+  <slot>mainAboutClickedSlot()</slot>
+ </slots>
 </ui>
index 27fb321..d0774bf 100644 (file)
@@ -1,22 +1,22 @@
 #############################################################################
-# Makefile for building: confmgr
-# Generated by qmake (2.01a) (Qt 4.6.2) on: Sat Jul 3 23:40:14 2010
-# Project:  confmgr.pro
+# Makefile for building: ../confmgr
+# Generated by qmake (2.01a) (Qt 4.7.0) on: Wed Nov 17 15:43:23 2010
+# Project:  src.pro
 # Template: app
-# Command: /usr/bin/qmake -unix -o Makefile confmgr.pro
+# Command: /usr/bin/qmake -o Makefile src.pro
 #############################################################################
 
 ####### Compiler, tools and options
 
 CC            = gcc
 CXX           = g++
-DEFINES       = -DQT_NO_DEBUG -DQT_MAEMO5_LIB -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
+DEFINES       = -DDATADIR=\"/usr/local/share\" -DPKGDATADIR=\"\" -DQT_NO_DEBUG -DQT_MAEMO5_LIB -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
 CFLAGS        = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
 CXXFLAGS      = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
 INCPATH       = -I/targets/FREMANTLE_X86/usr/share/qt4/mkspecs/linux-g++ -I. -I/targets/FREMANTLE_X86/usr/include/QtCore -I/targets/FREMANTLE_X86/usr/include/QtGui -I/targets/FREMANTLE_X86/usr/include/QtXml -I/targets/FREMANTLE_X86/usr/include/QtDBus -I/targets/FREMANTLE_X86/usr/include/QtMaemo5 -I/targets/FREMANTLE_X86/usr/include -I. -I.
 LINK          = g++
-LFLAGS        = -Wl,-O1 -Wl,-rpath,/usr/lib
-LIBS          = $(SUBLIBS)  -L/usr/lib -lQtMaemo5 -L/usr/lib -L/usr/X11R6/lib -lQtDBus -lQtXml -lQtGui -lQtCore -lpthread 
+LFLAGS        = -Wl,-O1
+LIBS          = $(SUBLIBS)  -L/usr/lib -lQtMaemo5 -L/usr/lib -L/usr/X11R6/lib -lQtGui -lQtDBus -lQtXml -lQtCore -lpthread 
 AR            = ar cqs
 RANLIB        = 
 QMAKE         = /usr/bin/qmake
@@ -51,13 +51,15 @@ SOURCES       = main.cpp \
                addprofile.cpp \
                addstep.cpp \
                dbusutility.cpp \
-               confmanager.cpp moc_mainwindow.cpp \
+               confmanager.cpp \
+               aboutdialog.cpp moc_mainwindow.cpp \
                moc_xmlutil.cpp \
                moc_profile.cpp \
                moc_config.cpp \
                moc_addprofile.cpp \
                moc_addstep.cpp \
-               moc_confmanager.cpp
+               moc_confmanager.cpp \
+               moc_aboutdialog.cpp
 OBJECTS       = main.o \
                mainwindow.o \
                xmlutil.o \
@@ -67,17 +69,20 @@ OBJECTS       = main.o \
                addstep.o \
                dbusutility.o \
                confmanager.o \
+               aboutdialog.o \
                moc_mainwindow.o \
                moc_xmlutil.o \
                moc_profile.o \
                moc_config.o \
                moc_addprofile.o \
                moc_addstep.o \
-               moc_confmanager.o
+               moc_confmanager.o \
+               moc_aboutdialog.o
 DIST          = /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/g++.conf \
                /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/unix.conf \
                /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/linux.conf \
                /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/qconfig.pri \
+               /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
                /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/qt_functions.prf \
                /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/qt_config.prf \
                /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
@@ -95,10 +100,10 @@ DIST          = /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/g++.conf \
                /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/yacc.prf \
                /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/lex.prf \
                /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/include_source_dir.prf \
-               confmgr.pro
+               src.pro
 QMAKE_TARGET  = confmgr
-DESTDIR       = 
-TARGET        = confmgr
+DESTDIR       = ../
+TARGET        = ../confmgr
 
 first: all
 ####### Implicit rules
@@ -124,13 +129,15 @@ first: all
 
 all: Makefile $(TARGET)
 
-$(TARGET): ui_mainwindow.h ui_addprofile.h ui_addstep.h $(OBJECTS)  
+$(TARGET): ui_mainwindow.h ui_addprofile.h ui_addstep.h ui_aboutdialog.h $(OBJECTS)  
+       @$(CHK_DIR_EXISTS) ../ || $(MKDIR) ../ 
        $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
 
-Makefile: confmgr.pro  /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/linux-g++/qmake.conf /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/g++.conf \
+Makefile: src.pro  /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/linux-g++/qmake.conf /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/g++.conf \
                /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/unix.conf \
                /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/linux.conf \
                /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/qconfig.pri \
+               /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
                /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/qt_functions.prf \
                /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/qt_config.prf \
                /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
@@ -149,15 +156,16 @@ Makefile: confmgr.pro  /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/linux-g++/qm
                /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/lex.prf \
                /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/include_source_dir.prf \
                /usr/lib/libQtMaemo5.prl \
+               /usr/lib/libQtGui.prl \
                /usr/lib/libQtDBus.prl \
                /usr/lib/libQtXml.prl \
-               /usr/lib/libQtCore.prl \
-               /usr/lib/libQtGui.prl
-       $(QMAKE) -unix -o Makefile confmgr.pro
+               /usr/lib/libQtCore.prl
+       $(QMAKE) -o Makefile src.pro
 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/g++.conf:
 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/unix.conf:
 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/linux.conf:
 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/qconfig.pri:
+/targets/FREMANTLE_X86/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri:
 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/qt_functions.prf:
 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/qt_config.prf:
 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
@@ -176,16 +184,16 @@ Makefile: confmgr.pro  /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/linux-g++/qm
 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/lex.prf:
 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/include_source_dir.prf:
 /usr/lib/libQtMaemo5.prl:
+/usr/lib/libQtGui.prl:
 /usr/lib/libQtDBus.prl:
 /usr/lib/libQtXml.prl:
 /usr/lib/libQtCore.prl:
-/usr/lib/libQtGui.prl:
 qmake:  FORCE
-       @$(QMAKE) -unix -o Makefile confmgr.pro
+       @$(QMAKE) -o Makefile src.pro
 
 dist: 
        @$(CHK_DIR_EXISTS) .tmp/confmgr1.0.0 || $(MKDIR) .tmp/confmgr1.0.0 
-       $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/confmgr1.0.0/ && $(COPY_FILE) --parents mainwindow.h xmlutil.h profile.h config.h addprofile.h addstep.h dbusutility.h confmanager.h .tmp/confmgr1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp xmlutil.cpp profile.cpp config.cpp addprofile.cpp addstep.cpp dbusutility.cpp confmanager.cpp .tmp/confmgr1.0.0/ && $(COPY_FILE) --parents mainwindow.ui addprofile.ui addstep.ui .tmp/confmgr1.0.0/ && (cd `dirname .tmp/confmgr1.0.0` && $(TAR) confmgr1.0.0.tar confmgr1.0.0 && $(COMPRESS) confmgr1.0.0.tar) && $(MOVE) `dirname .tmp/confmgr1.0.0`/confmgr1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/confmgr1.0.0
+       $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/confmgr1.0.0/ && $(COPY_FILE) --parents mainwindow.h xmlutil.h profile.h config.h addprofile.h addstep.h dbusutility.h confmanager.h aboutdialog.h .tmp/confmgr1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp xmlutil.cpp profile.cpp config.cpp addprofile.cpp addstep.cpp dbusutility.cpp confmanager.cpp aboutdialog.cpp .tmp/confmgr1.0.0/ && $(COPY_FILE) --parents mainwindow.ui addprofile.ui addstep.ui aboutdialog.ui .tmp/confmgr1.0.0/ && (cd `dirname .tmp/confmgr1.0.0` && $(TAR) confmgr1.0.0.tar confmgr1.0.0 && $(COMPRESS) confmgr1.0.0.tar) && $(MOVE) `dirname .tmp/confmgr1.0.0`/confmgr1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/confmgr1.0.0
 
 
 clean:compiler_clean 
@@ -200,13 +208,15 @@ distclean: clean
        -$(DEL_FILE) Makefile
 
 
+check: first
+
 mocclean: compiler_moc_header_clean compiler_moc_source_clean
 
 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
 
-compiler_moc_header_make_all: moc_mainwindow.cpp moc_xmlutil.cpp moc_profile.cpp moc_config.cpp moc_addprofile.cpp moc_addstep.cpp moc_confmanager.cpp
+compiler_moc_header_make_all: moc_mainwindow.cpp moc_xmlutil.cpp moc_profile.cpp moc_config.cpp moc_addprofile.cpp moc_addstep.cpp moc_confmanager.cpp moc_aboutdialog.cpp
 compiler_moc_header_clean:
-       -$(DEL_FILE) moc_mainwindow.cpp moc_xmlutil.cpp moc_profile.cpp moc_config.cpp moc_addprofile.cpp moc_addstep.cpp moc_confmanager.cpp
+       -$(DEL_FILE) moc_mainwindow.cpp moc_xmlutil.cpp moc_profile.cpp moc_config.cpp moc_addprofile.cpp moc_addstep.cpp moc_confmanager.cpp moc_aboutdialog.cpp
 moc_mainwindow.cpp: config.h \
                profile.h \
                addprofile.h \
@@ -241,6 +251,9 @@ moc_confmanager.cpp: profile.h \
                confmanager.h
        /usr/bin/moc $(DEFINES) $(INCPATH) confmanager.h -o moc_confmanager.cpp
 
+moc_aboutdialog.cpp: aboutdialog.h
+       /usr/bin/moc $(DEFINES) $(INCPATH) aboutdialog.h -o moc_aboutdialog.cpp
+
 compiler_dbus_interface_source_make_all:
 compiler_dbus_interface_source_clean:
 compiler_dbus_adaptor_source_make_all:
@@ -260,9 +273,9 @@ compiler_dbus_adaptor_header_make_all:
 compiler_dbus_adaptor_header_clean:
 compiler_dbus_adaptor_moc_make_all:
 compiler_dbus_adaptor_moc_clean:
-compiler_uic_make_all: ui_mainwindow.h ui_addprofile.h ui_addstep.h
+compiler_uic_make_all: ui_mainwindow.h ui_addprofile.h ui_addstep.h ui_aboutdialog.h
 compiler_uic_clean:
-       -$(DEL_FILE) ui_mainwindow.h ui_addprofile.h ui_addstep.h
+       -$(DEL_FILE) ui_mainwindow.h ui_addprofile.h ui_addstep.h ui_aboutdialog.h
 ui_mainwindow.h: mainwindow.ui
        /usr/bin/uic mainwindow.ui -o ui_mainwindow.h
 
@@ -272,6 +285,9 @@ ui_addprofile.h: addprofile.ui
 ui_addstep.h: addstep.ui
        /usr/bin/uic addstep.ui -o ui_addstep.h
 
+ui_aboutdialog.h: aboutdialog.ui
+       /usr/bin/uic aboutdialog.ui -o ui_aboutdialog.h
+
 compiler_yacc_decl_make_all:
 compiler_yacc_decl_clean:
 compiler_yacc_impl_make_all:
@@ -299,7 +315,8 @@ mainwindow.o: mainwindow.cpp mainwindow.h \
                confmanager.h \
                dbusutility.h \
                ui_mainwindow.h \
-               xmlutil.h
+               xmlutil.h \
+               aboutdialog.h
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp
 
 xmlutil.o: xmlutil.cpp xmlutil.h \
@@ -334,6 +351,10 @@ confmanager.o: confmanager.cpp confmanager.h \
                dbusutility.h
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o confmanager.o confmanager.cpp
 
+aboutdialog.o: aboutdialog.cpp aboutdialog.h \
+               ui_aboutdialog.h
+       $(CXX) -c $(CXXFLAGS) $(INCPATH) -o aboutdialog.o aboutdialog.cpp
+
 moc_mainwindow.o: moc_mainwindow.cpp 
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp
 
@@ -355,11 +376,34 @@ moc_addstep.o: moc_addstep.cpp
 moc_confmanager.o: moc_confmanager.cpp 
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_confmanager.o moc_confmanager.cpp
 
+moc_aboutdialog.o: moc_aboutdialog.cpp 
+       $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_aboutdialog.o moc_aboutdialog.cpp
+
 ####### Install
 
-install:   FORCE
+install_target: first FORCE
+       @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/bin/ 
+       -$(INSTALL_PROGRAM) "../$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
+       -$(STRIP) "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
+
+uninstall_target:  FORCE
+       -$(DEL_FILE) "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
+       -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/bin/ 
+
+
+install_desktop: first FORCE
+       @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/applications/hildon/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/applications/hildon/ 
+       -$(INSTALL_FILE) /home/naresh/dev/confmgr-0.1/src/confmgr.desktop $(INSTALL_ROOT)/usr/local/share/applications/hildon/
+
+
+uninstall_desktop:  FORCE
+       -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/applications/hildon/confmgr.desktop
+       -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/share/applications/hildon/ 
+
+
+install:  install_target install_desktop  FORCE
 
-uninstall:   FORCE
+uninstall: uninstall_target uninstall_desktop   FORCE
 
 FORCE:
 
diff --git a/src/aboutdialog.cpp b/src/aboutdialog.cpp
new file mode 100644 (file)
index 0000000..cca3b84
--- /dev/null
@@ -0,0 +1,14 @@
+#include "aboutdialog.h"
+#include "ui_aboutdialog.h"
+
+AboutDialog::AboutDialog(QWidget *parent) :
+    QDialog(parent),
+    ui(new Ui::AboutDialog)
+{
+    ui->setupUi(this);
+}
+
+AboutDialog::~AboutDialog()
+{
+    delete ui;
+}
diff --git a/src/aboutdialog.h b/src/aboutdialog.h
new file mode 100644 (file)
index 0000000..c4073ba
--- /dev/null
@@ -0,0 +1,22 @@
+#ifndef ABOUTDIALOG_H
+#define ABOUTDIALOG_H
+
+#include <QDialog>
+
+namespace Ui {
+    class AboutDialog;
+}
+
+class AboutDialog : public QDialog
+{
+    Q_OBJECT
+
+public:
+    explicit AboutDialog(QWidget *parent = 0);
+    ~AboutDialog();
+
+private:
+    Ui::AboutDialog *ui;
+};
+
+#endif // ABOUTDIALOG_H
diff --git a/src/aboutdialog.ui b/src/aboutdialog.ui
new file mode 100644 (file)
index 0000000..86bd041
--- /dev/null
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>AboutDialog</class>
+ <widget class="QDialog" name="AboutDialog">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>637</width>
+    <height>237</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>About Conference Manager</string>
+  </property>
+  <widget class="QLabel" name="label">
+   <property name="geometry">
+    <rect>
+     <x>10</x>
+     <y>20</y>
+     <width>611</width>
+     <height>151</height>
+    </rect>
+   </property>
+   <property name="text">
+    <string>Conference Manager - Conference calling at your fingertips! 
+Developed by: Naresh Mehta (c) 2010 
+Hosted on: http://gitorious.org/confmgr 
+Visit me at: http://www.naresh.se/
+</string>
+   </property>
+  </widget>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>
index 9582a99..7e63341 100644 (file)
@@ -36,7 +36,7 @@
     <item>
      <widget class="QLineEdit" name="addStepValue">
       <property name="inputMethodHints">
-       <set>Qt::ImhDigitsOnly</set>
+       <set>Qt::ImhDialableCharactersOnly</set>
       </property>
      </widget>
     </item>
index bac22c2..6b7a6b8 100644 (file)
@@ -1,6 +1,7 @@
 #include "mainwindow.h"
 #include "ui_mainwindow.h"
 #include "xmlutil.h"
+#include "aboutdialog.h"
 #include <QDebug>
 #include <QMessageBox>
 
@@ -11,6 +12,10 @@ MainWindow::MainWindow(QWidget *parent) :
     ui->setupUi(this);
     connect(&mFrmAddProfile, SIGNAL(ProfileAddedSuccessfully(Profile)),
             this, SLOT(updateProfileList(Profile)));
+/*
+    connect(&ui->mainMenuAbout, SIGNAL(Triggered(QAction*)),
+            this, SLOT(mainAboutClickedSlot()));
+*/
     Initialize();
 }
 
@@ -108,17 +113,23 @@ void MainWindow::on_mainPBEditProfile_clicked()
     mFrmAddProfile.showProfile(p);
 }
 
-void MainWindow::on_mainPBAbout_clicked()
-{
-    QMessageBox msg;
-    msg.setText("A nice screen yet to be implemented!");
-    msg.exec();
-    return;
-}
-
 void MainWindow::on_mainPBQuit_clicked()
 {
     mConfig.writeAllProfiles();
     mConfig.closeConfig();
     close();
 }
+
+void MainWindow::on_actionAbout_triggered()
+{
+    AboutDialog abtdlg;
+    abtdlg.exec();
+}
+
+void MainWindow::on_actionAdd_Templated_Profile_triggered()
+{
+    QMessageBox msg;
+    msg.setText("Placeholder for a nice function yet to be implemented!");
+    msg.exec();
+    return;
+}
index 1838d09..219fdcb 100644 (file)
@@ -34,11 +34,11 @@ private:
     AddProfile mFrmAddProfile;
     bool bIsProfileEdited;
     confManager mConfMgr;
-    QMenuBar *pMenu;
 
 private slots:
+    void on_actionAdd_Templated_Profile_triggered();
+    void on_actionAbout_triggered();
     void on_mainPBQuit_clicked();
-    void on_mainPBAbout_clicked();
     void on_mainPBEditProfile_clicked();
     void on_btnmainStartConference_clicked();
     void on_mainPBDelete_clicked();
index 7683261..e4d7a3b 100644 (file)
    <string>Conference Manager</string>
   </property>
   <widget class="QWidget" name="centralWidget">
-   <widget class="QWidget" name="verticalLayoutWidget">
+   <widget class="QListWidget" name="mainProfileList">
+    <property name="geometry">
+     <rect>
+      <x>25</x>
+      <y>4</y>
+      <width>751</width>
+      <height>241</height>
+     </rect>
+    </property>
+   </widget>
+   <widget class="QWidget" name="verticalLayoutWidget_2">
     <property name="geometry">
      <rect>
-      <x>26</x>
+      <x>535</x>
       <y>260</y>
       <width>241</width>
       <height>141</height>
      </rect>
     </property>
-    <layout class="QVBoxLayout" name="verticalLayout">
-     <property name="sizeConstraint">
-      <enum>QLayout::SetDefaultConstraint</enum>
-     </property>
+    <layout class="QVBoxLayout" name="verticalLayout_2">
      <item>
-      <widget class="QPushButton" name="btnmainStartConference">
+      <widget class="QPushButton" name="mainPBEditProfile">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
          <horstretch>0</horstretch>
         </sizepolicy>
        </property>
        <property name="text">
-        <string>Start Conference</string>
+        <string>Edit Profile</string>
        </property>
       </widget>
      </item>
      <item>
-      <widget class="QPushButton" name="mainPBAdd">
+      <widget class="QPushButton" name="mainPBQuit">
        <property name="sizePolicy">
-        <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+        <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="text">
-        <string>Add Profile</string>
+        <string>Exit</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
-   <widget class="QListWidget" name="mainProfileList">
+   <widget class="QWidget" name="horizontalLayoutWidget_2">
     <property name="geometry">
      <rect>
-      <x>25</x>
-      <y>4</y>
-      <width>751</width>
-      <height>241</height>
-     </rect>
-    </property>
-   </widget>
-   <widget class="QWidget" name="verticalLayoutWidget_2">
-    <property name="geometry">
-     <rect>
-      <x>535</x>
+      <x>31</x>
       <y>260</y>
-      <width>241</width>
-      <height>141</height>
+      <width>491</width>
+      <height>71</height>
      </rect>
     </property>
-    <layout class="QVBoxLayout" name="verticalLayout_2">
+    <layout class="QHBoxLayout" name="horizontalLayout_2">
      <item>
-      <widget class="QPushButton" name="mainPBAbout">
+      <widget class="QPushButton" name="btnmainStartConference">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
          <horstretch>0</horstretch>
         </sizepolicy>
        </property>
        <property name="text">
-        <string>About</string>
+        <string>Start Conference</string>
        </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QPushButton" name="mainPBQuit">
-       <property name="sizePolicy">
-        <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
-         <horstretch>0</horstretch>
-         <verstretch>0</verstretch>
-        </sizepolicy>
+       <property name="autoDefault">
+        <bool>true</bool>
        </property>
-       <property name="text">
-        <string>Exit</string>
+       <property name="default">
+        <bool>true</bool>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
-   <widget class="QWidget" name="verticalLayoutWidget_3">
+   <widget class="QWidget" name="horizontalLayoutWidget">
     <property name="geometry">
      <rect>
-      <x>281</x>
-      <y>260</y>
-      <width>241</width>
-      <height>141</height>
+      <x>30</x>
+      <y>340</y>
+      <width>491</width>
+      <height>61</height>
      </rect>
     </property>
-    <layout class="QVBoxLayout" name="verticalLayout_3">
+    <layout class="QHBoxLayout" name="horizontalLayout">
      <item>
-      <widget class="QPushButton" name="mainPBEditProfile">
+      <widget class="QPushButton" name="mainPBAdd">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
          <horstretch>0</horstretch>
         </sizepolicy>
        </property>
        <property name="text">
-        <string>Edit Profile</string>
+        <string>Add Profile</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </widget>
+  <widget class="QMenuBar" name="mainMenuBar">
+   <property name="geometry">
+    <rect>
+     <x>0</x>
+     <y>0</y>
+     <width>800</width>
+     <height>25</height>
+    </rect>
+   </property>
+   <widget class="QMenu" name="mainMenuAbout">
+    <property name="title">
+     <string>About</string>
+    </property>
+    <addaction name="actionAdd_Templated_Profile"/>
+    <addaction name="actionAbout"/>
+   </widget>
+   <addaction name="mainMenuAbout"/>
+  </widget>
+  <action name="actionAbout">
+   <property name="text">
+    <string>About</string>
+   </property>
+  </action>
+  <action name="actionAdd_Templated_Profile">
+   <property name="text">
+    <string>Add Templated Profile</string>
+   </property>
+  </action>
  </widget>
  <layoutdefault spacing="6" margin="11"/>
  <resources/>
    <slot>close()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>411</x>
-     <y>440</y>
+     <x>536</x>
+     <y>424</y>
     </hint>
     <hint type="destinationlabel">
      <x>399</x>
    </hints>
   </connection>
  </connections>
+ <slots>
+  <signal>mainAboutClickedSignal()</signal>
+  <slot>mainAboutClickedSlot()</slot>
+ </slots>
 </ui>
index a3b0143..ccbdf6e 100644 (file)
@@ -20,7 +20,8 @@ SOURCES += main.cpp\
     addprofile.cpp \
     addstep.cpp \
     dbusutility.cpp \
-    confmanager.cpp
+    confmanager.cpp \
+    aboutdialog.cpp
 
 HEADERS  += mainwindow.h \
     xmlutil.h \
@@ -29,11 +30,13 @@ HEADERS  += mainwindow.h \
     addprofile.h \
     addstep.h \
     dbusutility.h \
-    confmanager.h
+    confmanager.h \
+    aboutdialog.h
 
 FORMS    += mainwindow.ui \
     addprofile.ui \
-    addstep.ui
+    addstep.ui \
+    aboutdialog.ui
 
 CONFIG += mobility
 MOBILITY = 
diff --git a/src/ui_aboutdialog.h b/src/ui_aboutdialog.h
new file mode 100644 (file)
index 0000000..3934b00
--- /dev/null
@@ -0,0 +1,60 @@
+/********************************************************************************
+** Form generated from reading UI file 'aboutdialog.ui'
+**
+** Created: Wed Nov 17 16:19:08 2010
+**      by: Qt User Interface Compiler version 4.6.2
+**
+** WARNING! All changes made in this file will be lost when recompiling UI file!
+********************************************************************************/
+
+#ifndef UI_ABOUTDIALOG_H
+#define UI_ABOUTDIALOG_H
+
+#include <QtCore/QVariant>
+#include <QtGui/QAction>
+#include <QtGui/QApplication>
+#include <QtGui/QButtonGroup>
+#include <QtGui/QDialog>
+#include <QtGui/QHeaderView>
+#include <QtGui/QLabel>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_AboutDialog
+{
+public:
+    QLabel *label;
+
+    void setupUi(QDialog *AboutDialog)
+    {
+        if (AboutDialog->objectName().isEmpty())
+            AboutDialog->setObjectName(QString::fromUtf8("AboutDialog"));
+        AboutDialog->resize(544, 198);
+        label = new QLabel(AboutDialog);
+        label->setObjectName(QString::fromUtf8("label"));
+        label->setGeometry(QRect(10, 20, 511, 111));
+
+        retranslateUi(AboutDialog);
+
+        QMetaObject::connectSlotsByName(AboutDialog);
+    } // setupUi
+
+    void retranslateUi(QDialog *AboutDialog)
+    {
+        AboutDialog->setWindowTitle(QApplication::translate("AboutDialog", "About Conference Manager", 0, QApplication::UnicodeUTF8));
+        label->setText(QApplication::translate("AboutDialog", "Conference Manager - Conference calling at your fingertips! \n"
+"Developed by: Naresh Mehta (c) 2010 \n"
+"Hosted on: http://gitorious.org/confmgr \n"
+"Visit me at: http://www.naresh.se/\n"
+"", 0, QApplication::UnicodeUTF8));
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class AboutDialog: public Ui_AboutDialog {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_ABOUTDIALOG_H
diff --git a/src/ui_addprofile.h b/src/ui_addprofile.h
new file mode 100644 (file)
index 0000000..27f43a8
--- /dev/null
@@ -0,0 +1,166 @@
+/********************************************************************************
+** Form generated from reading UI file 'addprofile.ui'
+**
+** Created: Mon Aug 9 23:18:37 2010
+**      by: Qt User Interface Compiler version 4.6.2
+**
+** WARNING! All changes made in this file will be lost when recompiling UI file!
+********************************************************************************/
+
+#ifndef UI_ADDPROFILE_H
+#define UI_ADDPROFILE_H
+
+#include <QtCore/QVariant>
+#include <QtGui/QAction>
+#include <QtGui/QApplication>
+#include <QtGui/QButtonGroup>
+#include <QtGui/QHBoxLayout>
+#include <QtGui/QHeaderView>
+#include <QtGui/QLabel>
+#include <QtGui/QLineEdit>
+#include <QtGui/QListWidget>
+#include <QtGui/QPushButton>
+#include <QtGui/QVBoxLayout>
+#include <QtGui/QWidget>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_AddProfile
+{
+public:
+    QWidget *verticalLayoutWidget;
+    QVBoxLayout *verticalLayout;
+    QPushButton *addProAddStep;
+    QPushButton *addProModifyStep;
+    QPushButton *addProRemoveStep;
+    QWidget *horizontalLayoutWidget;
+    QHBoxLayout *horizontalLayout;
+    QPushButton *addProSave;
+    QPushButton *addProCancel;
+    QWidget *horizontalLayoutWidget_2;
+    QHBoxLayout *horizontalLayout_2;
+    QLabel *label;
+    QLineEdit *addProName;
+    QWidget *verticalLayoutWidget_2;
+    QVBoxLayout *verticalLayout_2;
+    QLabel *label_2;
+    QListWidget *addProStepList;
+
+    void setupUi(QWidget *AddProfile)
+    {
+        if (AddProfile->objectName().isEmpty())
+            AddProfile->setObjectName(QString::fromUtf8("AddProfile"));
+        AddProfile->setWindowModality(Qt::ApplicationModal);
+        AddProfile->resize(800, 424);
+        AddProfile->setFocusPolicy(Qt::TabFocus);
+        verticalLayoutWidget = new QWidget(AddProfile);
+        verticalLayoutWidget->setObjectName(QString::fromUtf8("verticalLayoutWidget"));
+        verticalLayoutWidget->setGeometry(QRect(560, 80, 211, 231));
+        verticalLayout = new QVBoxLayout(verticalLayoutWidget);
+        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
+        verticalLayout->setContentsMargins(0, 0, 0, 0);
+        addProAddStep = new QPushButton(verticalLayoutWidget);
+        addProAddStep->setObjectName(QString::fromUtf8("addProAddStep"));
+        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
+        sizePolicy.setHorizontalStretch(0);
+        sizePolicy.setVerticalStretch(0);
+        sizePolicy.setHeightForWidth(addProAddStep->sizePolicy().hasHeightForWidth());
+        addProAddStep->setSizePolicy(sizePolicy);
+
+        verticalLayout->addWidget(addProAddStep);
+
+        addProModifyStep = new QPushButton(verticalLayoutWidget);
+        addProModifyStep->setObjectName(QString::fromUtf8("addProModifyStep"));
+        sizePolicy.setHeightForWidth(addProModifyStep->sizePolicy().hasHeightForWidth());
+        addProModifyStep->setSizePolicy(sizePolicy);
+
+        verticalLayout->addWidget(addProModifyStep);
+
+        addProRemoveStep = new QPushButton(verticalLayoutWidget);
+        addProRemoveStep->setObjectName(QString::fromUtf8("addProRemoveStep"));
+        sizePolicy.setHeightForWidth(addProRemoveStep->sizePolicy().hasHeightForWidth());
+        addProRemoveStep->setSizePolicy(sizePolicy);
+
+        verticalLayout->addWidget(addProRemoveStep);
+
+        horizontalLayoutWidget = new QWidget(AddProfile);
+        horizontalLayoutWidget->setObjectName(QString::fromUtf8("horizontalLayoutWidget"));
+        horizontalLayoutWidget->setGeometry(QRect(30, 330, 741, 71));
+        horizontalLayout = new QHBoxLayout(horizontalLayoutWidget);
+        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
+        horizontalLayout->setContentsMargins(0, 0, 0, 0);
+        addProSave = new QPushButton(horizontalLayoutWidget);
+        addProSave->setObjectName(QString::fromUtf8("addProSave"));
+        sizePolicy.setHeightForWidth(addProSave->sizePolicy().hasHeightForWidth());
+        addProSave->setSizePolicy(sizePolicy);
+
+        horizontalLayout->addWidget(addProSave);
+
+        addProCancel = new QPushButton(horizontalLayoutWidget);
+        addProCancel->setObjectName(QString::fromUtf8("addProCancel"));
+        sizePolicy.setHeightForWidth(addProCancel->sizePolicy().hasHeightForWidth());
+        addProCancel->setSizePolicy(sizePolicy);
+
+        horizontalLayout->addWidget(addProCancel);
+
+        horizontalLayoutWidget_2 = new QWidget(AddProfile);
+        horizontalLayoutWidget_2->setObjectName(QString::fromUtf8("horizontalLayoutWidget_2"));
+        horizontalLayoutWidget_2->setGeometry(QRect(30, 10, 741, 61));
+        horizontalLayout_2 = new QHBoxLayout(horizontalLayoutWidget_2);
+        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
+        horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
+        label = new QLabel(horizontalLayoutWidget_2);
+        label->setObjectName(QString::fromUtf8("label"));
+
+        horizontalLayout_2->addWidget(label);
+
+        addProName = new QLineEdit(horizontalLayoutWidget_2);
+        addProName->setObjectName(QString::fromUtf8("addProName"));
+
+        horizontalLayout_2->addWidget(addProName);
+
+        verticalLayoutWidget_2 = new QWidget(AddProfile);
+        verticalLayoutWidget_2->setObjectName(QString::fromUtf8("verticalLayoutWidget_2"));
+        verticalLayoutWidget_2->setGeometry(QRect(30, 80, 511, 231));
+        verticalLayout_2 = new QVBoxLayout(verticalLayoutWidget_2);
+        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
+        verticalLayout_2->setContentsMargins(0, 0, 0, 0);
+        label_2 = new QLabel(verticalLayoutWidget_2);
+        label_2->setObjectName(QString::fromUtf8("label_2"));
+
+        verticalLayout_2->addWidget(label_2);
+
+        addProStepList = new QListWidget(verticalLayoutWidget_2);
+        addProStepList->setObjectName(QString::fromUtf8("addProStepList"));
+
+        verticalLayout_2->addWidget(addProStepList);
+
+
+        retranslateUi(AddProfile);
+        QObject::connect(addProCancel, SIGNAL(clicked()), AddProfile, SLOT(close()));
+        QObject::connect(addProAddStep, SIGNAL(clicked()), AddProfile, SLOT(showStepsUI()));
+
+        QMetaObject::connectSlotsByName(AddProfile);
+    } // setupUi
+
+    void retranslateUi(QWidget *AddProfile)
+    {
+        AddProfile->setWindowTitle(QApplication::translate("AddProfile", "AddProfile", 0, QApplication::UnicodeUTF8));
+        addProAddStep->setText(QApplication::translate("AddProfile", "Add Step", 0, QApplication::UnicodeUTF8));
+        addProModifyStep->setText(QApplication::translate("AddProfile", "Modify Step", 0, QApplication::UnicodeUTF8));
+        addProRemoveStep->setText(QApplication::translate("AddProfile", "Remove Step", 0, QApplication::UnicodeUTF8));
+        addProSave->setText(QApplication::translate("AddProfile", "Save Profile", 0, QApplication::UnicodeUTF8));
+        addProCancel->setText(QApplication::translate("AddProfile", "Cancel Operation", 0, QApplication::UnicodeUTF8));
+        label->setText(QApplication::translate("AddProfile", "Profile Name:", 0, QApplication::UnicodeUTF8));
+        label_2->setText(QApplication::translate("AddProfile", "Steps:", 0, QApplication::UnicodeUTF8));
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class AddProfile: public Ui_AddProfile {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_ADDPROFILE_H
diff --git a/src/ui_addstep.h b/src/ui_addstep.h
new file mode 100644 (file)
index 0000000..25a557a
--- /dev/null
@@ -0,0 +1,154 @@
+/********************************************************************************
+** Form generated from reading UI file 'addstep.ui'
+**
+** Created: Thu Nov 11 12:46:30 2010
+**      by: Qt User Interface Compiler version 4.6.2
+**
+** WARNING! All changes made in this file will be lost when recompiling UI file!
+********************************************************************************/
+
+#ifndef UI_ADDSTEP_H
+#define UI_ADDSTEP_H
+
+#include <QtCore/QVariant>
+#include <QtGui/QAction>
+#include <QtGui/QApplication>
+#include <QtGui/QButtonGroup>
+#include <QtGui/QHBoxLayout>
+#include <QtGui/QHeaderView>
+#include <QtGui/QLabel>
+#include <QtGui/QLineEdit>
+#include <QtGui/QPushButton>
+#include <QtGui/QVBoxLayout>
+#include <QtGui/QWidget>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_AddStep
+{
+public:
+    QWidget *horizontalLayoutWidget;
+    QHBoxLayout *horizontalLayout;
+    QLabel *label;
+    QLineEdit *addStepValue;
+    QWidget *horizontalLayoutWidget_2;
+    QHBoxLayout *horizontalLayout_2;
+    QLabel *label_2;
+    QLineEdit *addStepDelay;
+    QLabel *label_4;
+    QWidget *horizontalLayoutWidget_3;
+    QHBoxLayout *horizontalLayout_3;
+    QPushButton *btnaddStep;
+    QPushButton *btnCancel;
+    QWidget *verticalLayoutWidget;
+    QVBoxLayout *verticalLayout;
+    QLabel *label_3;
+
+    void setupUi(QWidget *AddStep)
+    {
+        if (AddStep->objectName().isEmpty())
+            AddStep->setObjectName(QString::fromUtf8("AddStep"));
+        AddStep->setWindowModality(Qt::ApplicationModal);
+        AddStep->resize(800, 424);
+        horizontalLayoutWidget = new QWidget(AddStep);
+        horizontalLayoutWidget->setObjectName(QString::fromUtf8("horizontalLayoutWidget"));
+        horizontalLayoutWidget->setGeometry(QRect(30, 170, 741, 71));
+        horizontalLayout = new QHBoxLayout(horizontalLayoutWidget);
+        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
+        horizontalLayout->setContentsMargins(0, 0, 0, 0);
+        label = new QLabel(horizontalLayoutWidget);
+        label->setObjectName(QString::fromUtf8("label"));
+
+        horizontalLayout->addWidget(label);
+
+        addStepValue = new QLineEdit(horizontalLayoutWidget);
+        addStepValue->setObjectName(QString::fromUtf8("addStepValue"));
+        addStepValue->setInputMethodHints(Qt::ImhDialableCharactersOnly);
+
+        horizontalLayout->addWidget(addStepValue);
+
+        horizontalLayoutWidget_2 = new QWidget(AddStep);
+        horizontalLayoutWidget_2->setObjectName(QString::fromUtf8("horizontalLayoutWidget_2"));
+        horizontalLayoutWidget_2->setGeometry(QRect(31, 250, 281, 71));
+        horizontalLayout_2 = new QHBoxLayout(horizontalLayoutWidget_2);
+        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
+        horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
+        label_2 = new QLabel(horizontalLayoutWidget_2);
+        label_2->setObjectName(QString::fromUtf8("label_2"));
+
+        horizontalLayout_2->addWidget(label_2);
+
+        addStepDelay = new QLineEdit(horizontalLayoutWidget_2);
+        addStepDelay->setObjectName(QString::fromUtf8("addStepDelay"));
+        addStepDelay->setInputMethodHints(Qt::ImhDigitsOnly);
+
+        horizontalLayout_2->addWidget(addStepDelay);
+
+        label_4 = new QLabel(horizontalLayoutWidget_2);
+        label_4->setObjectName(QString::fromUtf8("label_4"));
+
+        horizontalLayout_2->addWidget(label_4);
+
+        horizontalLayoutWidget_3 = new QWidget(AddStep);
+        horizontalLayoutWidget_3->setObjectName(QString::fromUtf8("horizontalLayoutWidget_3"));
+        horizontalLayoutWidget_3->setGeometry(QRect(30, 330, 741, 71));
+        horizontalLayout_3 = new QHBoxLayout(horizontalLayoutWidget_3);
+        horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
+        horizontalLayout_3->setContentsMargins(0, 0, 0, 0);
+        btnaddStep = new QPushButton(horizontalLayoutWidget_3);
+        btnaddStep->setObjectName(QString::fromUtf8("btnaddStep"));
+        QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred);
+        sizePolicy.setHorizontalStretch(0);
+        sizePolicy.setVerticalStretch(0);
+        sizePolicy.setHeightForWidth(btnaddStep->sizePolicy().hasHeightForWidth());
+        btnaddStep->setSizePolicy(sizePolicy);
+
+        horizontalLayout_3->addWidget(btnaddStep);
+
+        btnCancel = new QPushButton(horizontalLayoutWidget_3);
+        btnCancel->setObjectName(QString::fromUtf8("btnCancel"));
+        sizePolicy.setHeightForWidth(btnCancel->sizePolicy().hasHeightForWidth());
+        btnCancel->setSizePolicy(sizePolicy);
+
+        horizontalLayout_3->addWidget(btnCancel);
+
+        verticalLayoutWidget = new QWidget(AddStep);
+        verticalLayoutWidget->setObjectName(QString::fromUtf8("verticalLayoutWidget"));
+        verticalLayoutWidget->setGeometry(QRect(30, 9, 741, 151));
+        verticalLayout = new QVBoxLayout(verticalLayoutWidget);
+        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
+        verticalLayout->setContentsMargins(0, 0, 0, 0);
+        label_3 = new QLabel(verticalLayoutWidget);
+        label_3->setObjectName(QString::fromUtf8("label_3"));
+        label_3->setWordWrap(true);
+
+        verticalLayout->addWidget(label_3);
+
+
+        retranslateUi(AddStep);
+        QObject::connect(btnCancel, SIGNAL(clicked()), AddStep, SLOT(close()));
+        QObject::connect(btnaddStep, SIGNAL(clicked()), AddStep, SLOT(AddOperationStep()));
+
+        QMetaObject::connectSlotsByName(AddStep);
+    } // setupUi
+
+    void retranslateUi(QWidget *AddStep)
+    {
+        AddStep->setWindowTitle(QApplication::translate("AddStep", "AddStep", 0, QApplication::UnicodeUTF8));
+        label->setText(QApplication::translate("AddStep", "Value:", 0, QApplication::UnicodeUTF8));
+        label_2->setText(QApplication::translate("AddStep", "Delay:", 0, QApplication::UnicodeUTF8));
+        label_4->setText(QApplication::translate("AddStep", "Seconds", 0, QApplication::UnicodeUTF8));
+        btnaddStep->setText(QApplication::translate("AddStep", "Add Step", 0, QApplication::UnicodeUTF8));
+        btnCancel->setText(QApplication::translate("AddStep", "Cancel Operation", 0, QApplication::UnicodeUTF8));
+        label_3->setText(QApplication::translate("AddStep", "The Value field is a phone number or DTMF tones. Include characters like *, + or # in the Value as and when they are required. The Delay in seconds shows the time allowed to lapse before dialing the corresponding value. The first step typically has 0 delay with the conference number as a value.", 0, QApplication::UnicodeUTF8));
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class AddStep: public Ui_AddStep {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_ADDSTEP_H
diff --git a/src/ui_mainwindow.h b/src/ui_mainwindow.h
new file mode 100644 (file)
index 0000000..277d508
--- /dev/null
@@ -0,0 +1,170 @@
+/********************************************************************************
+** Form generated from reading UI file 'mainwindow.ui'
+**
+** Created: Wed Nov 17 16:14:19 2010
+**      by: Qt User Interface Compiler version 4.6.2
+**
+** WARNING! All changes made in this file will be lost when recompiling UI file!
+********************************************************************************/
+
+#ifndef UI_MAINWINDOW_H
+#define UI_MAINWINDOW_H
+
+#include <QtCore/QVariant>
+#include <QtGui/QAction>
+#include <QtGui/QApplication>
+#include <QtGui/QButtonGroup>
+#include <QtGui/QHBoxLayout>
+#include <QtGui/QHeaderView>
+#include <QtGui/QListWidget>
+#include <QtGui/QMainWindow>
+#include <QtGui/QMenu>
+#include <QtGui/QMenuBar>
+#include <QtGui/QPushButton>
+#include <QtGui/QVBoxLayout>
+#include <QtGui/QWidget>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_MainWindow
+{
+public:
+    QAction *actionAbout;
+    QAction *actionAdd_Templated_Profile;
+    QWidget *centralWidget;
+    QListWidget *mainProfileList;
+    QWidget *verticalLayoutWidget_2;
+    QVBoxLayout *verticalLayout_2;
+    QPushButton *mainPBEditProfile;
+    QPushButton *mainPBQuit;
+    QWidget *horizontalLayoutWidget_2;
+    QHBoxLayout *horizontalLayout_2;
+    QPushButton *btnmainStartConference;
+    QWidget *horizontalLayoutWidget;
+    QHBoxLayout *horizontalLayout;
+    QPushButton *mainPBAdd;
+    QPushButton *mainPBDelete;
+    QMenuBar *mainMenuBar;
+    QMenu *mainMenuAbout;
+
+    void setupUi(QMainWindow *MainWindow)
+    {
+        if (MainWindow->objectName().isEmpty())
+            MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
+        MainWindow->resize(800, 424);
+        actionAbout = new QAction(MainWindow);
+        actionAbout->setObjectName(QString::fromUtf8("actionAbout"));
+        actionAdd_Templated_Profile = new QAction(MainWindow);
+        actionAdd_Templated_Profile->setObjectName(QString::fromUtf8("actionAdd_Templated_Profile"));
+        centralWidget = new QWidget(MainWindow);
+        centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
+        mainProfileList = new QListWidget(centralWidget);
+        mainProfileList->setObjectName(QString::fromUtf8("mainProfileList"));
+        mainProfileList->setGeometry(QRect(25, 4, 751, 241));
+        verticalLayoutWidget_2 = new QWidget(centralWidget);
+        verticalLayoutWidget_2->setObjectName(QString::fromUtf8("verticalLayoutWidget_2"));
+        verticalLayoutWidget_2->setGeometry(QRect(535, 260, 241, 141));
+        verticalLayout_2 = new QVBoxLayout(verticalLayoutWidget_2);
+        verticalLayout_2->setSpacing(6);
+        verticalLayout_2->setContentsMargins(11, 11, 11, 11);
+        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
+        verticalLayout_2->setContentsMargins(0, 0, 0, 0);
+        mainPBEditProfile = new QPushButton(verticalLayoutWidget_2);
+        mainPBEditProfile->setObjectName(QString::fromUtf8("mainPBEditProfile"));
+        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
+        sizePolicy.setHorizontalStretch(0);
+        sizePolicy.setVerticalStretch(0);
+        sizePolicy.setHeightForWidth(mainPBEditProfile->sizePolicy().hasHeightForWidth());
+        mainPBEditProfile->setSizePolicy(sizePolicy);
+
+        verticalLayout_2->addWidget(mainPBEditProfile);
+
+        mainPBQuit = new QPushButton(verticalLayoutWidget_2);
+        mainPBQuit->setObjectName(QString::fromUtf8("mainPBQuit"));
+        QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Preferred);
+        sizePolicy1.setHorizontalStretch(0);
+        sizePolicy1.setVerticalStretch(0);
+        sizePolicy1.setHeightForWidth(mainPBQuit->sizePolicy().hasHeightForWidth());
+        mainPBQuit->setSizePolicy(sizePolicy1);
+
+        verticalLayout_2->addWidget(mainPBQuit);
+
+        horizontalLayoutWidget_2 = new QWidget(centralWidget);
+        horizontalLayoutWidget_2->setObjectName(QString::fromUtf8("horizontalLayoutWidget_2"));
+        horizontalLayoutWidget_2->setGeometry(QRect(31, 260, 491, 71));
+        horizontalLayout_2 = new QHBoxLayout(horizontalLayoutWidget_2);
+        horizontalLayout_2->setSpacing(6);
+        horizontalLayout_2->setContentsMargins(11, 11, 11, 11);
+        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
+        horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
+        btnmainStartConference = new QPushButton(horizontalLayoutWidget_2);
+        btnmainStartConference->setObjectName(QString::fromUtf8("btnmainStartConference"));
+        sizePolicy.setHeightForWidth(btnmainStartConference->sizePolicy().hasHeightForWidth());
+        btnmainStartConference->setSizePolicy(sizePolicy);
+        btnmainStartConference->setAutoDefault(true);
+        btnmainStartConference->setDefault(true);
+
+        horizontalLayout_2->addWidget(btnmainStartConference);
+
+        horizontalLayoutWidget = new QWidget(centralWidget);
+        horizontalLayoutWidget->setObjectName(QString::fromUtf8("horizontalLayoutWidget"));
+        horizontalLayoutWidget->setGeometry(QRect(30, 340, 491, 61));
+        horizontalLayout = new QHBoxLayout(horizontalLayoutWidget);
+        horizontalLayout->setSpacing(6);
+        horizontalLayout->setContentsMargins(11, 11, 11, 11);
+        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
+        horizontalLayout->setContentsMargins(0, 0, 0, 0);
+        mainPBAdd = new QPushButton(horizontalLayoutWidget);
+        mainPBAdd->setObjectName(QString::fromUtf8("mainPBAdd"));
+        sizePolicy.setHeightForWidth(mainPBAdd->sizePolicy().hasHeightForWidth());
+        mainPBAdd->setSizePolicy(sizePolicy);
+
+        horizontalLayout->addWidget(mainPBAdd);
+
+        mainPBDelete = new QPushButton(horizontalLayoutWidget);
+        mainPBDelete->setObjectName(QString::fromUtf8("mainPBDelete"));
+        sizePolicy1.setHeightForWidth(mainPBDelete->sizePolicy().hasHeightForWidth());
+        mainPBDelete->setSizePolicy(sizePolicy1);
+
+        horizontalLayout->addWidget(mainPBDelete);
+
+        MainWindow->setCentralWidget(centralWidget);
+        mainMenuBar = new QMenuBar(MainWindow);
+        mainMenuBar->setObjectName(QString::fromUtf8("mainMenuBar"));
+        mainMenuBar->setGeometry(QRect(0, 0, 800, 25));
+        mainMenuAbout = new QMenu(mainMenuBar);
+        mainMenuAbout->setObjectName(QString::fromUtf8("mainMenuAbout"));
+        MainWindow->setMenuBar(mainMenuBar);
+
+        mainMenuBar->addAction(mainMenuAbout->menuAction());
+        mainMenuAbout->addAction(actionAdd_Templated_Profile);
+        mainMenuAbout->addAction(actionAbout);
+
+        retranslateUi(MainWindow);
+        QObject::connect(mainPBQuit, SIGNAL(clicked()), MainWindow, SLOT(close()));
+
+        QMetaObject::connectSlotsByName(MainWindow);
+    } // setupUi
+
+    void retranslateUi(QMainWindow *MainWindow)
+    {
+        MainWindow->setWindowTitle(QApplication::translate("MainWindow", "Conference Manager", 0, QApplication::UnicodeUTF8));
+        actionAbout->setText(QApplication::translate("MainWindow", "About", 0, QApplication::UnicodeUTF8));
+        actionAdd_Templated_Profile->setText(QApplication::translate("MainWindow", "Add Templated Profile", 0, QApplication::UnicodeUTF8));
+        mainPBEditProfile->setText(QApplication::translate("MainWindow", "Edit Profile", 0, QApplication::UnicodeUTF8));
+        mainPBQuit->setText(QApplication::translate("MainWindow", "Exit", 0, QApplication::UnicodeUTF8));
+        btnmainStartConference->setText(QApplication::translate("MainWindow", "Start Conference", 0, QApplication::UnicodeUTF8));
+        mainPBAdd->setText(QApplication::translate("MainWindow", "Add Profile", 0, QApplication::UnicodeUTF8));
+        mainPBDelete->setText(QApplication::translate("MainWindow", "Delete Profile", 0, QApplication::UnicodeUTF8));
+        mainMenuAbout->setTitle(QApplication::translate("MainWindow", "About", 0, QApplication::UnicodeUTF8));
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class MainWindow: public Ui_MainWindow {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_MAINWINDOW_H
diff --git a/ui_aboutdialog.h b/ui_aboutdialog.h
new file mode 100644 (file)
index 0000000..3934b00
--- /dev/null
@@ -0,0 +1,60 @@
+/********************************************************************************
+** Form generated from reading UI file 'aboutdialog.ui'
+**
+** Created: Wed Nov 17 16:19:08 2010
+**      by: Qt User Interface Compiler version 4.6.2
+**
+** WARNING! All changes made in this file will be lost when recompiling UI file!
+********************************************************************************/
+
+#ifndef UI_ABOUTDIALOG_H
+#define UI_ABOUTDIALOG_H
+
+#include <QtCore/QVariant>
+#include <QtGui/QAction>
+#include <QtGui/QApplication>
+#include <QtGui/QButtonGroup>
+#include <QtGui/QDialog>
+#include <QtGui/QHeaderView>
+#include <QtGui/QLabel>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_AboutDialog
+{
+public:
+    QLabel *label;
+
+    void setupUi(QDialog *AboutDialog)
+    {
+        if (AboutDialog->objectName().isEmpty())
+            AboutDialog->setObjectName(QString::fromUtf8("AboutDialog"));
+        AboutDialog->resize(544, 198);
+        label = new QLabel(AboutDialog);
+        label->setObjectName(QString::fromUtf8("label"));
+        label->setGeometry(QRect(10, 20, 511, 111));
+
+        retranslateUi(AboutDialog);
+
+        QMetaObject::connectSlotsByName(AboutDialog);
+    } // setupUi
+
+    void retranslateUi(QDialog *AboutDialog)
+    {
+        AboutDialog->setWindowTitle(QApplication::translate("AboutDialog", "About Conference Manager", 0, QApplication::UnicodeUTF8));
+        label->setText(QApplication::translate("AboutDialog", "Conference Manager - Conference calling at your fingertips! \n"
+"Developed by: Naresh Mehta (c) 2010 \n"
+"Hosted on: http://gitorious.org/confmgr \n"
+"Visit me at: http://www.naresh.se/\n"
+"", 0, QApplication::UnicodeUTF8));
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class AboutDialog: public Ui_AboutDialog {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_ABOUTDIALOG_H
diff --git a/ui_addprofile.h b/ui_addprofile.h
new file mode 100644 (file)
index 0000000..27f43a8
--- /dev/null
@@ -0,0 +1,166 @@
+/********************************************************************************
+** Form generated from reading UI file 'addprofile.ui'
+**
+** Created: Mon Aug 9 23:18:37 2010
+**      by: Qt User Interface Compiler version 4.6.2
+**
+** WARNING! All changes made in this file will be lost when recompiling UI file!
+********************************************************************************/
+
+#ifndef UI_ADDPROFILE_H
+#define UI_ADDPROFILE_H
+
+#include <QtCore/QVariant>
+#include <QtGui/QAction>
+#include <QtGui/QApplication>
+#include <QtGui/QButtonGroup>
+#include <QtGui/QHBoxLayout>
+#include <QtGui/QHeaderView>
+#include <QtGui/QLabel>
+#include <QtGui/QLineEdit>
+#include <QtGui/QListWidget>
+#include <QtGui/QPushButton>
+#include <QtGui/QVBoxLayout>
+#include <QtGui/QWidget>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_AddProfile
+{
+public:
+    QWidget *verticalLayoutWidget;
+    QVBoxLayout *verticalLayout;
+    QPushButton *addProAddStep;
+    QPushButton *addProModifyStep;
+    QPushButton *addProRemoveStep;
+    QWidget *horizontalLayoutWidget;
+    QHBoxLayout *horizontalLayout;
+    QPushButton *addProSave;
+    QPushButton *addProCancel;
+    QWidget *horizontalLayoutWidget_2;
+    QHBoxLayout *horizontalLayout_2;
+    QLabel *label;
+    QLineEdit *addProName;
+    QWidget *verticalLayoutWidget_2;
+    QVBoxLayout *verticalLayout_2;
+    QLabel *label_2;
+    QListWidget *addProStepList;
+
+    void setupUi(QWidget *AddProfile)
+    {
+        if (AddProfile->objectName().isEmpty())
+            AddProfile->setObjectName(QString::fromUtf8("AddProfile"));
+        AddProfile->setWindowModality(Qt::ApplicationModal);
+        AddProfile->resize(800, 424);
+        AddProfile->setFocusPolicy(Qt::TabFocus);
+        verticalLayoutWidget = new QWidget(AddProfile);
+        verticalLayoutWidget->setObjectName(QString::fromUtf8("verticalLayoutWidget"));
+        verticalLayoutWidget->setGeometry(QRect(560, 80, 211, 231));
+        verticalLayout = new QVBoxLayout(verticalLayoutWidget);
+        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
+        verticalLayout->setContentsMargins(0, 0, 0, 0);
+        addProAddStep = new QPushButton(verticalLayoutWidget);
+        addProAddStep->setObjectName(QString::fromUtf8("addProAddStep"));
+        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
+        sizePolicy.setHorizontalStretch(0);
+        sizePolicy.setVerticalStretch(0);
+        sizePolicy.setHeightForWidth(addProAddStep->sizePolicy().hasHeightForWidth());
+        addProAddStep->setSizePolicy(sizePolicy);
+
+        verticalLayout->addWidget(addProAddStep);
+
+        addProModifyStep = new QPushButton(verticalLayoutWidget);
+        addProModifyStep->setObjectName(QString::fromUtf8("addProModifyStep"));
+        sizePolicy.setHeightForWidth(addProModifyStep->sizePolicy().hasHeightForWidth());
+        addProModifyStep->setSizePolicy(sizePolicy);
+
+        verticalLayout->addWidget(addProModifyStep);
+
+        addProRemoveStep = new QPushButton(verticalLayoutWidget);
+        addProRemoveStep->setObjectName(QString::fromUtf8("addProRemoveStep"));
+        sizePolicy.setHeightForWidth(addProRemoveStep->sizePolicy().hasHeightForWidth());
+        addProRemoveStep->setSizePolicy(sizePolicy);
+
+        verticalLayout->addWidget(addProRemoveStep);
+
+        horizontalLayoutWidget = new QWidget(AddProfile);
+        horizontalLayoutWidget->setObjectName(QString::fromUtf8("horizontalLayoutWidget"));
+        horizontalLayoutWidget->setGeometry(QRect(30, 330, 741, 71));
+        horizontalLayout = new QHBoxLayout(horizontalLayoutWidget);
+        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
+        horizontalLayout->setContentsMargins(0, 0, 0, 0);
+        addProSave = new QPushButton(horizontalLayoutWidget);
+        addProSave->setObjectName(QString::fromUtf8("addProSave"));
+        sizePolicy.setHeightForWidth(addProSave->sizePolicy().hasHeightForWidth());
+        addProSave->setSizePolicy(sizePolicy);
+
+        horizontalLayout->addWidget(addProSave);
+
+        addProCancel = new QPushButton(horizontalLayoutWidget);
+        addProCancel->setObjectName(QString::fromUtf8("addProCancel"));
+        sizePolicy.setHeightForWidth(addProCancel->sizePolicy().hasHeightForWidth());
+        addProCancel->setSizePolicy(sizePolicy);
+
+        horizontalLayout->addWidget(addProCancel);
+
+        horizontalLayoutWidget_2 = new QWidget(AddProfile);
+        horizontalLayoutWidget_2->setObjectName(QString::fromUtf8("horizontalLayoutWidget_2"));
+        horizontalLayoutWidget_2->setGeometry(QRect(30, 10, 741, 61));
+        horizontalLayout_2 = new QHBoxLayout(horizontalLayoutWidget_2);
+        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
+        horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
+        label = new QLabel(horizontalLayoutWidget_2);
+        label->setObjectName(QString::fromUtf8("label"));
+
+        horizontalLayout_2->addWidget(label);
+
+        addProName = new QLineEdit(horizontalLayoutWidget_2);
+        addProName->setObjectName(QString::fromUtf8("addProName"));
+
+        horizontalLayout_2->addWidget(addProName);
+
+        verticalLayoutWidget_2 = new QWidget(AddProfile);
+        verticalLayoutWidget_2->setObjectName(QString::fromUtf8("verticalLayoutWidget_2"));
+        verticalLayoutWidget_2->setGeometry(QRect(30, 80, 511, 231));
+        verticalLayout_2 = new QVBoxLayout(verticalLayoutWidget_2);
+        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
+        verticalLayout_2->setContentsMargins(0, 0, 0, 0);
+        label_2 = new QLabel(verticalLayoutWidget_2);
+        label_2->setObjectName(QString::fromUtf8("label_2"));
+
+        verticalLayout_2->addWidget(label_2);
+
+        addProStepList = new QListWidget(verticalLayoutWidget_2);
+        addProStepList->setObjectName(QString::fromUtf8("addProStepList"));
+
+        verticalLayout_2->addWidget(addProStepList);
+
+
+        retranslateUi(AddProfile);
+        QObject::connect(addProCancel, SIGNAL(clicked()), AddProfile, SLOT(close()));
+        QObject::connect(addProAddStep, SIGNAL(clicked()), AddProfile, SLOT(showStepsUI()));
+
+        QMetaObject::connectSlotsByName(AddProfile);
+    } // setupUi
+
+    void retranslateUi(QWidget *AddProfile)
+    {
+        AddProfile->setWindowTitle(QApplication::translate("AddProfile", "AddProfile", 0, QApplication::UnicodeUTF8));
+        addProAddStep->setText(QApplication::translate("AddProfile", "Add Step", 0, QApplication::UnicodeUTF8));
+        addProModifyStep->setText(QApplication::translate("AddProfile", "Modify Step", 0, QApplication::UnicodeUTF8));
+        addProRemoveStep->setText(QApplication::translate("AddProfile", "Remove Step", 0, QApplication::UnicodeUTF8));
+        addProSave->setText(QApplication::translate("AddProfile", "Save Profile", 0, QApplication::UnicodeUTF8));
+        addProCancel->setText(QApplication::translate("AddProfile", "Cancel Operation", 0, QApplication::UnicodeUTF8));
+        label->setText(QApplication::translate("AddProfile", "Profile Name:", 0, QApplication::UnicodeUTF8));
+        label_2->setText(QApplication::translate("AddProfile", "Steps:", 0, QApplication::UnicodeUTF8));
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class AddProfile: public Ui_AddProfile {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_ADDPROFILE_H
diff --git a/ui_addstep.h b/ui_addstep.h
new file mode 100644 (file)
index 0000000..25a557a
--- /dev/null
@@ -0,0 +1,154 @@
+/********************************************************************************
+** Form generated from reading UI file 'addstep.ui'
+**
+** Created: Thu Nov 11 12:46:30 2010
+**      by: Qt User Interface Compiler version 4.6.2
+**
+** WARNING! All changes made in this file will be lost when recompiling UI file!
+********************************************************************************/
+
+#ifndef UI_ADDSTEP_H
+#define UI_ADDSTEP_H
+
+#include <QtCore/QVariant>
+#include <QtGui/QAction>
+#include <QtGui/QApplication>
+#include <QtGui/QButtonGroup>
+#include <QtGui/QHBoxLayout>
+#include <QtGui/QHeaderView>
+#include <QtGui/QLabel>
+#include <QtGui/QLineEdit>
+#include <QtGui/QPushButton>
+#include <QtGui/QVBoxLayout>
+#include <QtGui/QWidget>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_AddStep
+{
+public:
+    QWidget *horizontalLayoutWidget;
+    QHBoxLayout *horizontalLayout;
+    QLabel *label;
+    QLineEdit *addStepValue;
+    QWidget *horizontalLayoutWidget_2;
+    QHBoxLayout *horizontalLayout_2;
+    QLabel *label_2;
+    QLineEdit *addStepDelay;
+    QLabel *label_4;
+    QWidget *horizontalLayoutWidget_3;
+    QHBoxLayout *horizontalLayout_3;
+    QPushButton *btnaddStep;
+    QPushButton *btnCancel;
+    QWidget *verticalLayoutWidget;
+    QVBoxLayout *verticalLayout;
+    QLabel *label_3;
+
+    void setupUi(QWidget *AddStep)
+    {
+        if (AddStep->objectName().isEmpty())
+            AddStep->setObjectName(QString::fromUtf8("AddStep"));
+        AddStep->setWindowModality(Qt::ApplicationModal);
+        AddStep->resize(800, 424);
+        horizontalLayoutWidget = new QWidget(AddStep);
+        horizontalLayoutWidget->setObjectName(QString::fromUtf8("horizontalLayoutWidget"));
+        horizontalLayoutWidget->setGeometry(QRect(30, 170, 741, 71));
+        horizontalLayout = new QHBoxLayout(horizontalLayoutWidget);
+        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
+        horizontalLayout->setContentsMargins(0, 0, 0, 0);
+        label = new QLabel(horizontalLayoutWidget);
+        label->setObjectName(QString::fromUtf8("label"));
+
+        horizontalLayout->addWidget(label);
+
+        addStepValue = new QLineEdit(horizontalLayoutWidget);
+        addStepValue->setObjectName(QString::fromUtf8("addStepValue"));
+        addStepValue->setInputMethodHints(Qt::ImhDialableCharactersOnly);
+
+        horizontalLayout->addWidget(addStepValue);
+
+        horizontalLayoutWidget_2 = new QWidget(AddStep);
+        horizontalLayoutWidget_2->setObjectName(QString::fromUtf8("horizontalLayoutWidget_2"));
+        horizontalLayoutWidget_2->setGeometry(QRect(31, 250, 281, 71));
+        horizontalLayout_2 = new QHBoxLayout(horizontalLayoutWidget_2);
+        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
+        horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
+        label_2 = new QLabel(horizontalLayoutWidget_2);
+        label_2->setObjectName(QString::fromUtf8("label_2"));
+
+        horizontalLayout_2->addWidget(label_2);
+
+        addStepDelay = new QLineEdit(horizontalLayoutWidget_2);
+        addStepDelay->setObjectName(QString::fromUtf8("addStepDelay"));
+        addStepDelay->setInputMethodHints(Qt::ImhDigitsOnly);
+
+        horizontalLayout_2->addWidget(addStepDelay);
+
+        label_4 = new QLabel(horizontalLayoutWidget_2);
+        label_4->setObjectName(QString::fromUtf8("label_4"));
+
+        horizontalLayout_2->addWidget(label_4);
+
+        horizontalLayoutWidget_3 = new QWidget(AddStep);
+        horizontalLayoutWidget_3->setObjectName(QString::fromUtf8("horizontalLayoutWidget_3"));
+        horizontalLayoutWidget_3->setGeometry(QRect(30, 330, 741, 71));
+        horizontalLayout_3 = new QHBoxLayout(horizontalLayoutWidget_3);
+        horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
+        horizontalLayout_3->setContentsMargins(0, 0, 0, 0);
+        btnaddStep = new QPushButton(horizontalLayoutWidget_3);
+        btnaddStep->setObjectName(QString::fromUtf8("btnaddStep"));
+        QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred);
+        sizePolicy.setHorizontalStretch(0);
+        sizePolicy.setVerticalStretch(0);
+        sizePolicy.setHeightForWidth(btnaddStep->sizePolicy().hasHeightForWidth());
+        btnaddStep->setSizePolicy(sizePolicy);
+
+        horizontalLayout_3->addWidget(btnaddStep);
+
+        btnCancel = new QPushButton(horizontalLayoutWidget_3);
+        btnCancel->setObjectName(QString::fromUtf8("btnCancel"));
+        sizePolicy.setHeightForWidth(btnCancel->sizePolicy().hasHeightForWidth());
+        btnCancel->setSizePolicy(sizePolicy);
+
+        horizontalLayout_3->addWidget(btnCancel);
+
+        verticalLayoutWidget = new QWidget(AddStep);
+        verticalLayoutWidget->setObjectName(QString::fromUtf8("verticalLayoutWidget"));
+        verticalLayoutWidget->setGeometry(QRect(30, 9, 741, 151));
+        verticalLayout = new QVBoxLayout(verticalLayoutWidget);
+        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
+        verticalLayout->setContentsMargins(0, 0, 0, 0);
+        label_3 = new QLabel(verticalLayoutWidget);
+        label_3->setObjectName(QString::fromUtf8("label_3"));
+        label_3->setWordWrap(true);
+
+        verticalLayout->addWidget(label_3);
+
+
+        retranslateUi(AddStep);
+        QObject::connect(btnCancel, SIGNAL(clicked()), AddStep, SLOT(close()));
+        QObject::connect(btnaddStep, SIGNAL(clicked()), AddStep, SLOT(AddOperationStep()));
+
+        QMetaObject::connectSlotsByName(AddStep);
+    } // setupUi
+
+    void retranslateUi(QWidget *AddStep)
+    {
+        AddStep->setWindowTitle(QApplication::translate("AddStep", "AddStep", 0, QApplication::UnicodeUTF8));
+        label->setText(QApplication::translate("AddStep", "Value:", 0, QApplication::UnicodeUTF8));
+        label_2->setText(QApplication::translate("AddStep", "Delay:", 0, QApplication::UnicodeUTF8));
+        label_4->setText(QApplication::translate("AddStep", "Seconds", 0, QApplication::UnicodeUTF8));
+        btnaddStep->setText(QApplication::translate("AddStep", "Add Step", 0, QApplication::UnicodeUTF8));
+        btnCancel->setText(QApplication::translate("AddStep", "Cancel Operation", 0, QApplication::UnicodeUTF8));
+        label_3->setText(QApplication::translate("AddStep", "The Value field is a phone number or DTMF tones. Include characters like *, + or # in the Value as and when they are required. The Delay in seconds shows the time allowed to lapse before dialing the corresponding value. The first step typically has 0 delay with the conference number as a value.", 0, QApplication::UnicodeUTF8));
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class AddStep: public Ui_AddStep {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_ADDSTEP_H
diff --git a/ui_mainwindow.h b/ui_mainwindow.h
new file mode 100644 (file)
index 0000000..277d508
--- /dev/null
@@ -0,0 +1,170 @@
+/********************************************************************************
+** Form generated from reading UI file 'mainwindow.ui'
+**
+** Created: Wed Nov 17 16:14:19 2010
+**      by: Qt User Interface Compiler version 4.6.2
+**
+** WARNING! All changes made in this file will be lost when recompiling UI file!
+********************************************************************************/
+
+#ifndef UI_MAINWINDOW_H
+#define UI_MAINWINDOW_H
+
+#include <QtCore/QVariant>
+#include <QtGui/QAction>
+#include <QtGui/QApplication>
+#include <QtGui/QButtonGroup>
+#include <QtGui/QHBoxLayout>
+#include <QtGui/QHeaderView>
+#include <QtGui/QListWidget>
+#include <QtGui/QMainWindow>
+#include <QtGui/QMenu>
+#include <QtGui/QMenuBar>
+#include <QtGui/QPushButton>
+#include <QtGui/QVBoxLayout>
+#include <QtGui/QWidget>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_MainWindow
+{
+public:
+    QAction *actionAbout;
+    QAction *actionAdd_Templated_Profile;
+    QWidget *centralWidget;
+    QListWidget *mainProfileList;
+    QWidget *verticalLayoutWidget_2;
+    QVBoxLayout *verticalLayout_2;
+    QPushButton *mainPBEditProfile;
+    QPushButton *mainPBQuit;
+    QWidget *horizontalLayoutWidget_2;
+    QHBoxLayout *horizontalLayout_2;
+    QPushButton *btnmainStartConference;
+    QWidget *horizontalLayoutWidget;
+    QHBoxLayout *horizontalLayout;
+    QPushButton *mainPBAdd;
+    QPushButton *mainPBDelete;
+    QMenuBar *mainMenuBar;
+    QMenu *mainMenuAbout;
+
+    void setupUi(QMainWindow *MainWindow)
+    {
+        if (MainWindow->objectName().isEmpty())
+            MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
+        MainWindow->resize(800, 424);
+        actionAbout = new QAction(MainWindow);
+        actionAbout->setObjectName(QString::fromUtf8("actionAbout"));
+        actionAdd_Templated_Profile = new QAction(MainWindow);
+        actionAdd_Templated_Profile->setObjectName(QString::fromUtf8("actionAdd_Templated_Profile"));
+        centralWidget = new QWidget(MainWindow);
+        centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
+        mainProfileList = new QListWidget(centralWidget);
+        mainProfileList->setObjectName(QString::fromUtf8("mainProfileList"));
+        mainProfileList->setGeometry(QRect(25, 4, 751, 241));
+        verticalLayoutWidget_2 = new QWidget(centralWidget);
+        verticalLayoutWidget_2->setObjectName(QString::fromUtf8("verticalLayoutWidget_2"));
+        verticalLayoutWidget_2->setGeometry(QRect(535, 260, 241, 141));
+        verticalLayout_2 = new QVBoxLayout(verticalLayoutWidget_2);
+        verticalLayout_2->setSpacing(6);
+        verticalLayout_2->setContentsMargins(11, 11, 11, 11);
+        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
+        verticalLayout_2->setContentsMargins(0, 0, 0, 0);
+        mainPBEditProfile = new QPushButton(verticalLayoutWidget_2);
+        mainPBEditProfile->setObjectName(QString::fromUtf8("mainPBEditProfile"));
+        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
+        sizePolicy.setHorizontalStretch(0);
+        sizePolicy.setVerticalStretch(0);
+        sizePolicy.setHeightForWidth(mainPBEditProfile->sizePolicy().hasHeightForWidth());
+        mainPBEditProfile->setSizePolicy(sizePolicy);
+
+        verticalLayout_2->addWidget(mainPBEditProfile);
+
+        mainPBQuit = new QPushButton(verticalLayoutWidget_2);
+        mainPBQuit->setObjectName(QString::fromUtf8("mainPBQuit"));
+        QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Preferred);
+        sizePolicy1.setHorizontalStretch(0);
+        sizePolicy1.setVerticalStretch(0);
+        sizePolicy1.setHeightForWidth(mainPBQuit->sizePolicy().hasHeightForWidth());
+        mainPBQuit->setSizePolicy(sizePolicy1);
+
+        verticalLayout_2->addWidget(mainPBQuit);
+
+        horizontalLayoutWidget_2 = new QWidget(centralWidget);
+        horizontalLayoutWidget_2->setObjectName(QString::fromUtf8("horizontalLayoutWidget_2"));
+        horizontalLayoutWidget_2->setGeometry(QRect(31, 260, 491, 71));
+        horizontalLayout_2 = new QHBoxLayout(horizontalLayoutWidget_2);
+        horizontalLayout_2->setSpacing(6);
+        horizontalLayout_2->setContentsMargins(11, 11, 11, 11);
+        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
+        horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
+        btnmainStartConference = new QPushButton(horizontalLayoutWidget_2);
+        btnmainStartConference->setObjectName(QString::fromUtf8("btnmainStartConference"));
+        sizePolicy.setHeightForWidth(btnmainStartConference->sizePolicy().hasHeightForWidth());
+        btnmainStartConference->setSizePolicy(sizePolicy);
+        btnmainStartConference->setAutoDefault(true);
+        btnmainStartConference->setDefault(true);
+
+        horizontalLayout_2->addWidget(btnmainStartConference);
+
+        horizontalLayoutWidget = new QWidget(centralWidget);
+        horizontalLayoutWidget->setObjectName(QString::fromUtf8("horizontalLayoutWidget"));
+        horizontalLayoutWidget->setGeometry(QRect(30, 340, 491, 61));
+        horizontalLayout = new QHBoxLayout(horizontalLayoutWidget);
+        horizontalLayout->setSpacing(6);
+        horizontalLayout->setContentsMargins(11, 11, 11, 11);
+        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
+        horizontalLayout->setContentsMargins(0, 0, 0, 0);
+        mainPBAdd = new QPushButton(horizontalLayoutWidget);
+        mainPBAdd->setObjectName(QString::fromUtf8("mainPBAdd"));
+        sizePolicy.setHeightForWidth(mainPBAdd->sizePolicy().hasHeightForWidth());
+        mainPBAdd->setSizePolicy(sizePolicy);
+
+        horizontalLayout->addWidget(mainPBAdd);
+
+        mainPBDelete = new QPushButton(horizontalLayoutWidget);
+        mainPBDelete->setObjectName(QString::fromUtf8("mainPBDelete"));
+        sizePolicy1.setHeightForWidth(mainPBDelete->sizePolicy().hasHeightForWidth());
+        mainPBDelete->setSizePolicy(sizePolicy1);
+
+        horizontalLayout->addWidget(mainPBDelete);
+
+        MainWindow->setCentralWidget(centralWidget);
+        mainMenuBar = new QMenuBar(MainWindow);
+        mainMenuBar->setObjectName(QString::fromUtf8("mainMenuBar"));
+        mainMenuBar->setGeometry(QRect(0, 0, 800, 25));
+        mainMenuAbout = new QMenu(mainMenuBar);
+        mainMenuAbout->setObjectName(QString::fromUtf8("mainMenuAbout"));
+        MainWindow->setMenuBar(mainMenuBar);
+
+        mainMenuBar->addAction(mainMenuAbout->menuAction());
+        mainMenuAbout->addAction(actionAdd_Templated_Profile);
+        mainMenuAbout->addAction(actionAbout);
+
+        retranslateUi(MainWindow);
+        QObject::connect(mainPBQuit, SIGNAL(clicked()), MainWindow, SLOT(close()));
+
+        QMetaObject::connectSlotsByName(MainWindow);
+    } // setupUi
+
+    void retranslateUi(QMainWindow *MainWindow)
+    {
+        MainWindow->setWindowTitle(QApplication::translate("MainWindow", "Conference Manager", 0, QApplication::UnicodeUTF8));
+        actionAbout->setText(QApplication::translate("MainWindow", "About", 0, QApplication::UnicodeUTF8));
+        actionAdd_Templated_Profile->setText(QApplication::translate("MainWindow", "Add Templated Profile", 0, QApplication::UnicodeUTF8));
+        mainPBEditProfile->setText(QApplication::translate("MainWindow", "Edit Profile", 0, QApplication::UnicodeUTF8));
+        mainPBQuit->setText(QApplication::translate("MainWindow", "Exit", 0, QApplication::UnicodeUTF8));
+        btnmainStartConference->setText(QApplication::translate("MainWindow", "Start Conference", 0, QApplication::UnicodeUTF8));
+        mainPBAdd->setText(QApplication::translate("MainWindow", "Add Profile", 0, QApplication::UnicodeUTF8));
+        mainPBDelete->setText(QApplication::translate("MainWindow", "Delete Profile", 0, QApplication::UnicodeUTF8));
+        mainMenuAbout->setTitle(QApplication::translate("MainWindow", "About", 0, QApplication::UnicodeUTF8));
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class MainWindow: public Ui_MainWindow {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_MAINWINDOW_H