diff --git a/ui/conversation.cpp b/ui/conversation.cpp new file mode 100644 index 0000000..fd75e19 --- /dev/null +++ b/ui/conversation.cpp @@ -0,0 +1,20 @@ +/* + * + * Copyright (C) 2019 Yury Gubich + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include "conversation.h" +#include "ui_conversation.h" diff --git a/ui/conversation.h b/ui/conversation.h new file mode 100644 index 0000000..27fdb38 --- /dev/null +++ b/ui/conversation.h @@ -0,0 +1,41 @@ +/* + * + * Copyright (C) 2019 Yury Gubich + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#ifndef CONVERSATION_H +#define CONVERSATION_H + +#include +#include + +namespace Ui +{ +class Conversation; +} + +/** + * @todo write docs + */ +class Conversation : public QWidget +{ + Q_OBJECT + +private: + QScopedPointer m_ui; +}; + +#endif // CONVERSATION_H diff --git a/ui/conversation.ui b/ui/conversation.ui new file mode 100644 index 0000000..b549bf3 --- /dev/null +++ b/ui/conversation.ui @@ -0,0 +1,212 @@ + + + Conversation + + + + 0 + 0 + 478 + 428 + + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 0 + 0 + + + + QFrame::NoFrame + + + QFrame::Plain + + + Qt::Vertical + + + false + + + + + 0 + 0 + + + + + + + + + Status icon + + + + + + + User name of JID + + + + + + + Status + + + + + + + Avatar + + + + + + + + + + + + + + 0 + 0 + + + + + + + + 0 + 0 + + + + + 0 + 20 + + + + + 0 + 30 + + + + + + + + + 0 + 0 + + + + + + + + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + diff --git a/ui/squawk.ui b/ui/squawk.ui index c7ee941..8d0f0d4 100644 --- a/ui/squawk.ui +++ b/ui/squawk.ui @@ -51,6 +51,9 @@ QFrame::Sunken + + false + false