|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Preferences/ConfigurationPages/EditorCalltipsPage.ui' |
|
2 # |
|
3 # Created by: PyQt6 UI code generator 6.7.0 |
|
4 # |
|
5 # WARNING: Any manual changes made to this file will be lost when pyuic6 is |
|
6 # run again. Do not edit this file unless you know what you are doing. |
|
7 |
|
8 |
|
9 from PyQt6 import QtCore, QtGui, QtWidgets |
|
10 |
|
11 |
|
12 class Ui_EditorCalltipsPage(object): |
|
13 def setupUi(self, EditorCalltipsPage): |
|
14 EditorCalltipsPage.setObjectName("EditorCalltipsPage") |
|
15 EditorCalltipsPage.resize(408, 468) |
|
16 self.verticalLayout_3 = QtWidgets.QVBoxLayout(EditorCalltipsPage) |
|
17 self.verticalLayout_3.setObjectName("verticalLayout_3") |
|
18 self.headerLabel = QtWidgets.QLabel(parent=EditorCalltipsPage) |
|
19 self.headerLabel.setObjectName("headerLabel") |
|
20 self.verticalLayout_3.addWidget(self.headerLabel) |
|
21 self.line18 = QtWidgets.QFrame(parent=EditorCalltipsPage) |
|
22 self.line18.setFrameShape(QtWidgets.QFrame.Shape.HLine) |
|
23 self.line18.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken) |
|
24 self.line18.setFrameShape(QtWidgets.QFrame.Shape.HLine) |
|
25 self.line18.setObjectName("line18") |
|
26 self.verticalLayout_3.addWidget(self.line18) |
|
27 self.ctEnabledCheckBox = QtWidgets.QCheckBox(parent=EditorCalltipsPage) |
|
28 self.ctEnabledCheckBox.setObjectName("ctEnabledCheckBox") |
|
29 self.verticalLayout_3.addWidget(self.ctEnabledCheckBox) |
|
30 self.frame = QtWidgets.QFrame(parent=EditorCalltipsPage) |
|
31 self.frame.setEnabled(False) |
|
32 self.frame.setObjectName("frame") |
|
33 self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame) |
|
34 self.horizontalLayout.setContentsMargins(0, 0, 0, 0) |
|
35 self.horizontalLayout.setObjectName("horizontalLayout") |
|
36 self.verticalLayout_3.addWidget(self.frame) |
|
37 self.calltipsVisibleBox = QtWidgets.QGroupBox(parent=EditorCalltipsPage) |
|
38 self.calltipsVisibleBox.setObjectName("calltipsVisibleBox") |
|
39 self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.calltipsVisibleBox) |
|
40 self.horizontalLayout_2.setObjectName("horizontalLayout_2") |
|
41 self.ctVisibleSlider = QtWidgets.QSlider(parent=self.calltipsVisibleBox) |
|
42 self.ctVisibleSlider.setMaximum(20) |
|
43 self.ctVisibleSlider.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
44 self.ctVisibleSlider.setTickInterval(1) |
|
45 self.ctVisibleSlider.setObjectName("ctVisibleSlider") |
|
46 self.horizontalLayout_2.addWidget(self.ctVisibleSlider) |
|
47 self.lCDNumber5 = QtWidgets.QLCDNumber(parent=self.calltipsVisibleBox) |
|
48 self.lCDNumber5.setDigitCount(2) |
|
49 self.lCDNumber5.setSegmentStyle(QtWidgets.QLCDNumber.SegmentStyle.Flat) |
|
50 self.lCDNumber5.setObjectName("lCDNumber5") |
|
51 self.horizontalLayout_2.addWidget(self.lCDNumber5) |
|
52 self.verticalLayout_3.addWidget(self.calltipsVisibleBox) |
|
53 self.calltipsPositionBox = QtWidgets.QGroupBox(parent=EditorCalltipsPage) |
|
54 self.calltipsPositionBox.setObjectName("calltipsPositionBox") |
|
55 self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.calltipsPositionBox) |
|
56 self.verticalLayout_2.setObjectName("verticalLayout_2") |
|
57 self.positionComboBox = QtWidgets.QComboBox(parent=self.calltipsPositionBox) |
|
58 self.positionComboBox.setObjectName("positionComboBox") |
|
59 self.verticalLayout_2.addWidget(self.positionComboBox) |
|
60 self.verticalLayout_3.addWidget(self.calltipsPositionBox) |
|
61 self.calltipsColorsBox = QtWidgets.QGroupBox(parent=EditorCalltipsPage) |
|
62 self.calltipsColorsBox.setObjectName("calltipsColorsBox") |
|
63 self.gridLayout = QtWidgets.QGridLayout(self.calltipsColorsBox) |
|
64 self.gridLayout.setObjectName("gridLayout") |
|
65 self.TextLabel2_2_2_2 = QtWidgets.QLabel(parent=self.calltipsColorsBox) |
|
66 self.TextLabel2_2_2_2.setObjectName("TextLabel2_2_2_2") |
|
67 self.gridLayout.addWidget(self.TextLabel2_2_2_2, 0, 0, 1, 1) |
|
68 self.calltipsBackgroundButton = QtWidgets.QPushButton(parent=self.calltipsColorsBox) |
|
69 self.calltipsBackgroundButton.setMinimumSize(QtCore.QSize(100, 0)) |
|
70 self.calltipsBackgroundButton.setText("") |
|
71 self.calltipsBackgroundButton.setObjectName("calltipsBackgroundButton") |
|
72 self.gridLayout.addWidget(self.calltipsBackgroundButton, 0, 1, 1, 1) |
|
73 spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) |
|
74 self.gridLayout.addItem(spacerItem, 0, 2, 1, 1) |
|
75 self.TextLabel2_2_2_3 = QtWidgets.QLabel(parent=self.calltipsColorsBox) |
|
76 self.TextLabel2_2_2_3.setObjectName("TextLabel2_2_2_3") |
|
77 self.gridLayout.addWidget(self.TextLabel2_2_2_3, 1, 0, 1, 1) |
|
78 self.calltipsForegroundButton = QtWidgets.QPushButton(parent=self.calltipsColorsBox) |
|
79 self.calltipsForegroundButton.setMinimumSize(QtCore.QSize(100, 0)) |
|
80 self.calltipsForegroundButton.setText("") |
|
81 self.calltipsForegroundButton.setObjectName("calltipsForegroundButton") |
|
82 self.gridLayout.addWidget(self.calltipsForegroundButton, 1, 1, 1, 1) |
|
83 self.TextLabel2_2_2_4 = QtWidgets.QLabel(parent=self.calltipsColorsBox) |
|
84 self.TextLabel2_2_2_4.setObjectName("TextLabel2_2_2_4") |
|
85 self.gridLayout.addWidget(self.TextLabel2_2_2_4, 2, 0, 1, 1) |
|
86 self.calltipsHighlightButton = QtWidgets.QPushButton(parent=self.calltipsColorsBox) |
|
87 self.calltipsHighlightButton.setMinimumSize(QtCore.QSize(100, 0)) |
|
88 self.calltipsHighlightButton.setText("") |
|
89 self.calltipsHighlightButton.setObjectName("calltipsHighlightButton") |
|
90 self.gridLayout.addWidget(self.calltipsHighlightButton, 2, 1, 1, 1) |
|
91 self.verticalLayout_3.addWidget(self.calltipsColorsBox) |
|
92 self.pluginsBox = QtWidgets.QGroupBox(parent=EditorCalltipsPage) |
|
93 self.pluginsBox.setObjectName("pluginsBox") |
|
94 self.verticalLayout = QtWidgets.QVBoxLayout(self.pluginsBox) |
|
95 self.verticalLayout.setObjectName("verticalLayout") |
|
96 self.ctScintillaCheckBox = QtWidgets.QCheckBox(parent=self.pluginsBox) |
|
97 self.ctScintillaCheckBox.setObjectName("ctScintillaCheckBox") |
|
98 self.verticalLayout.addWidget(self.ctScintillaCheckBox) |
|
99 self.verticalLayout_3.addWidget(self.pluginsBox) |
|
100 spacerItem1 = QtWidgets.QSpacerItem(388, 20, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding) |
|
101 self.verticalLayout_3.addItem(spacerItem1) |
|
102 |
|
103 self.retranslateUi(EditorCalltipsPage) |
|
104 self.ctVisibleSlider.valueChanged['int'].connect(self.lCDNumber5.display) # type: ignore |
|
105 QtCore.QMetaObject.connectSlotsByName(EditorCalltipsPage) |
|
106 EditorCalltipsPage.setTabOrder(self.ctEnabledCheckBox, self.ctVisibleSlider) |
|
107 EditorCalltipsPage.setTabOrder(self.ctVisibleSlider, self.positionComboBox) |
|
108 EditorCalltipsPage.setTabOrder(self.positionComboBox, self.calltipsBackgroundButton) |
|
109 EditorCalltipsPage.setTabOrder(self.calltipsBackgroundButton, self.calltipsForegroundButton) |
|
110 EditorCalltipsPage.setTabOrder(self.calltipsForegroundButton, self.calltipsHighlightButton) |
|
111 EditorCalltipsPage.setTabOrder(self.calltipsHighlightButton, self.ctScintillaCheckBox) |
|
112 |
|
113 def retranslateUi(self, EditorCalltipsPage): |
|
114 _translate = QtCore.QCoreApplication.translate |
|
115 self.headerLabel.setText(_translate("EditorCalltipsPage", "<b>Configure Calltips</b>")) |
|
116 self.ctEnabledCheckBox.setToolTip(_translate("EditorCalltipsPage", "Select this to enable calltips")) |
|
117 self.ctEnabledCheckBox.setText(_translate("EditorCalltipsPage", "Automatic Calltips Enabled")) |
|
118 self.calltipsVisibleBox.setTitle(_translate("EditorCalltipsPage", "Visible Calltips")) |
|
119 self.ctVisibleSlider.setToolTip(_translate("EditorCalltipsPage", "Move to set the maximum number of calltips shown (0 = all available)")) |
|
120 self.lCDNumber5.setToolTip(_translate("EditorCalltipsPage", "Displays the maximum number of calltips to be shown")) |
|
121 self.calltipsPositionBox.setTitle(_translate("EditorCalltipsPage", "Calltips Position")) |
|
122 self.positionComboBox.setToolTip(_translate("EditorCalltipsPage", "Select the position for the calltips")) |
|
123 self.calltipsColorsBox.setTitle(_translate("EditorCalltipsPage", "Colors")) |
|
124 self.TextLabel2_2_2_2.setText(_translate("EditorCalltipsPage", "Background color:")) |
|
125 self.calltipsBackgroundButton.setToolTip(_translate("EditorCalltipsPage", "Select the background color for calltips.")) |
|
126 self.TextLabel2_2_2_3.setText(_translate("EditorCalltipsPage", "Foreground color:")) |
|
127 self.calltipsForegroundButton.setToolTip(_translate("EditorCalltipsPage", "Select the foreground color for calltips.")) |
|
128 self.TextLabel2_2_2_4.setText(_translate("EditorCalltipsPage", "Highlight color:")) |
|
129 self.calltipsHighlightButton.setToolTip(_translate("EditorCalltipsPage", "Select the highlight color for calltips.")) |
|
130 self.pluginsBox.setTitle(_translate("EditorCalltipsPage", "Plug-In Behavior")) |
|
131 self.ctScintillaCheckBox.setToolTip(_translate("EditorCalltipsPage", "Select to show QScintilla provided calltips, if the selected plug-ins fail")) |
|
132 self.ctScintillaCheckBox.setWhatsThis(_translate("EditorCalltipsPage", "Qscintilla provided calltips are shown, if this option is enabled and calltips shall be provided by plug-ins (see calltips sub-page of the plug-in) and the plugin-ins don\'t deliver any calltips.")) |
|
133 self.ctScintillaCheckBox.setText(_translate("EditorCalltipsPage", "Show QScintilla calltips, if plug-ins fail")) |