2020)
2121from siui .components .chart import SiTrendChart
2222from siui .components .container import SiDenseContainer , SiTriSectionPanelCard , SiTriSectionRowCard
23- from siui .components .editbox import SiCapsuleEdit , SiDoubleSpinBox , SiLineEdit , SiSpinBox
23+ from siui .components .editbox import SiLabeledLineEdit , SiDoubleSpinBox , SiCapsuleLineEdit , SiSpinBox
2424from siui .components .label import SiLinearIndicator , SiLinearPartitionIndicator
2525from siui .components .page import SiPage
2626from siui .components .progress_bar_ import SiProgressBarRefactor
@@ -570,17 +570,17 @@ def test_func_2():
570570 self .editbox = OptionCardPlaneForWidgetDemos (self )
571571 self .editbox .setTitle ("单行文本编辑框" )
572572
573- self .linear_edit_box = SiLineEdit (self )
573+ self .linear_edit_box = SiCapsuleLineEdit (self )
574574 self .linear_edit_box .resize (560 , 36 )
575575 self .linear_edit_box .setTitle ("Repository Name" )
576576 self .linear_edit_box .setText ("PyQt-SiliconUI" )
577577
578- self .linear_edit_box2 = SiLineEdit (self )
578+ self .linear_edit_box2 = SiCapsuleLineEdit (self )
579579 self .linear_edit_box2 .resize (560 , 36 )
580580 self .linear_edit_box2 .setTitle ("Owner" )
581581 self .linear_edit_box2 .setText ("ChinaIceF" )
582582
583- self .linear_edit_box3 = SiLineEdit (self )
583+ self .linear_edit_box3 = SiCapsuleLineEdit (self )
584584 self .linear_edit_box3 .resize (560 , 36 )
585585 self .linear_edit_box3 .setTitle ("Description" )
586586 self .linear_edit_box3 .setText ("A powerful and artistic UI library based on PyQt5" )
@@ -602,7 +602,7 @@ def test_func_2():
602602 self .capsule_editbox = OptionCardPlaneForWidgetDemos (self )
603603 self .capsule_editbox .setTitle ("小型文本编辑框" )
604604
605- self .capsule_edit = SiCapsuleEdit (self )
605+ self .capsule_edit = SiLabeledLineEdit (self )
606606 self .capsule_edit .setTitle ("用户名" )
607607 self .capsule_edit .setPlaceholderText ("您的用户名..." )
608608 self .capsule_edit .resize (170 , 58 )
0 commit comments