mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
refs #849, statistics UI in pilot client
This commit is contained in:
committed by
Mathew Sutcliffe
parent
cfca78ec2a
commit
bac77e233d
46
src/blackgui/components/matchingstatisticscomponent.h
Normal file
46
src/blackgui/components/matchingstatisticscomponent.h
Normal file
@@ -0,0 +1,46 @@
|
||||
/* Copyright (C) 2017
|
||||
* 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.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_COMPONENTS_MATCHINGSTATISTICSCOMPONENT_H
|
||||
#define BLACKGUI_COMPONENTS_MATCHINGSTATISTICSCOMPONENT_H
|
||||
|
||||
#include <QFrame>
|
||||
#include <QScopedPointer>
|
||||
|
||||
namespace Ui { class CMatchingStatisticsComponent; }
|
||||
namespace BlackGui
|
||||
{
|
||||
namespace Components
|
||||
{
|
||||
/*!
|
||||
* Show statistics about matching results
|
||||
*/
|
||||
class CMatchingStatisticsComponent : public QFrame
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CMatchingStatisticsComponent(QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
virtual ~CMatchingStatisticsComponent();
|
||||
|
||||
private:
|
||||
//! Show statistics
|
||||
void onGenerateClicked();
|
||||
|
||||
QScopedPointer<Ui::CMatchingStatisticsComponent> ui;
|
||||
};
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
#endif // guard
|
||||
Reference in New Issue
Block a user