update ui_combobox

remove ui_x_boxes and put the code in ui_combobox
This commit is contained in:
2026-02-14 14:32:03 +01:00
parent 7c91a64d71
commit 7386a12f1b
4 changed files with 16 additions and 56 deletions
+2 -2
View File
@@ -1,11 +1,10 @@
#pragma once
#include "ui_item.hpp"
#include "ui_x_boxes.hpp"
#define UI_COMBOBOX_TYPE std::string("ui_combobox")
class UI_combobox : public UI_x_boxes
class UI_combobox : public UI_item
{
Q_OBJECT
public:
@@ -25,5 +24,6 @@ class UI_combobox : public UI_x_boxes
void changed(std::string selected);
private:
std::vector<std::string> m_options;
size_t m_selected;
};