7 #include <ff7tkwidgets_export.h>
19 int combo_item_width();
20 int combo_type_width();
22 void setFixedHeight(
int h);
23 void setFixedWidth(
int w);
24 quint16 currentItem();
26 void itemChanged(quint16);
28 void setCurrentItem(quint16 ff7item);
29 void setCurrentItem(
int id,
int qty);
30 void setMaximumQty(
int maxQty);
31 void setEditableItemCombo(
bool editable);
32 void setShowPlaceholderItems(
bool showPlaceholderItems);
34 void setFilter(
int type);
35 void comboItem_changed(
int index);
36 void sb_qty_changed(
int qty);
37 void btn_remove_clicked();
39 void changeEvent(QEvent *e);
42 void init_connections();
44 int type_offset(
int type);
45 QComboBox *combo_type =
nullptr;
46 QComboBox *combo_item =
nullptr;
47 QSpinBox *sb_qty =
nullptr;
48 QPushButton *btn_remove =
nullptr;
49 quint16 current_item = 0;
50 bool _showPlaceholderItems;