Strider
4 years ago
8 changed files with 203 additions and 11 deletions
@ -0,0 +1,14 @@ |
|||
#include "chatbubbleme.h" |
|||
#include "ui_chatbubbleme.h" |
|||
|
|||
ChatBubbleMe::ChatBubbleMe(QWidget *parent) : |
|||
QWidget(parent), |
|||
ui(new Ui::ChatBubbleMe) |
|||
{ |
|||
ui->setupUi(this); |
|||
} |
|||
|
|||
ChatBubbleMe::~ChatBubbleMe() |
|||
{ |
|||
delete ui; |
|||
} |
@ -0,0 +1,22 @@ |
|||
#ifndef CHATBUBBLEME_H |
|||
#define CHATBUBBLEME_H |
|||
|
|||
#include <QWidget> |
|||
|
|||
namespace Ui { |
|||
class ChatBubbleMe; |
|||
} |
|||
|
|||
class ChatBubbleMe : public QWidget |
|||
{ |
|||
Q_OBJECT |
|||
|
|||
public: |
|||
explicit ChatBubbleMe(QWidget *parent = nullptr); |
|||
~ChatBubbleMe(); |
|||
|
|||
private: |
|||
Ui::ChatBubbleMe *ui; |
|||
}; |
|||
|
|||
#endif // CHATBUBBLEME_H
|
@ -0,0 +1,57 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<ui version="4.0"> |
|||
<class>ChatBubbleMe</class> |
|||
<widget class="QWidget" name="ChatBubbleMe"> |
|||
<property name="geometry"> |
|||
<rect> |
|||
<x>0</x> |
|||
<y>0</y> |
|||
<width>646</width> |
|||
<height>76</height> |
|||
</rect> |
|||
</property> |
|||
<property name="windowTitle"> |
|||
<string>Form</string> |
|||
</property> |
|||
<property name="styleSheet"> |
|||
<string notr="true">QWidget{ |
|||
background: whitesmoke; |
|||
border: 1px solid #afafaf; |
|||
border-radius: 3px; |
|||
} |
|||
QLabel |
|||
{ |
|||
background: none; |
|||
border: none; |
|||
}</string> |
|||
</property> |
|||
<widget class="QLabel" name="lblMessage"> |
|||
<property name="geometry"> |
|||
<rect> |
|||
<x>10</x> |
|||
<y>30</y> |
|||
<width>611</width> |
|||
<height>41</height> |
|||
</rect> |
|||
</property> |
|||
<property name="text"> |
|||
<string>Lorem ipsum dolor sit amet</string> |
|||
</property> |
|||
</widget> |
|||
<widget class="QLabel" name="lblTimestamp"> |
|||
<property name="geometry"> |
|||
<rect> |
|||
<x>10</x> |
|||
<y>10</y> |
|||
<width>611</width> |
|||
<height>17</height> |
|||
</rect> |
|||
</property> |
|||
<property name="text"> |
|||
<string>12/03/2020 12:34</string> |
|||
</property> |
|||
</widget> |
|||
</widget> |
|||
<resources/> |
|||
<connections/> |
|||
</ui> |
@ -0,0 +1,14 @@ |
|||
#include "chatbubblepartner.h" |
|||
#include "ui_chatbubblepartner.h" |
|||
|
|||
ChatBubblePartner::ChatBubblePartner(QWidget *parent) : |
|||
QWidget(parent), |
|||
ui(new Ui::ChatBubblePartner) |
|||
{ |
|||
ui->setupUi(this); |
|||
} |
|||
|
|||
ChatBubblePartner::~ChatBubblePartner() |
|||
{ |
|||
delete ui; |
|||
} |
@ -0,0 +1,22 @@ |
|||
#ifndef CHATBUBBLEPARTNER_H |
|||
#define CHATBUBBLEPARTNER_H |
|||
|
|||
#include <QWidget> |
|||
|
|||
namespace Ui { |
|||
class ChatBubblePartner; |
|||
} |
|||
|
|||
class ChatBubblePartner : public QWidget |
|||
{ |
|||
Q_OBJECT |
|||
|
|||
public: |
|||
explicit ChatBubblePartner(QWidget *parent = nullptr); |
|||
~ChatBubblePartner(); |
|||
|
|||
private: |
|||
Ui::ChatBubblePartner *ui; |
|||
}; |
|||
|
|||
#endif // CHATBUBBLEPARTNER_H
|
@ -0,0 +1,57 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<ui version="4.0"> |
|||
<class>ChatBubblePartner</class> |
|||
<widget class="QWidget" name="ChatBubblePartner"> |
|||
<property name="geometry"> |
|||
<rect> |
|||
<x>0</x> |
|||
<y>0</y> |
|||
<width>646</width> |
|||
<height>76</height> |
|||
</rect> |
|||
</property> |
|||
<property name="windowTitle"> |
|||
<string>Form</string> |
|||
</property> |
|||
<property name="styleSheet"> |
|||
<string notr="true">QWidget{ |
|||
background: #c8e1ff; |
|||
border: 1px solid #fefefe; |
|||
border-radius: 3px; |
|||
} |
|||
QLabel |
|||
{ |
|||
background: none; |
|||
border: none; |
|||
}</string> |
|||
</property> |
|||
<widget class="QLabel" name="lblMessage"> |
|||
<property name="geometry"> |
|||
<rect> |
|||
<x>10</x> |
|||
<y>30</y> |
|||
<width>611</width> |
|||
<height>41</height> |
|||
</rect> |
|||
</property> |
|||
<property name="text"> |
|||
<string>Lorem ipsum dolor sit amet</string> |
|||
</property> |
|||
</widget> |
|||
<widget class="QLabel" name="lblTimestamp"> |
|||
<property name="geometry"> |
|||
<rect> |
|||
<x>10</x> |
|||
<y>10</y> |
|||
<width>611</width> |
|||
<height>17</height> |
|||
</rect> |
|||
</property> |
|||
<property name="text"> |
|||
<string>12/03/2020 12:34</string> |
|||
</property> |
|||
</widget> |
|||
</widget> |
|||
<resources/> |
|||
<connections/> |
|||
</ui> |
Loading…
Reference in new issue