Files
pilotclient/src/blackgui/editors/form.cpp
Klaus Basan 7330ccba1b refs #751, hint of how data are published
* user object in stash components
* publish button text changed to reflect user`s rights
* User object in form read only
2016-09-19 16:18:41 +02:00

46 lines
1.2 KiB
C++

/* Copyright (C) 2015
* 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 "blackgui/editors/form.h"
using namespace BlackMisc;
using namespace BlackMisc::Network;
namespace BlackGui
{
namespace Editors
{
CForm::CForm(QWidget *parent) : COverlayMessagesFrame(parent)
{ }
CForm::~CForm() { }
void CForm::setSelectOnly()
{
this->setReadOnly(true);
}
CStatusMessageList CForm::validate(bool withNestedObjects) const
{
Q_UNUSED(withNestedObjects);
return CStatusMessageList();
}
CAuthenticatedUser CForm::getSwiftDbUser() const
{
return this->m_swiftDbUser.get();
}
void CForm::ps_userChanged()
{
// void
}
} // ns
} // ns