Skip to content
Snippets Groups Projects
DapUIAnimationScreen.cpp 1.48 KiB
/*
* Authors:
* Dmitriy Gerasimov <naeper@demlabs.net>
* Cellframe       https://cellframe.net
* DeM Labs Inc.   https://demlabs.net
* Copyright  (c) 2017-2019
* All rights reserved.

This file is part of CellFrame SDK the open source project

CellFrame SDK 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.

CellFrame SDK 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 any CellFrame SDK based project.  If not, see <http://www.gnu.org/licenses/>.
*/

#include "DapUIAnimationScreen.h"

/**
 * @brief Overloaded constructor.
 * @param a_parent Parent.
 * @param a_sw Application window stack.
 */
DapUIAnimationScreen::DapUIAnimationScreen(QObject *parent, QStackedWidget *a_sw)
    :DapUIAnimationScreenAbstract(parent, a_sw)
{
    create<Ui_AnimationChangingScreen>();
}

/**
 * @brief Form initialization.
 * @param a_w Window GUI widget.
 * @param a_rotation Device display orientation.
 */
void DapUIAnimationScreen::initUi(QWidget *a_w, DapUiScreen::ScreenRotation a_rotation) {
    Q_UNUSED(a_rotation);

    // Initializing pointers to window widgets
    initChangedScreen(a_w);
}