Skip to main content

SeriesOrderingDialog

SeriesOrderingDialog

Modal dialog for relative series placement. More…

#include <SeriesOrderingDialog.hpp>

Inherits from QDialog

Public Functions

Name
SeriesOrderingDialog(std::string const & source_key, std::vector< std::string > const & available_keys, QWidget * parent =[nullptr])
Construct the dialog.
std::string targetKey() const
Return the key the user selected as the placement target.
bool placeAbove() const
Return true if the source should be placed above the target.

Detailed Description

class SeriesOrderingDialog;

Modal dialog for relative series placement.

The user types a partial key in the QLineEdit; the QCompleter filters live matches from the supplied available_keys list. After exec(), use targetKey() and placeAbove() to retrieve the result.

Public Functions Documentation

function SeriesOrderingDialog

explicit SeriesOrderingDialog(
    std::string const & source_key,
    std::vector< std::string > const & available_keys,
    QWidget * parent =nullptr
)

Construct the dialog.

Parameters:

  • source_key The series being repositioned (shown as context label).
  • available_keys All other currently-displayed series keys offered as targets.
  • parent Optional Qt parent widget.

function targetKey

std::string targetKey() const

Return the key the user selected as the placement target.

Return: Empty string if no valid selection was made.

function placeAbove

bool placeAbove() const

Return true if the source should be placed above the target.

Return: true = above, false = below.


Updated on 2026-11-13 at 20:25:39 +0000