kdk::KComboBoxWidget(3)

NAME
kdk::KComboBoxWidget

SYNOPSIS

Inherits QWidget.

  Signals
void comBoxWidgetClicked ()

  Public Member Functions
KComboBoxWidget (QWidget *parent=nullptr)
void setStringList (QStringList list)
设置combobox的选项列表
QStringList getChosenList ()
获取选中的列表
void setMainText (QString text)
设置主文本
QMenu * menu ()
获取弹出菜单

  Protected Member Functions
void mouseReleaseEvent (QMouseEvent *event)
void mousePressEvent (QMouseEvent *event)
void leaveEvent (QEvent *e)
void enterEvent (QEvent *e)
void paintEvent (QPaintEvent *event)

Member Function Documentation

  QStringList kdk::KComboBoxWidget::getChosenList ()

获取选中的列表

Returns

  QMenu * kdk::KComboBoxWidget::menu ()

获取弹出菜单

Returns

  void kdk::KComboBoxWidget::setMainText (QString text)

设置主文本

Parameters
    text

  void kdk::KComboBoxWidget::setStringList (QStringList list)

设置combobox的选项列表

Parameters
    list

Author

Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code.