77 QIcon
iconForState(
int state,
const QSize& iconSize,
const QPalette& palette)
const;
80 std::string buttonName;
122 const std::vector<std::string>& bicons,
123 bool vertical =
true,
124 QWidget* parent =
nullptr);
179 void refresh_icons();
192 std::vector<ButtonInfo*> buttons;
205 void buttonWasPressed(QListWidgetItem* item);
237 const std::vector<std::string>& titles,
238 bool vertical =
true,
239 QWidget* parent =
nullptr);
296 void setSvgButtonIcon(
int index,
const QString& svgResourcePath,
const QSize& iconSize = QSize());
311 struct SvgIcon { QString path; QSize size; };
313 int buttonPressedIndex;
314 QVector<QPushButton*> buttons;
315 QVector<SvgIcon> svgIcons;
317 void refresh_svg_icons();
325 void setButtonPressed(
int index);