BellManager
/
mainform.ui
1176 строк · 28.8 Кб
1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">3<class>MainWindow</class>4<widget class="QMainWindow" name="MainWindow">5<property name="windowModality">6<enum>Qt::NonModal</enum>7</property>8<property name="geometry">9<rect>10<x>0</x>11<y>0</y>12<width>1149</width>13<height>655</height>14</rect>15</property>16<property name="sizePolicy">17<sizepolicy hsizetype="Fixed" vsizetype="Fixed">18<horstretch>0</horstretch>19<verstretch>0</verstretch>20</sizepolicy>21</property>22<property name="minimumSize">23<size>24<width>1149</width>25<height>655</height>26</size>27</property>28<property name="maximumSize">29<size>30<width>1149</width>31<height>655</height>32</size>33</property>34<property name="windowTitle">35<string>Bell Manager</string>36</property>37<property name="windowIcon">38<iconset>39<normaloff>images/alarm_32px.png</normaloff>images/alarm_32px.png</iconset>40</property>41<widget class="QWidget" name="centralwidget">42<widget class="QLabel" name="label">43<property name="geometry">44<rect>45<x>10</x>46<y>60</y>47<width>1131</width>48<height>41</height>49</rect>50</property>51<property name="sizePolicy">52<sizepolicy hsizetype="Preferred" vsizetype="Preferred">53<horstretch>0</horstretch>54<verstretch>0</verstretch>55</sizepolicy>56</property>57<property name="font">58<font>59<pointsize>24</pointsize>60<weight>75</weight>61<bold>true</bold>62</font>63</property>64<property name="text">65<string>TextLabel</string>66</property>67<property name="alignment">68<set>Qt::AlignCenter</set>69</property>70<property name="wordWrap">71<bool>false</bool>72</property>73</widget>74<widget class="QWidget" name="horizontalLayoutWidget">75<property name="geometry">76<rect>77<x>0</x>78<y>0</y>79<width>369</width>80<height>51</height>81</rect>82</property>83<layout class="QHBoxLayout" name="horizontalLayout">84<item>85<widget class="QCommandLinkButton" name="settingsButton">86<property name="text">87<string>Настройки</string>88</property>89<property name="icon">90<iconset>91<normaloff>images/settings_24px.png</normaloff>images/settings_24px.png</iconset>92</property>93<property name="iconSize">94<size>95<width>24</width>96<height>24</height>97</size>98</property>99</widget>100</item>101<item>102<widget class="QCommandLinkButton" name="aboutButton">103<property name="text">104<string>О программе</string>105</property>106<property name="icon">107<iconset>108<normaloff>images/info_24px.png</normaloff>images/info_24px.png</iconset>109</property>110<property name="iconSize">111<size>112<width>24</width>113<height>24</height>114</size>115</property>116</widget>117</item>118</layout>119</widget>120<widget class="QWidget" name="horizontalLayoutWidget_2">121<property name="geometry">122<rect>123<x>430</x>124<y>0</y>125<width>542</width>126<height>51</height>127</rect>128</property>129<layout class="QHBoxLayout" name="horizontalLayout_2">130<item>131<widget class="QCommandLinkButton" name="autoModeButton">132<property name="toolTip">133<string>В автоматическом режиме система сама управляет звонками и освещением по заданному расписанию</string>134</property>135<property name="text">136<string>Авто</string>137</property>138<property name="icon">139<iconset>140<normaloff>images/flash_auto_24px.png</normaloff>images/flash_auto_24px.png</iconset>141</property>142<property name="iconSize">143<size>144<width>24</width>145<height>24</height>146</size>147</property>148<property name="checkable">149<bool>true</bool>150</property>151<property name="checked">152<bool>true</bool>153</property>154</widget>155</item>156<item>157<widget class="QCommandLinkButton" name="manualModeButton">158<property name="toolTip">159<string>В ручном режиме звонок и освещение управляются только кнопками ручного управления</string>160</property>161<property name="text">162<string>Ручной</string>163</property>164<property name="icon">165<iconset>166<normaloff>images/flash_off_24px.png</normaloff>images/flash_off_24px.png</iconset>167</property>168<property name="iconSize">169<size>170<width>24</width>171<height>24</height>172</size>173</property>174<property name="checkable">175<bool>true</bool>176</property>177<property name="checked">178<bool>false</bool>179</property>180</widget>181</item>182<item>183<widget class="QCommandLinkButton" name="amModeButton">184<property name="toolTip">185<string>В полуавтоматическом режиме звонки подаются по расписанию, освещение в ручном режиме</string>186</property>187<property name="text">188<string>Полуавтомат</string>189</property>190<property name="icon">191<iconset>192<normaloff>images/lightning_bolt_24px.png</normaloff>images/lightning_bolt_24px.png</iconset>193</property>194<property name="iconSize">195<size>196<width>24</width>197<height>24</height>198</size>199</property>200<property name="checkable">201<bool>true</bool>202</property>203</widget>204</item>205</layout>206</widget>207<widget class="QLabel" name="label_7">208<property name="geometry">209<rect>210<x>10</x>211<y>610</y>212<width>311</width>213<height>16</height>214</rect>215</property>216<property name="toolTip">217<string>Состояние подключения контроллера</string>218</property>219<property name="text">220<string>TextLabel</string>221</property>222</widget>223<widget class="QGroupBox" name="groupBox_3">224<property name="geometry">225<rect>226<x>10</x>227<y>100</y>228<width>561</width>229<height>511</height>230</rect>231</property>232<property name="title">233<string>Основная школа</string>234</property>235<widget class="QLabel" name="label_5">236<property name="geometry">237<rect>238<x>370</x>239<y>70</y>240<width>181</width>241<height>16</height>242</rect>243</property>244<property name="text">245<string>Освещение</string>246</property>247<property name="alignment">248<set>Qt::AlignCenter</set>249</property>250</widget>251<widget class="QTableWidget" name="tableWidget_2">252<property name="geometry">253<rect>254<x>190</x>255<y>90</y>256<width>181</width>257<height>301</height>258</rect>259</property>260<property name="editTriggers">261<set>QAbstractItemView::NoEditTriggers</set>262</property>263<row>264<property name="text">265<string>New Row</string>266</property>267</row>268<row>269<property name="text">270<string>New Row</string>271</property>272</row>273<row>274<property name="text">275<string>New Row</string>276</property>277</row>278<row>279<property name="text">280<string>New Row</string>281</property>282</row>283<column>284<property name="text">285<string>New Column</string>286</property>287</column>288<column>289<property name="text">290<string>New Column</string>291</property>292</column>293</widget>294<widget class="QLabel" name="label_3">295<property name="geometry">296<rect>297<x>10</x>298<y>70</y>299<width>181</width>300<height>16</height>301</rect>302</property>303<property name="text">304<string>1 смена</string>305</property>306<property name="alignment">307<set>Qt::AlignCenter</set>308</property>309</widget>310<widget class="QTableWidget" name="tableWidget_3">311<property name="geometry">312<rect>313<x>370</x>314<y>90</y>315<width>181</width>316<height>301</height>317</rect>318</property>319<property name="editTriggers">320<set>QAbstractItemView::NoEditTriggers</set>321</property>322<row>323<property name="text">324<string>New Row</string>325</property>326</row>327<row>328<property name="text">329<string>New Row</string>330</property>331</row>332<row>333<property name="text">334<string>New Row</string>335</property>336</row>337<row>338<property name="text">339<string>New Row</string>340</property>341</row>342<column>343<property name="text">344<string>New Column</string>345</property>346</column>347<column>348<property name="text">349<string>New Column</string>350</property>351</column>352</widget>353<widget class="QTableWidget" name="tableWidget">354<property name="geometry">355<rect>356<x>10</x>357<y>90</y>358<width>181</width>359<height>301</height>360</rect>361</property>362<property name="font">363<font>364<weight>50</weight>365<bold>false</bold>366</font>367</property>368<property name="editTriggers">369<set>QAbstractItemView::NoEditTriggers</set>370</property>371<row>372<property name="text">373<string>New Row</string>374</property>375</row>376<row>377<property name="text">378<string>New Row</string>379</property>380</row>381<row>382<property name="text">383<string>New Row</string>384</property>385</row>386<row>387<property name="text">388<string>New Row</string>389</property>390</row>391<column>392<property name="text">393<string>New Column</string>394</property>395</column>396<column>397<property name="text">398<string>New Column</string>399</property>400</column>401</widget>402<widget class="QLabel" name="label_4">403<property name="geometry">404<rect>405<x>190</x>406<y>70</y>407<width>181</width>408<height>16</height>409</rect>410</property>411<property name="text">412<string>2 смена</string>413</property>414<property name="alignment">415<set>Qt::AlignCenter</set>416</property>417</widget>418<widget class="QGroupBox" name="groupBox">419<property name="geometry">420<rect>421<x>10</x>422<y>400</y>423<width>251</width>424<height>101</height>425</rect>426</property>427<property name="title">428<string>Ручное управление</string>429</property>430<widget class="QPushButton" name="manualRingButton">431<property name="geometry">432<rect>433<x>10</x>434<y>20</y>435<width>231</width>436<height>31</height>437</rect>438</property>439<property name="toolTip">440<string>Ручная подача звонка</string>441</property>442<property name="text">443<string>Включить звонок</string>444</property>445<property name="icon">446<iconset>447<normaloff>images/alarm_24px.png</normaloff>images/alarm_24px.png</iconset>448</property>449<property name="iconSize">450<size>451<width>24</width>452<height>24</height>453</size>454</property>455</widget>456<widget class="QPushButton" name="manualLightButton">457<property name="enabled">458<bool>false</bool>459</property>460<property name="geometry">461<rect>462<x>10</x>463<y>60</y>464<width>231</width>465<height>31</height>466</rect>467</property>468<property name="toolTip">469<string>Ручное управление освещением</string>470</property>471<property name="text">472<string>Включить/выключить освещение</string>473</property>474<property name="icon">475<iconset>476<normaloff>images/light_on_24px.png</normaloff>images/light_on_24px.png</iconset>477</property>478<property name="iconSize">479<size>480<width>24</width>481<height>24</height>482</size>483</property>484</widget>485</widget>486<widget class="QGroupBox" name="groupBox_2">487<property name="geometry">488<rect>489<x>270</x>490<y>400</y>491<width>101</width>492<height>101</height>493</rect>494</property>495<property name="title">496<string>Текущий статус</string>497</property>498<widget class="QLabel" name="statusR">499<property name="geometry">500<rect>501<x>50</x>502<y>20</y>503<width>32</width>504<height>32</height>505</rect>506</property>507<property name="maximumSize">508<size>509<width>32</width>510<height>32</height>511</size>512</property>513<property name="text">514<string>R</string>515</property>516</widget>517<widget class="QLabel" name="statusL">518<property name="geometry">519<rect>520<x>50</x>521<y>60</y>522<width>32</width>523<height>32</height>524</rect>525</property>526<property name="maximumSize">527<size>528<width>32</width>529<height>32</height>530</size>531</property>532<property name="text">533<string>L</string>534</property>535</widget>536<widget class="QLabel" name="iconRing">537<property name="geometry">538<rect>539<x>10</x>540<y>20</y>541<width>32</width>542<height>32</height>543</rect>544</property>545<property name="maximumSize">546<size>547<width>32</width>548<height>32</height>549</size>550</property>551<property name="text">552<string/>553</property>554<property name="pixmap">555<pixmap>images/notification_32px.png</pixmap>556</property>557</widget>558<widget class="QLabel" name="iconLight">559<property name="geometry">560<rect>561<x>10</x>562<y>60</y>563<width>32</width>564<height>32</height>565</rect>566</property>567<property name="maximumSize">568<size>569<width>32</width>570<height>32</height>571</size>572</property>573<property name="text">574<string/>575</property>576<property name="pixmap">577<pixmap>images/light_on_32px.png</pixmap>578</property>579</widget>580</widget>581<widget class="QLabel" name="label_2">582<property name="geometry">583<rect>584<x>10</x>585<y>20</y>586<width>541</width>587<height>21</height>588</rect>589</property>590<property name="font">591<font>592<pointsize>12</pointsize>593</font>594</property>595<property name="text">596<string>Текущее расписание:</string>597</property>598</widget>599<widget class="QLabel" name="label_6">600<property name="geometry">601<rect>602<x>10</x>603<y>50</y>604<width>541</width>605<height>21</height>606</rect>607</property>608<property name="font">609<font>610<pointsize>12</pointsize>611</font>612</property>613<property name="text">614<string>Режим энергосбережения</string>615</property>616</widget>617<widget class="QLabel" name="label_13">618<property name="geometry">619<rect>620<x>380</x>621<y>400</y>622<width>171</width>623<height>16</height>624</rect>625</property>626<property name="text">627<string>Включение освещения утром</string>628</property>629<property name="alignment">630<set>Qt::AlignCenter</set>631</property>632</widget>633<widget class="QLabel" name="label_14">634<property name="geometry">635<rect>636<x>380</x>637<y>440</y>638<width>171</width>639<height>16</height>640</rect>641</property>642<property name="text">643<string>Выключение освещения вечером</string>644</property>645<property name="alignment">646<set>Qt::AlignCenter</set>647</property>648</widget>649<widget class="QLabel" name="LightOnLabel1">650<property name="geometry">651<rect>652<x>380</x>653<y>420</y>654<width>171</width>655<height>16</height>656</rect>657</property>658<property name="font">659<font>660<pointsize>10</pointsize>661</font>662</property>663<property name="text">664<string>--:--</string>665</property>666<property name="alignment">667<set>Qt::AlignCenter</set>668</property>669</widget>670<widget class="QLabel" name="LightOffLabel1">671<property name="geometry">672<rect>673<x>380</x>674<y>460</y>675<width>171</width>676<height>16</height>677</rect>678</property>679<property name="font">680<font>681<pointsize>10</pointsize>682</font>683</property>684<property name="text">685<string>--:--</string>686</property>687<property name="alignment">688<set>Qt::AlignCenter</set>689</property>690</widget>691</widget>692<widget class="QGroupBox" name="groupBox_4">693<property name="geometry">694<rect>695<x>580</x>696<y>100</y>697<width>561</width>698<height>511</height>699</rect>700</property>701<property name="title">702<string>Начальная школа</string>703</property>704<widget class="QLabel" name="label_8">705<property name="geometry">706<rect>707<x>370</x>708<y>70</y>709<width>181</width>710<height>16</height>711</rect>712</property>713<property name="text">714<string>Освещение</string>715</property>716<property name="alignment">717<set>Qt::AlignCenter</set>718</property>719</widget>720<widget class="QTableWidget" name="tableWidget_5">721<property name="geometry">722<rect>723<x>190</x>724<y>90</y>725<width>181</width>726<height>301</height>727</rect>728</property>729<property name="editTriggers">730<set>QAbstractItemView::NoEditTriggers</set>731</property>732<row>733<property name="text">734<string>New Row</string>735</property>736</row>737<row>738<property name="text">739<string>New Row</string>740</property>741</row>742<row>743<property name="text">744<string>New Row</string>745</property>746</row>747<row>748<property name="text">749<string>New Row</string>750</property>751</row>752<column>753<property name="text">754<string>New Column</string>755</property>756</column>757<column>758<property name="text">759<string>New Column</string>760</property>761</column>762</widget>763<widget class="QLabel" name="label_9">764<property name="geometry">765<rect>766<x>10</x>767<y>70</y>768<width>181</width>769<height>16</height>770</rect>771</property>772<property name="text">773<string>1 смена</string>774</property>775<property name="alignment">776<set>Qt::AlignCenter</set>777</property>778</widget>779<widget class="QTableWidget" name="tableWidget_6">780<property name="geometry">781<rect>782<x>370</x>783<y>90</y>784<width>181</width>785<height>301</height>786</rect>787</property>788<property name="editTriggers">789<set>QAbstractItemView::NoEditTriggers</set>790</property>791<row>792<property name="text">793<string>New Row</string>794</property>795</row>796<row>797<property name="text">798<string>New Row</string>799</property>800</row>801<row>802<property name="text">803<string>New Row</string>804</property>805</row>806<row>807<property name="text">808<string>New Row</string>809</property>810</row>811<column>812<property name="text">813<string>New Column</string>814</property>815</column>816<column>817<property name="text">818<string>New Column</string>819</property>820</column>821</widget>822<widget class="QTableWidget" name="tableWidget_4">823<property name="geometry">824<rect>825<x>10</x>826<y>90</y>827<width>181</width>828<height>301</height>829</rect>830</property>831<property name="font">832<font>833<weight>50</weight>834<bold>false</bold>835</font>836</property>837<property name="editTriggers">838<set>QAbstractItemView::NoEditTriggers</set>839</property>840<row>841<property name="text">842<string>New Row</string>843</property>844</row>845<row>846<property name="text">847<string>New Row</string>848</property>849</row>850<row>851<property name="text">852<string>New Row</string>853</property>854</row>855<row>856<property name="text">857<string>New Row</string>858</property>859</row>860<column>861<property name="text">862<string>New Column</string>863</property>864</column>865<column>866<property name="text">867<string>New Column</string>868</property>869</column>870</widget>871<widget class="QLabel" name="label_10">872<property name="geometry">873<rect>874<x>190</x>875<y>70</y>876<width>181</width>877<height>16</height>878</rect>879</property>880<property name="text">881<string>2 смена</string>882</property>883<property name="alignment">884<set>Qt::AlignCenter</set>885</property>886</widget>887<widget class="QGroupBox" name="groupBox_5">888<property name="geometry">889<rect>890<x>10</x>891<y>400</y>892<width>251</width>893<height>101</height>894</rect>895</property>896<property name="title">897<string>Ручное управление</string>898</property>899<widget class="QPushButton" name="manualRingButton_2">900<property name="geometry">901<rect>902<x>10</x>903<y>20</y>904<width>231</width>905<height>31</height>906</rect>907</property>908<property name="toolTip">909<string>Ручная подача звонка</string>910</property>911<property name="text">912<string>Включить звонок</string>913</property>914<property name="icon">915<iconset>916<normaloff>images/alarm_24px.png</normaloff>images/alarm_24px.png</iconset>917</property>918<property name="iconSize">919<size>920<width>24</width>921<height>24</height>922</size>923</property>924</widget>925<widget class="QPushButton" name="manualLightButton_2">926<property name="enabled">927<bool>false</bool>928</property>929<property name="geometry">930<rect>931<x>10</x>932<y>60</y>933<width>231</width>934<height>31</height>935</rect>936</property>937<property name="toolTip">938<string>Ручное управление освещением</string>939</property>940<property name="text">941<string>Включить/выключить освещение</string>942</property>943<property name="icon">944<iconset>945<normaloff>images/light_on_24px.png</normaloff>images/light_on_24px.png</iconset>946</property>947<property name="iconSize">948<size>949<width>24</width>950<height>24</height>951</size>952</property>953</widget>954</widget>955<widget class="QGroupBox" name="groupBox_6">956<property name="geometry">957<rect>958<x>270</x>959<y>400</y>960<width>101</width>961<height>101</height>962</rect>963</property>964<property name="title">965<string>Текущий статус</string>966</property>967<widget class="QLabel" name="statusR_2">968<property name="geometry">969<rect>970<x>50</x>971<y>20</y>972<width>32</width>973<height>32</height>974</rect>975</property>976<property name="maximumSize">977<size>978<width>32</width>979<height>32</height>980</size>981</property>982<property name="text">983<string>R</string>984</property>985</widget>986<widget class="QLabel" name="statusL_2">987<property name="geometry">988<rect>989<x>50</x>990<y>60</y>991<width>32</width>992<height>32</height>993</rect>994</property>995<property name="maximumSize">996<size>997<width>32</width>998<height>32</height>999</size>1000</property>1001<property name="text">1002<string>L</string>1003</property>1004</widget>1005<widget class="QLabel" name="iconRing_2">1006<property name="geometry">1007<rect>1008<x>10</x>1009<y>20</y>1010<width>32</width>1011<height>32</height>1012</rect>1013</property>1014<property name="maximumSize">1015<size>1016<width>32</width>1017<height>32</height>1018</size>1019</property>1020<property name="text">1021<string/>1022</property>1023<property name="pixmap">1024<pixmap>images/notification_32px.png</pixmap>1025</property>1026</widget>1027<widget class="QLabel" name="iconLight_2">1028<property name="geometry">1029<rect>1030<x>10</x>1031<y>60</y>1032<width>32</width>1033<height>32</height>1034</rect>1035</property>1036<property name="maximumSize">1037<size>1038<width>32</width>1039<height>32</height>1040</size>1041</property>1042<property name="text">1043<string/>1044</property>1045<property name="pixmap">1046<pixmap>images/light_on_32px.png</pixmap>1047</property>1048</widget>1049</widget>1050<widget class="QLabel" name="label_11">1051<property name="geometry">1052<rect>1053<x>10</x>1054<y>20</y>1055<width>541</width>1056<height>21</height>1057</rect>1058</property>1059<property name="font">1060<font>1061<pointsize>12</pointsize>1062</font>1063</property>1064<property name="text">1065<string>Текущее расписание:</string>1066</property>1067</widget>1068<widget class="QLabel" name="label_12">1069<property name="geometry">1070<rect>1071<x>10</x>1072<y>50</y>1073<width>541</width>1074<height>21</height>1075</rect>1076</property>1077<property name="font">1078<font>1079<pointsize>12</pointsize>1080</font>1081</property>1082<property name="text">1083<string>Режим энергосбережения</string>1084</property>1085</widget>1086<widget class="QLabel" name="label_17">1087<property name="geometry">1088<rect>1089<x>380</x>1090<y>400</y>1091<width>171</width>1092<height>16</height>1093</rect>1094</property>1095<property name="text">1096<string>Включение освещения утром</string>1097</property>1098<property name="alignment">1099<set>Qt::AlignCenter</set>1100</property>1101</widget>1102<widget class="QLabel" name="LightOffLabel2">1103<property name="geometry">1104<rect>1105<x>380</x>1106<y>460</y>1107<width>171</width>1108<height>16</height>1109</rect>1110</property>1111<property name="font">1112<font>1113<pointsize>10</pointsize>1114</font>1115</property>1116<property name="text">1117<string>--:--</string>1118</property>1119<property name="alignment">1120<set>Qt::AlignCenter</set>1121</property>1122</widget>1123<widget class="QLabel" name="label_19">1124<property name="geometry">1125<rect>1126<x>380</x>1127<y>440</y>1128<width>171</width>1129<height>16</height>1130</rect>1131</property>1132<property name="text">1133<string>Выключение освещения вечером</string>1134</property>1135<property name="alignment">1136<set>Qt::AlignCenter</set>1137</property>1138</widget>1139<widget class="QLabel" name="LightOnLabel2">1140<property name="geometry">1141<rect>1142<x>380</x>1143<y>420</y>1144<width>171</width>1145<height>16</height>1146</rect>1147</property>1148<property name="font">1149<font>1150<pointsize>10</pointsize>1151</font>1152</property>1153<property name="text">1154<string>--:--</string>1155</property>1156<property name="alignment">1157<set>Qt::AlignCenter</set>1158</property>1159</widget>1160</widget>1161</widget>1162<widget class="QMenuBar" name="menubar">1163<property name="geometry">1164<rect>1165<x>0</x>1166<y>0</y>1167<width>1149</width>1168<height>21</height>1169</rect>1170</property>1171</widget>1172<widget class="QStatusBar" name="statusbar"/>1173</widget>1174<resources/>1175<connections/>1176</ui>1177