1 Star 0 Fork 3

星梦/dde-sys-monitor-plugin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pluginsettingdialog.ui 37.01 KB
一键复制 编辑 原始数据 按行查看 历史
juju 提交于 2020-08-18 15:54 . auto change text color with system theme
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>pluginSettingDialog</class>
<widget class="QDialog" name="pluginSettingDialog">
<property name="windowModality">
<enum>Qt::WindowModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>700</width>
<height>550</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>700</width>
<height>550</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>700</width>
<height>550</height>
</size>
</property>
<property name="windowTitle">
<string>系统监控插件设置</string>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="geometry">
<rect>
<x>520</x>
<y>510</y>
<width>166</width>
<height>36</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
<widget class="QTabWidget" name="tabWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>100</y>
<width>691</width>
<height>401</height>
</rect>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tab_wordModeSettings">
<attribute name="title">
<string>文字模式设置</string>
</attribute>
<widget class="QGroupBox" name="displayContentSettingGroupBox">
<property name="geometry">
<rect>
<x>30</x>
<y>20</y>
<width>277</width>
<height>163</height>
</rect>
</property>
<property name="title">
<string>显示内容设置</string>
</property>
<widget class="QComboBox" name="displayContentComboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>201</width>
<height>36</height>
</rect>
</property>
<item>
<property name="text">
<string>显示CPU、内存</string>
</property>
</item>
<item>
<property name="text">
<string>显示网速</string>
</property>
</item>
<item>
<property name="text">
<string>显示CP&amp;U、内存和网速</string>
</property>
</item>
</widget>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>40</x>
<y>315</y>
<width>175</width>
<height>38</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>字体颜色:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="fontColorComboBox">
<property name="minimumSize">
<size>
<width>80</width>
<height>0</height>
</size>
</property>
<property name="currentText">
<string>白色</string>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<string>白色</string>
</property>
</item>
<item>
<property name="text">
<string>黑色</string>
</property>
</item>
<item>
<property name="text">
<string>跟随系统</string>
</property>
</item>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>13</width>
<height>35</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>40</x>
<y>225</y>
<width>228</width>
<height>40</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="sizeConstraint">
<enum>QLayout::SetMinimumSize</enum>
</property>
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>高度:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="heightSpinBox">
<property name="buttonSymbols">
<enum>QAbstractSpinBox::UpDownArrows</enum>
</property>
<property name="suffix">
<string>px</string>
</property>
<property name="minimum">
<number>10</number>
</property>
<property name="maximum">
<number>50</number>
</property>
<property name="singleStep">
<number>1</number>
</property>
<property name="value">
<number>28</number>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>40</x>
<y>270</y>
<width>256</width>
<height>40</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="sizeConstraint">
<enum>QLayout::SetMinimumSize</enum>
</property>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>字体大小:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="fontSizeSpinBox">
<property name="buttonSymbols">
<enum>QAbstractSpinBox::UpDownArrows</enum>
</property>
<property name="suffix">
<string>px</string>
</property>
<property name="minimum">
<number>5</number>
</property>
<property name="maximum">
<number>20</number>
</property>
<property name="singleStep">
<number>1</number>
</property>
<property name="value">
<number>9</number>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QSpinBox" name="wordSpacingSpinBox">
<property name="geometry">
<rect>
<x>447</x>
<y>30</y>
<width>134</width>
<height>38</height>
</rect>
</property>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::UpDownArrows</enum>
</property>
<property name="suffix">
<string>px</string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>50</number>
</property>
<property name="singleStep">
<number>1</number>
</property>
<property name="value">
<number>4</number>
</property>
</widget>
<widget class="QLabel" name="label_13">
<property name="geometry">
<rect>
<x>371</x>
<y>30</y>
<width>71</width>
<height>38</height>
</rect>
</property>
<property name="text">
<string>控件间隔:</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="tab_chartModeSettings">
<attribute name="title">
<string>图表模式设置</string>
</attribute>
<widget class="QTabWidget" name="tabWidget_2">
<property name="geometry">
<rect>
<x>10</x>
<y>90</y>
<width>661</width>
<height>271</height>
</rect>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>CPU图表</string>
</attribute>
<widget class="QGroupBox" name="groupBox_2">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>661</width>
<height>231</height>
</rect>
</property>
<property name="title">
<string>CPU显示设置</string>
</property>
<widget class="QLabel" name="label_16">
<property name="geometry">
<rect>
<x>20</x>
<y>50</y>
<width>91</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>工作颜色</string>
</property>
</widget>
<widget class="QWidget" name="cpuWorkWidget" native="true">
<property name="geometry">
<rect>
<x>120</x>
<y>50</y>
<width>61</width>
<height>21</height>
</rect>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">border:1px solid black;</string>
</property>
</widget>
<widget class="QPushButton" name="cpuWorkColorPushButton">
<property name="geometry">
<rect>
<x>200</x>
<y>40</y>
<width>71</width>
<height>36</height>
</rect>
</property>
<property name="text">
<string>选择颜色</string>
</property>
</widget>
<widget class="QPushButton" name="cpuBorderColorPushButton">
<property name="geometry">
<rect>
<x>480</x>
<y>100</y>
<width>71</width>
<height>36</height>
</rect>
</property>
<property name="text">
<string>选择颜色</string>
</property>
</widget>
<widget class="QLabel" name="label_19">
<property name="geometry">
<rect>
<x>320</x>
<y>110</y>
<width>71</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>边框颜色</string>
</property>
</widget>
<widget class="QSpinBox" name="cpuBorderRoundSpinBox">
<property name="geometry">
<rect>
<x>130</x>
<y>100</y>
<width>161</width>
<height>38</height>
</rect>
</property>
<property name="suffix">
<string>%</string>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>99</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
<property name="value">
<number>30</number>
</property>
</widget>
<widget class="QLabel" name="label_20">
<property name="geometry">
<rect>
<x>20</x>
<y>110</y>
<width>71</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>边框圆角</string>
</property>
</widget>
<widget class="QWidget" name="cpuBorderWidget" native="true">
<property name="geometry">
<rect>
<x>400</x>
<y>110</y>
<width>61</width>
<height>21</height>
</rect>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">border:1px solid black;</string>
</property>
</widget>
<widget class="QPushButton" name="cpuBackgroundColorPushButton">
<property name="geometry">
<rect>
<x>480</x>
<y>140</y>
<width>71</width>
<height>36</height>
</rect>
</property>
<property name="text">
<string>选择颜色</string>
</property>
</widget>
<widget class="QLabel" name="label_21">
<property name="geometry">
<rect>
<x>320</x>
<y>150</y>
<width>71</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>背景颜色</string>
</property>
</widget>
<widget class="QWidget" name="cpuBackgroundWidget" native="true">
<property name="geometry">
<rect>
<x>400</x>
<y>150</y>
<width>61</width>
<height>21</height>
</rect>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">border:1px solid black;</string>
</property>
</widget>
<widget class="QSpinBox" name="cpuWidthSpinBox">
<property name="geometry">
<rect>
<x>130</x>
<y>140</y>
<width>131</width>
<height>38</height>
</rect>
</property>
<property name="suffix">
<string>px</string>
</property>
<property name="minimum">
<number>5</number>
</property>
<property name="maximum">
<number>100</number>
</property>
<property name="value">
<number>40</number>
</property>
</widget>
<widget class="QLabel" name="label_22">
<property name="geometry">
<rect>
<x>20</x>
<y>150</y>
<width>61</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>显示宽度</string>
</property>
</widget>
<widget class="QLabel" name="label_23">
<property name="geometry">
<rect>
<x>20</x>
<y>190</y>
<width>61</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>显示高度</string>
</property>
</widget>
<widget class="QSpinBox" name="cpuHeightSpinBox">
<property name="geometry">
<rect>
<x>130</x>
<y>180</y>
<width>131</width>
<height>38</height>
</rect>
</property>
<property name="suffix">
<string>px</string>
</property>
<property name="minimum">
<number>5</number>
</property>
<property name="maximum">
<number>100</number>
</property>
<property name="value">
<number>28</number>
</property>
</widget>
</widget>
</widget>
<widget class="QWidget" name="tab_3">
<attribute name="title">
<string>内存图表</string>
</attribute>
<widget class="QGroupBox" name="groupBox_3">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>661</width>
<height>231</height>
</rect>
</property>
<property name="title">
<string>内存显示设置</string>
</property>
<widget class="QLabel" name="label_17">
<property name="geometry">
<rect>
<x>20</x>
<y>50</y>
<width>91</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>使用颜色</string>
</property>
</widget>
<widget class="QWidget" name="memUsedWidget" native="true">
<property name="geometry">
<rect>
<x>120</x>
<y>50</y>
<width>61</width>
<height>21</height>
</rect>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">border:1px solid black;</string>
</property>
</widget>
<widget class="QPushButton" name="memUsedColorPushButton">
<property name="geometry">
<rect>
<x>200</x>
<y>40</y>
<width>71</width>
<height>36</height>
</rect>
</property>
<property name="text">
<string>选择颜色</string>
</property>
</widget>
<widget class="QPushButton" name="memBorderColorPushButton">
<property name="geometry">
<rect>
<x>480</x>
<y>100</y>
<width>71</width>
<height>36</height>
</rect>
</property>
<property name="text">
<string>选择颜色</string>
</property>
</widget>
<widget class="QLabel" name="label_24">
<property name="geometry">
<rect>
<x>320</x>
<y>110</y>
<width>71</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>边框颜色</string>
</property>
</widget>
<widget class="QSpinBox" name="memBorderRoundSpinBox">
<property name="geometry">
<rect>
<x>130</x>
<y>100</y>
<width>161</width>
<height>38</height>
</rect>
</property>
<property name="suffix">
<string>%</string>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>99</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
<property name="value">
<number>30</number>
</property>
</widget>
<widget class="QLabel" name="label_25">
<property name="geometry">
<rect>
<x>20</x>
<y>110</y>
<width>71</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>边框圆角</string>
</property>
</widget>
<widget class="QWidget" name="memBorderWidget" native="true">
<property name="geometry">
<rect>
<x>400</x>
<y>110</y>
<width>61</width>
<height>21</height>
</rect>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">border:1px solid black;</string>
</property>
</widget>
<widget class="QPushButton" name="memBackgroundColorPushButton">
<property name="geometry">
<rect>
<x>480</x>
<y>140</y>
<width>71</width>
<height>36</height>
</rect>
</property>
<property name="text">
<string>选择颜色</string>
</property>
</widget>
<widget class="QLabel" name="label_26">
<property name="geometry">
<rect>
<x>320</x>
<y>150</y>
<width>71</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>背景颜色</string>
</property>
</widget>
<widget class="QWidget" name="memBackgroundWidget" native="true">
<property name="geometry">
<rect>
<x>400</x>
<y>150</y>
<width>61</width>
<height>21</height>
</rect>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">border:1px solid black;</string>
</property>
</widget>
<widget class="QSpinBox" name="memWidthSpinBox">
<property name="geometry">
<rect>
<x>130</x>
<y>140</y>
<width>131</width>
<height>38</height>
</rect>
</property>
<property name="suffix">
<string>px</string>
</property>
<property name="minimum">
<number>5</number>
</property>
<property name="maximum">
<number>100</number>
</property>
<property name="value">
<number>40</number>
</property>
</widget>
<widget class="QLabel" name="label_27">
<property name="geometry">
<rect>
<x>20</x>
<y>150</y>
<width>61</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>显示宽度</string>
</property>
</widget>
<widget class="QLabel" name="label_28">
<property name="geometry">
<rect>
<x>20</x>
<y>190</y>
<width>61</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>显示高度</string>
</property>
</widget>
<widget class="QSpinBox" name="memHeightSpinBox">
<property name="geometry">
<rect>
<x>130</x>
<y>180</y>
<width>131</width>
<height>38</height>
</rect>
</property>
<property name="suffix">
<string>px</string>
</property>
<property name="minimum">
<number>5</number>
</property>
<property name="maximum">
<number>100</number>
</property>
<property name="value">
<number>28</number>
</property>
</widget>
</widget>
</widget>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>网络图表</string>
</attribute>
<widget class="QGroupBox" name="groupBox">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>661</width>
<height>231</height>
</rect>
</property>
<property name="title">
<string>网络显示设置</string>
</property>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>101</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>上传封顶流量值</string>
</property>
</widget>
<widget class="QSpinBox" name="netUpTopSpinBox">
<property name="geometry">
<rect>
<x>130</x>
<y>20</y>
<width>161</width>
<height>38</height>
</rect>
</property>
<property name="suffix">
<string>KB</string>
</property>
<property name="minimum">
<number>100</number>
</property>
<property name="maximum">
<number>1024000</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
<property name="value">
<number>500</number>
</property>
</widget>
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>320</x>
<y>30</y>
<width>71</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>上传颜色</string>
</property>
</widget>
<widget class="QWidget" name="netUpWidget" native="true">
<property name="geometry">
<rect>
<x>400</x>
<y>30</y>
<width>61</width>
<height>21</height>
</rect>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">border:1px solid black;</string>
</property>
</widget>
<widget class="QPushButton" name="netUpColorPushButton">
<property name="geometry">
<rect>
<x>480</x>
<y>20</y>
<width>71</width>
<height>36</height>
</rect>
</property>
<property name="text">
<string>选择颜色</string>
</property>
</widget>
<widget class="QLabel" name="label_9">
<property name="geometry">
<rect>
<x>20</x>
<y>70</y>
<width>101</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>下载封顶流量值</string>
</property>
</widget>
<widget class="QSpinBox" name="netDownTopSpinBox">
<property name="geometry">
<rect>
<x>130</x>
<y>60</y>
<width>161</width>
<height>38</height>
</rect>
</property>
<property name="suffix">
<string>KB</string>
</property>
<property name="minimum">
<number>100</number>
</property>
<property name="maximum">
<number>1024000</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
<property name="value">
<number>500</number>
</property>
</widget>
<widget class="QPushButton" name="netDownColorPushButton">
<property name="geometry">
<rect>
<x>480</x>
<y>60</y>
<width>71</width>
<height>36</height>
</rect>
</property>
<property name="text">
<string>选择颜色</string>
</property>
</widget>
<widget class="QLabel" name="label_10">
<property name="geometry">
<rect>
<x>320</x>
<y>70</y>
<width>71</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>下载颜色</string>
</property>
</widget>
<widget class="QWidget" name="netDownWidget" native="true">
<property name="geometry">
<rect>
<x>400</x>
<y>70</y>
<width>61</width>
<height>21</height>
</rect>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">border:1px solid black;</string>
</property>
</widget>
<widget class="QPushButton" name="netBorderColorPushButton">
<property name="geometry">
<rect>
<x>480</x>
<y>100</y>
<width>71</width>
<height>36</height>
</rect>
</property>
<property name="text">
<string>选择颜色</string>
</property>
</widget>
<widget class="QLabel" name="label_12">
<property name="geometry">
<rect>
<x>320</x>
<y>110</y>
<width>71</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>边框颜色</string>
</property>
</widget>
<widget class="QSpinBox" name="netBorderRoundSpinBox">
<property name="geometry">
<rect>
<x>130</x>
<y>100</y>
<width>161</width>
<height>38</height>
</rect>
</property>
<property name="suffix">
<string>%</string>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>99</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
<property name="value">
<number>30</number>
</property>
</widget>
<widget class="QLabel" name="label_11">
<property name="geometry">
<rect>
<x>20</x>
<y>110</y>
<width>71</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>边框圆角</string>
</property>
</widget>
<widget class="QWidget" name="netBorderWidget" native="true">
<property name="geometry">
<rect>
<x>400</x>
<y>110</y>
<width>61</width>
<height>21</height>
</rect>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">border:1px solid black;</string>
</property>
</widget>
<widget class="QPushButton" name="netBackgroundColorPushButton">
<property name="geometry">
<rect>
<x>480</x>
<y>140</y>
<width>71</width>
<height>36</height>
</rect>
</property>
<property name="text">
<string>选择颜色</string>
</property>
</widget>
<widget class="QLabel" name="label_14">
<property name="geometry">
<rect>
<x>320</x>
<y>150</y>
<width>71</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>背景颜色</string>
</property>
</widget>
<widget class="QWidget" name="netBackgroundWidget" native="true">
<property name="geometry">
<rect>
<x>400</x>
<y>150</y>
<width>61</width>
<height>21</height>
</rect>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">border:1px solid black;</string>
</property>
</widget>
<widget class="QSpinBox" name="netWidthSpinBox">
<property name="geometry">
<rect>
<x>130</x>
<y>140</y>
<width>131</width>
<height>38</height>
</rect>
</property>
<property name="suffix">
<string>px</string>
</property>
<property name="minimum">
<number>5</number>
</property>
<property name="maximum">
<number>100</number>
</property>
<property name="value">
<number>40</number>
</property>
</widget>
<widget class="QLabel" name="label_7">
<property name="geometry">
<rect>
<x>20</x>
<y>150</y>
<width>61</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>显示宽度</string>
</property>
</widget>
<widget class="QLabel" name="label_8">
<property name="geometry">
<rect>
<x>20</x>
<y>190</y>
<width>61</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>显示高度</string>
</property>
</widget>
<widget class="QSpinBox" name="netHeightSpinBox">
<property name="geometry">
<rect>
<x>130</x>
<y>180</y>
<width>131</width>
<height>38</height>
</rect>
</property>
<property name="suffix">
<string>px</string>
</property>
<property name="minimum">
<number>5</number>
</property>
<property name="maximum">
<number>100</number>
</property>
<property name="value">
<number>28</number>
</property>
</widget>
</widget>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_4">
<property name="geometry">
<rect>
<x>20</x>
<y>0</y>
<width>301</width>
<height>71</height>
</rect>
</property>
<property name="title">
<string>显示图表</string>
</property>
<widget class="QCheckBox" name="netChartCheckBox">
<property name="geometry">
<rect>
<x>230</x>
<y>30</y>
<width>97</width>
<height>26</height>
</rect>
</property>
<property name="text">
<string>网络</string>
</property>
</widget>
<widget class="QCheckBox" name="cpuChartCheckBox">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>97</width>
<height>26</height>
</rect>
</property>
<property name="text">
<string>CPU</string>
</property>
</widget>
<widget class="QCheckBox" name="memChartCheckBox">
<property name="geometry">
<rect>
<x>120</x>
<y>30</y>
<width>97</width>
<height>26</height>
</rect>
</property>
<property name="text">
<string>内存</string>
</property>
</widget>
</widget>
<widget class="QSpinBox" name="chartSpacingSpinBox">
<property name="geometry">
<rect>
<x>490</x>
<y>30</y>
<width>134</width>
<height>38</height>
</rect>
</property>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::UpDownArrows</enum>
</property>
<property name="suffix">
<string>px</string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>50</number>
</property>
<property name="singleStep">
<number>1</number>
</property>
<property name="value">
<number>1</number>
</property>
</widget>
<widget class="QLabel" name="label_18">
<property name="geometry">
<rect>
<x>414</x>
<y>30</y>
<width>71</width>
<height>38</height>
</rect>
</property>
<property name="text">
<string>控件间隔:</string>
</property>
</widget>
</widget>
</widget>
<widget class="QCheckBox" name="chartModeCheckBox">
<property name="geometry">
<rect>
<x>30</x>
<y>40</y>
<width>121</width>
<height>26</height>
</rect>
</property>
<property name="text">
<string>使用图表模式 </string>
</property>
</widget>
<widget class="QLabel" name="label_15">
<property name="geometry">
<rect>
<x>410</x>
<y>40</y>
<width>71</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>更新间隔:</string>
</property>
</widget>
<widget class="QSpinBox" name="updateIntervalSpinBox">
<property name="geometry">
<rect>
<x>490</x>
<y>30</y>
<width>191</width>
<height>38</height>
</rect>
</property>
<property name="suffix">
<string>ms</string>
</property>
<property name="minimum">
<number>200</number>
</property>
<property name="maximum">
<number>10000</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
<property name="value">
<number>1000</number>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>190</x>
<y>40</y>
<width>91</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>气泡电池信息:</string>
</property>
</widget>
<widget class="QComboBox" name="batInfoComboBox">
<property name="geometry">
<rect>
<x>290</x>
<y>30</y>
<width>80</width>
<height>36</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>80</width>
<height>0</height>
</size>
</property>
<property name="currentText">
<string>关闭</string>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<string>关闭</string>
</property>
</item>
<item>
<property name="text">
<string>打开</string>
</property>
</item>
</widget>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>pluginSettingDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>pluginSettingDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/manymobi/dde-sys-monitor-plugin.git
git@gitee.com:manymobi/dde-sys-monitor-plugin.git
manymobi
dde-sys-monitor-plugin
dde-sys-monitor-plugin
master

搜索帮助