Struct bitcoin_qt::QValueComboBox
source · pub struct QValueComboBox { /* private fields */ }
Expand description
| QComboBox that can be used with QDataWidgetMapper | to select ordinal values from a model. |
Implementations§
source§impl QValueComboBox
impl QValueComboBox
pub fn value_changed(&mut self)
pub fn new(parent: *mut u32) -> Self
pub fn value(&self) -> u32
pub fn set_value(&mut self, value: &u32)
sourcepub fn set_role(&mut self, role: i32)
pub fn set_role(&mut self, role: i32)
| Specify model role to use as ordinal | value (defaults to QtUserRole) |
pub fn handle_selection_changed(&mut self, idx: i32)
Auto Trait Implementations§
impl RefUnwindSafe for QValueComboBox
impl Send for QValueComboBox
impl Sync for QValueComboBox
impl Unpin for QValueComboBox
impl UnwindSafe for QValueComboBox
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more