mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-17 12:37:46 -07:00
Standardize Doxygen documentation (#6885)
This commit is contained in:
parent
03d54265fe
commit
33e0f8699b
306 changed files with 539 additions and 487 deletions
|
|
@ -1,8 +1,8 @@
|
|||
/**
|
||||
* @file background_sources.h
|
||||
* @ingroup UI
|
||||
* @brief TODO: Document this.
|
||||
*/
|
||||
//! \todo Document this file.
|
||||
|
||||
#ifndef COCKATRICE_BACKGROUND_SOURCES_H
|
||||
#define COCKATRICE_BACKGROUND_SOURCES_H
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* @ingroup Widgets
|
||||
* @ingroup DeckEditorCardGroupWidgets
|
||||
* @ingroup DeckStorageWidgets
|
||||
* @brief TODO: Document this.
|
||||
*/
|
||||
//! \todo Document this file.
|
||||
|
||||
#ifndef BANNER_WIDGET_H
|
||||
#define BANNER_WIDGET_H
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
* @file bar_widget.h
|
||||
* @ingroup Widgets
|
||||
* @ingroup DeckEditorAnalyticsWidgets
|
||||
* @brief TODO: Document this.
|
||||
*/
|
||||
//! \todo Document this file.
|
||||
|
||||
#ifndef BAR_WIDGET_H
|
||||
#define BAR_WIDGET_H
|
||||
|
|
|
|||
|
|
@ -99,13 +99,13 @@ protected:
|
|||
void mouseMoveEvent(QMouseEvent *event) override;
|
||||
|
||||
private:
|
||||
/// Map of color keys to counts used for rendering.
|
||||
/** @brief Map of color keys to counts used for rendering. */
|
||||
QList<QPair<QString, int>> colors;
|
||||
|
||||
/// True if the mouse is currently inside the widget.
|
||||
/** @brief True if the mouse is currently inside the widget. */
|
||||
bool isHovered = false;
|
||||
|
||||
/// Minimum ratio a segment must exceed to be drawn.
|
||||
/** @brief Minimum ratio a segment must exceed to be drawn. */
|
||||
double minRatioThreshold = 0.0;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
* @file percent_bar_widget.h
|
||||
* @ingroup Widgets
|
||||
* @ingroup DeckEditorAnalyticsWidgets
|
||||
* @brief TODO: Document this.
|
||||
*/
|
||||
//! \todo Document this file.
|
||||
|
||||
#ifndef PERCENT_BAR_WIDGET_H
|
||||
#define PERCENT_BAR_WIDGET_H
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
/**
|
||||
* @file dynamic_font_size_label.h
|
||||
* @ingroup Widgets
|
||||
* @brief TODO: Document this.
|
||||
*/
|
||||
//! \todo Document this file.
|
||||
|
||||
#ifndef DYNAMICFONTSIZELABEL_H
|
||||
#define DYNAMICFONTSIZELABEL_H
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
/**
|
||||
* @file dynamic_font_size_push_button.h
|
||||
* @ingroup PrintingWidgets
|
||||
* @brief TODO: Document this.
|
||||
*/
|
||||
//! \todo Document this file.
|
||||
|
||||
#ifndef DYNAMICFONTSIZEPUSHBUTTON_H
|
||||
#define DYNAMICFONTSIZEPUSHBUTTON_H
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
/**
|
||||
* @file labeled_input.h
|
||||
* @ingroup DeckEditorCardGroupWidgets
|
||||
* @brief TODO: Document this.
|
||||
*/
|
||||
//! \todo Document this file.
|
||||
|
||||
#ifndef LABELED_INPUT_H
|
||||
#define LABELED_INPUT_H
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
/**
|
||||
* @file shadow_background_label.h
|
||||
* @ingroup PrintingWidgets
|
||||
* @brief TODO: Document this.
|
||||
*/
|
||||
//! \todo Document this file.
|
||||
|
||||
#ifndef STYLEDLABEL_H
|
||||
#define STYLEDLABEL_H
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
/**
|
||||
* @file home_styled_button.h
|
||||
* @ingroup Widgets
|
||||
* @brief TODO: Document this.
|
||||
*/
|
||||
//! \todo Document this file.
|
||||
|
||||
#ifndef HOME_STYLED_BUTTON_H
|
||||
#define HOME_STYLED_BUTTON_H
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
* @file home_widget.h
|
||||
* @ingroup Core
|
||||
* @ingroup Widgets
|
||||
* @brief TODO: Document this.
|
||||
*/
|
||||
//! \todo Document this file.
|
||||
|
||||
#ifndef HOME_WIDGET_H
|
||||
#define HOME_WIDGET_H
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
* @ingroup UI
|
||||
* @brief A QWidget that wraps a FlowLayout inside an optional QScrollArea.
|
||||
*/
|
||||
//! \todo Document this file.
|
||||
|
||||
#ifndef FLOW_WIDGET_H
|
||||
#define FLOW_WIDGET_H
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ OverlapControlWidget::OverlapControlWidget(int overlapPercentage,
|
|||
layout->addWidget(overlap_percentage_input);
|
||||
layout->addWidget(overlap_direction);
|
||||
|
||||
// TODO probably connect this to the parent
|
||||
//! \todo Probably connect this to the parent.
|
||||
// connect(card_size_slider, &QSlider::valueChanged, display, &CardPicture::setScaleFactor);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
/**
|
||||
* @file overlap_control_widget.h
|
||||
* @ingroup UI
|
||||
* @brief TODO: Document this.
|
||||
*/
|
||||
//! \todo Document this file.
|
||||
|
||||
#ifndef OVERLAP_CONTROL_WIDGET_H
|
||||
#define OVERLAP_CONTROL_WIDGET_H
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
/**
|
||||
* @file overlap_widget.h
|
||||
* @ingroup UI
|
||||
* @brief TODO: Document this.
|
||||
*/
|
||||
//! \todo Document this file.
|
||||
|
||||
#ifndef OVERLAP_WIDGET_H
|
||||
#define OVERLAP_WIDGET_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue