Files
pilotclient/src/blackgui/showhidebar.cpp
2014-11-30 00:52:42 +01:00

32 lines
943 B
C++

/* 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 "showhidebar.h"
#include "ui_showhidebar.h"
namespace BlackGui
{
CShowHideBar::CShowHideBar(QWidget *parent) :
QFrame(parent),
ui(new Ui::CShowHideBar)
{
ui->setupUi(this);
connect(this->ui->pb_ShowHidePushButton, &QPushButton::clicked, this, &CShowHideBar::toggleShowHide);
}
CShowHideBar::~CShowHideBar()
{ }
bool CShowHideBar::isShown() const
{
return this->ui->pb_ShowHidePushButton->isChecked();
}
} // namespacee