19#ifndef ORES_QT_INSTRUMENT_FORM_UTILS_HPP
20#define ORES_QT_INSTRUMENT_FORM_UTILS_HPP
95 static void setComboValue(QComboBox* cb,
const std::string& value);
Qt-based graphical user interface for ORE Studio.
Definition AccountController.hpp:32
Static helpers for populating and reading instrument-form combo boxes.
Definition InstrumentFormUtils.hpp:36
static void populateAverageType(QComboBox *cb)
Definition InstrumentFormUtils.cpp:95
static void populateTrsReturnType(QComboBox *cb)
Definition InstrumentFormUtils.cpp:110
static void populateSettlement(QComboBox *cb)
Definition InstrumentFormUtils.cpp:25
static void populateDayCount(QComboBox *cb)
Definition InstrumentFormUtils.cpp:45
static void populateExerciseType(QComboBox *cb)
Definition InstrumentFormUtils.cpp:40
static void populateFrequency(QComboBox *cb)
Definition InstrumentFormUtils.cpp:64
static void populateBarrierType(QComboBox *cb)
Definition InstrumentFormUtils.cpp:82
static void populateExerciseStyle(QComboBox *cb)
Definition InstrumentFormUtils.cpp:35
static void populateAscotOptionType(QComboBox *cb)
Definition InstrumentFormUtils.cpp:115
static void populateLongShort(QComboBox *cb)
Definition InstrumentFormUtils.cpp:125
static void populateReturnType(QComboBox *cb)
Definition InstrumentFormUtils.cpp:120
static std::string getComboValue(const QComboBox *cb)
Return the currently selected item text as a std::string.
Definition InstrumentFormUtils.cpp:141
static void setComboValue(QComboBox *cb, const std::string &value)
Select the combo item whose text equals value. Falls back to index 0 (the empty entry) if not found.
Definition InstrumentFormUtils.cpp:135
static void populateMomentType(QComboBox *cb)
Definition InstrumentFormUtils.cpp:130
static void populateOptionType(QComboBox *cb)
Definition InstrumentFormUtils.cpp:30
static void populateSeniority(QComboBox *cb)
Definition InstrumentFormUtils.cpp:100
static void populateRestructuring(QComboBox *cb)
Definition InstrumentFormUtils.cpp:105