-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmainwindow.ui
More file actions
55 lines (53 loc) · 1.69 KB
/
mainwindow.ui
File metadata and controls
55 lines (53 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="windowTitle">
<string>Graph Plotter</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" name="verticalLayout">
<!-- Контейнер для графика -->
<item>
<widget class="QWidget" name="graphContainer">
<property name="minimumSize">
<size>
<width>400</width>
<height>300</height>
</size>
</property>
<layout class="QVBoxLayout" name="graphLayout"/>
</widget>
</item>
<!-- Панель ввода снизу -->
<item>
<layout class="QHBoxLayout" name="inputLayout">
<item>
<widget class="QLineEdit" name="lineEdit">
<property name="placeholderText">
<string>Введите выражение, например: y = sin(x) или x = y^2</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton">
<property name="text">
<string>Построить график</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar"/>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<!-- ВАЖНО: <resources/> и <connections/> идут после закрывающего тега <widget> -->
<resources/>
<connections>
<connection sender="pushButton" signal="clicked()" receiver="MainWindow" slot="on_pushButton_clicked()"/>
</connections>
<!-- Если есть custom widgets -->
<customwidgets/>
</ui>