diff --git a/src/blackgui/components/voiceroomscomponent.cpp b/src/blackgui/components/voiceroomscomponent.cpp new file mode 100644 index 000000000..d070ece87 --- /dev/null +++ b/src/blackgui/components/voiceroomscomponent.cpp @@ -0,0 +1,30 @@ +/* Copyright (C) 2013 + * swift project Community / Contributors + * + * This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level + * directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project, + * including this file, may be copied, modified, propagated, or distributed except according to the terms + * contained in the LICENSE file. + */ + +#include "voiceroomscomponent.h" +#include "ui_voiceroomscomponent.h" + +namespace BlackGui +{ + namespace Components + { + + CVoiceRoomsComponent::CVoiceRoomsComponent(QWidget *parent) : + QFrame(parent), + ui(new Ui::CVoiceRoomsComponent) + { + ui->setupUi(this); + } + + CVoiceRoomsComponent::~CVoiceRoomsComponent() + { } + + } // namespace +} // namespace + diff --git a/src/blackgui/components/voiceroomscomponent.h b/src/blackgui/components/voiceroomscomponent.h new file mode 100644 index 000000000..cf0c22d30 --- /dev/null +++ b/src/blackgui/components/voiceroomscomponent.h @@ -0,0 +1,42 @@ +/* Copyright (C) 2013 + * swift project Community / Contributors + * + * This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level + * directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project, + * including this file, may be copied, modified, propagated, or distributed except according to the terms + * contained in the LICENSE file. + */ + +#ifndef BLACKGUI_VOICEROOMSCOMPONENT_H +#define BLACKGUI_VOICEROOMSCOMPONENT_H + +#include +#include + +namespace Ui { class CVoiceRoomsComponent; } + +namespace BlackGui +{ + namespace Components + { + //! Displays the voice rooms + class CVoiceRoomsComponent : + public QFrame + { + Q_OBJECT + + public: + //! Constructor + explicit CVoiceRoomsComponent(QWidget *parent = nullptr); + + //! Destructor + ~CVoiceRoomsComponent(); + + private: + QScopedPointer ui; + }; + + } // namespace +} // namespace + +#endif // guard diff --git a/src/blackgui/components/voiceroomscomponent.ui b/src/blackgui/components/voiceroomscomponent.ui new file mode 100644 index 000000000..d9bab15f2 --- /dev/null +++ b/src/blackgui/components/voiceroomscomponent.ui @@ -0,0 +1,163 @@ + + + CVoiceRoomsComponent + + + + 0 + 0 + 400 + 300 + + + + Frame + + + QFrame::StyledPanel + + + QFrame::Raised + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + + + 2 + + + 2 + + + 2 + + + 2 + + + 2 + + + + + + 75 + false + true + + + + true + + + + + + + Ovr. + + + + + + + + + + + 2 + + + 2 + + + 2 + + + 2 + + + 2 + + + + + + 75 + false + true + + + + true + + + + + + + Ovr. + + + + + + + + + + QAbstractItemView::SingleSelection + + + QAbstractItemView::SelectRows + + + false + + + + + + + QAbstractItemView::SingleSelection + + + QAbstractItemView::SelectRows + + + false + + + + + + + + + + BlackGui::Views::CUserView + QTableView +
blackgui/views/userview.h
+
+
+ + +