summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edmundson <kde@davidedmundson.co.uk>2011-06-24 12:35:19 (GMT)
committerDavid Edmundson <kde@davidedmundson.co.uk>2011-07-18 10:57:36 (GMT)
commitf7b686f98195e09139e860e8a858e8e1d497d37b (patch)
treeb6a9e4af3b943c335ba6e89494844b0cfdb3dc61
parent96e5fd947b8c75d64be8d4bf316ae0610879e3be (diff)
downloadkde-telepathy-contact-list-f7b686f98195e09139e860e8a858e8e1d497d37b.tar.gz
kde-telepathy-contact-list-f7b686f98195e09139e860e8a858e8e1d497d37b.tar.xz
Started contact info dialog
-rw-r--r--dialogs/contact-info.cpp14
-rw-r--r--dialogs/contact-info.h22
-rw-r--r--dialogs/contact-info.ui122
3 files changed, 158 insertions, 0 deletions
diff --git a/dialogs/contact-info.cpp b/dialogs/contact-info.cpp
new file mode 100644
index 0000000..6916d37
--- /dev/null
+++ b/dialogs/contact-info.cpp
@@ -0,0 +1,14 @@
+#include "contact-info.h"
+#include "ui_contact-info.h"
+
+ContactInfo::ContactInfo(QWidget *parent) :
+ QDialog(parent),
+ ui(new Ui::ContactInfo)
+{
+ ui->setupUi(this);
+}
+
+ContactInfo::~ContactInfo()
+{
+ delete ui;
+}
diff --git a/dialogs/contact-info.h b/dialogs/contact-info.h
new file mode 100644
index 0000000..4fdaaaf
--- /dev/null
+++ b/dialogs/contact-info.h
@@ -0,0 +1,22 @@
+#ifndef CONTACTINFO_H
+#define CONTACTINFO_H
+
+#include <QDialog>
+
+namespace Ui {
+ class ContactInfo;
+}
+
+class ContactInfo : public QDialog
+{
+ Q_OBJECT
+
+public:
+ explicit ContactInfo(QWidget *parent = 0);
+ ~ContactInfo();
+
+private:
+ Ui::ContactInfo *ui;
+};
+
+#endif // CONTACTINFO_H
diff --git a/dialogs/contact-info.ui b/dialogs/contact-info.ui
new file mode 100644
index 0000000..aef1f6a
--- /dev/null
+++ b/dialogs/contact-info.ui
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>ContactInfo</class>
+ <widget class="QDialog" name="ContactInfo">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>400</width>
+ <height>300</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>Dialog</string>
+ </property>
+ <layout class="QFormLayout" name="formLayout">
+ <property name="fieldGrowthPolicy">
+ <enum>QFormLayout::ExpandingFieldsGrow</enum>
+ </property>
+ <item row="0" column="0">
+ <widget class="QLabel" name="label">
+ <property name="text">
+ <string>Contact ID:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLabel" name="label_9">
+ <property name="text">
+ <string>TextLabel</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="label_2">
+ <property name="text">
+ <string>Display Name:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QLabel" name="label_10">
+ <property name="text">
+ <string>TextLabel</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="label_19">
+ <property name="text">
+ <string>Presence:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QLabel" name="label_20">
+ <property name="text">
+ <string>TextLabel</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0">
+ <widget class="QLabel" name="label_18">
+ <property name="text">
+ <string>Status Message:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="1">
+ <widget class="QLabel" name="label_11">
+ <property name="text">
+ <string>TextLabel</string>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="0">
+ <widget class="QLabel" name="label_3">
+ <property name="text">
+ <string>Publish State:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="1">
+ <widget class="QLabel" name="label_12">
+ <property name="text">
+ <string>TextLabel</string>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="0">
+ <widget class="QLabel" name="label_5">
+ <property name="text">
+ <string>Subscription State:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="1">
+ <widget class="QLabel" name="label_13">
+ <property name="text">
+ <string>TextLabel</string>
+ </property>
+ </widget>
+ </item>
+ <item row="6" column="0">
+ <widget class="QLabel" name="label_4">
+ <property name="text">
+ <string>Blocked:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="6" column="1">
+ <widget class="QLabel" name="label_14">
+ <property name="text">
+ <string>TextLabel</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>