LV_LOG_TRACE("spinbox create started"); LV_LOG_TRACE("begin"); lv_spinbox_t * spinbox = (lv_spinbox_t *) obj; Expand All @@ -298,7 +298,7 @@ static void lv_spinbox_constructor(lv_obj_t * obj, const lv_obj_t * copy) lv_spinbox_updatevalue(obj); LV_LOG_INFO("spinbo...
return lv_obj_class_create_obj(&lv_spinbox_class, parent); return lv_obj_class_create_obj(&lv_spinbox_class, parent, NULL); } /*===2 changes: 1 addition & 1 deletion 2 src/extra/widgets/tabview/lv_tabview.c Original file line numberDiff line numberDiff line change @@ -51,7...
#define LV_USE_SPINBOX 1 #define LV_USE_SPINNER 1 #define LV_USE_SWITCH 1 #define LV_USE_TABLE 1 #define LV_USE_TABVIEW 1 #define LV_USE_TEXTAREA 1 /**< Requires: lv_label */ #if LV_USE_TEXTAREA != 0 #define LV_TEXTAREA_DEF_PWD_SHOW_TIME 1500 /**< [ms] *...
#define LV_USE_SPINBOX 1 #define LV_USE_SPINNER 1 #define LV_USE_SWITCH 1 #define LV_USE_TEXTAREA 1 /*Requires: lv_label*/ #if LV_USE_TEXTAREA != 0 #define LV_TEXTAREA_DEF_PWD_SHOW_TIME 1500 /*ms*/ #endif #define LV_USE_TABLE 1 #define LV_USE_TABVIEW 1 #...
#define LV_USE_SPINBOX 1 #define LV_USE_SPINNER 1 #define LV_USE_SWITCH 1 #define LV_USE_TEXTAREA 1 /*Requires: lv_label*/ #if LV_USE_TEXTAREA != 0 #define LV_TEXTAREA_DEF_PWD_SHOW_TIME 1500 /*ms*/ #endif #define LV_USE_TABLE 1 #define LV_USE_TABVIEW 1 #...
#define LV_USE_SPINBOX CONFIG_LV_USE_SPINBOX #else #define LV_USE_SPINBOX 0 #endif #else #define LV_USE_SPINBOX 1 #endif #endif #ifndef LV_USE_SPINNER #ifdef _LV_KCONFIG_PRESENT #ifdef CONFIG_LV_USE_SPINNER #define LV_USE_SPINNER CONFIG_LV_USE_SPINNER ...
/*Spinbox (dependencies: lv_ta)*/ #define LV_USE_SPINBOX 1 /*Switch (dependencies: lv_slider)*/ #define LV_USE_SWITCH 1 /*Text area (dependencies: lv_label, lv_page)*/ #define LV_USE_TEXTAREA 1 #if LV_USE_TEXTAREA != 0 # define LV_TEXTAREA_DEF_CURSOR_BLINK_TIME...
if(query.seek(ui->spinBox->value())) { qDebug() << query.value(0).toInt() << query.value(1).toString(); while(query.next()) //每执行一次该函数,便指向相邻的下一条记录。 { qDebug() << query.value(0).toInt() << query.value(1).toString(); //value(i)返回i字段的值,0表...
intHexSpinBox::valueFromText(constQString &text)const { boolok; returntext.toInt(&ok, 16); } QString HexSpinBox::textFromValue(intvalue)const { returnQString::number(value, 16).toUpper(); } 2、在需要开发的项目中的窗口中, 1、用Qt Designer创建一个新的窗体main.ui,把控件箱里的QSpinBox...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...