5#include <Kanoop/gui/libkanoopgui.h>
14class LIBKANOOPGUI_EXPORT
ComboBox :
public QComboBox
38 virtual void keyPressEvent(QKeyEvent* event)
override;
39 virtual void focusOutEvent(QFocusEvent* event)
override;
QComboBox subclass with bold font helpers and keyboard-commit signals.
ComboBox(QWidget *parent=nullptr)
Construct with an optional parent.
void lostFocus()
Emitted when the widget loses keyboard focus.
void setRowBold(int row, bool bold)
Set the font weight of a specific row.
void accept()
Emitted when the user presses Enter/Return to accept the current value.
void setBold(bool bold)
Set the font weight of all items in the combo box.