Files
pilotclient/src/blackgui/editors/networksetupform.cpp
2018-08-07 20:41:09 +02:00

36 lines
1.0 KiB
C++

/* Copyright (C) 2018
* 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 "networksetupform.h"
#include "ui_networksetupform.h"
#include "guiutility.h"
using namespace BlackMisc;
namespace BlackGui
{
namespace Editors
{
CNetworkSetupForm::CNetworkSetupForm(QWidget *parent) :
CForm(parent),
ui(new Ui::CNetworkSetupForm)
{
ui->setupUi(this);
}
CNetworkSetupForm::~CNetworkSetupForm()
{ }
void CNetworkSetupForm::setReadOnly(bool readonly)
{
CGuiUtility::checkBoxReadOnly(ui->cb_DynamicOffsetTimes, readonly);
}
} // ns
} // ns