Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
MatrixComboBox Class Reference

ComboBox with custom matrix-style popup for parameter selection. More...

#include <matrixcombopopup.h>

Inheritance diagram for MatrixComboBox:
Inheritance graph
[legend]
Collaboration diagram for MatrixComboBox:
Collaboration graph
[legend]

Public Member Functions

 MatrixComboBox (QWidget *parent=nullptr)
 Constructor.
 
void setParameters (const QStringList &sParams, const QStringList &otherParams)
 Sets parameters to display in popup.
 

Protected Member Functions

void showPopup () override
 Shows custom matrix popup instead of standard dropdown.
 
void hidePopup () override
 Hides the custom popup.
 
void paintEvent (QPaintEvent *event) override
 Custom paint to show popup state.
 

Detailed Description

ComboBox with custom matrix-style popup for parameter selection.

Constructor & Destructor Documentation

◆ MatrixComboBox()

MatrixComboBox::MatrixComboBox ( QWidget *  parent = nullptr)
explicit

Constructor.

Parameters
parentParent widget

Member Function Documentation

◆ paintEvent()

void MatrixComboBox::paintEvent ( QPaintEvent *  event)
overrideprotected

Custom paint to show popup state.

Parameters
eventPaint event

◆ setParameters()

void MatrixComboBox::setParameters ( const QStringList &  sParams,
const QStringList &  otherParams 
)

Sets parameters to display in popup.

Parameters
sParamsS-parameters for matrix layout
otherParamsAdditional parameters for list

The documentation for this class was generated from the following files: