Class: Ui_RelationsConfig

Inherits:
Object show all
Defined in:
lib/roby/gui/relations_view/relations_ui.rb

Overview

** Form generated from reading ui file 'relations.ui' ** ** Created: qua out 28 14:09:58 2026 ** by: Qt User Interface Compiler version 4.8.7 ** ** WARNING! All changes made in this file will be lost when recompiling ui file!

Direct Known Subclasses

Ui::RelationsConfig

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#displayEmitters ⇒ Object (readonly)

Returns the value of attribute displayEmitters.



20
21
22
# File 'lib/roby/gui/relations_view/relations_ui.rb', line 20

def displayEmitters
  @displayEmitters
end

#displayEmittersAndParents ⇒ Object (readonly)

Returns the value of attribute displayEmittersAndParents.



21
22
23
# File 'lib/roby/gui/relations_view/relations_ui.rb', line 21

def displayEmittersAndParents
  @displayEmittersAndParents
end

#displayExplicit ⇒ Object (readonly)

Returns the value of attribute displayExplicit.



19
20
21
# File 'lib/roby/gui/relations_view/relations_ui.rb', line 19

def displayExplicit
  @displayExplicit
end

#displayOptionsGroup ⇒ Object (readonly)

Returns the value of attribute displayOptionsGroup.



17
18
19
# File 'lib/roby/gui/relations_view/relations_ui.rb', line 17

def displayOptionsGroup
  @displayOptionsGroup
end

#gridLayout ⇒ Object (readonly)

Returns the value of attribute gridLayout.



13
14
15
# File 'lib/roby/gui/relations_view/relations_ui.rb', line 13

def gridLayout
  @gridLayout
end

#gridLayout_2 ⇒ Object (readonly)

Returns the value of attribute gridLayout_2.



18
19
20
# File 'lib/roby/gui/relations_view/relations_ui.rb', line 18

def gridLayout_2
  @gridLayout_2
end

#hiddenLabels ⇒ Object (readonly)

Returns the value of attribute hiddenLabels.



23
24
25
# File 'lib/roby/gui/relations_view/relations_ui.rb', line 23

def hiddenLabels
  @hiddenLabels
end

#layoutMethod ⇒ Object (readonly)

Returns the value of attribute layoutMethod.



26
27
28
# File 'lib/roby/gui/relations_view/relations_ui.rb', line 26

def layoutMethod
  @layoutMethod
end

#lblHiddenLabels ⇒ Object (readonly)

Returns the value of attribute lblHiddenLabels.



22
23
24
# File 'lib/roby/gui/relations_view/relations_ui.rb', line 22

def lblHiddenLabels
  @lblHiddenLabels
end

#lblLayoutMethod ⇒ Object (readonly)

Returns the value of attribute lblLayoutMethod.



25
26
27
# File 'lib/roby/gui/relations_view/relations_ui.rb', line 25

def lblLayoutMethod
  @lblLayoutMethod
end

#lblRemovedPrefixes ⇒ Object (readonly)

Returns the value of attribute lblRemovedPrefixes.



15
16
17
# File 'lib/roby/gui/relations_view/relations_ui.rb', line 15

def lblRemovedPrefixes
  @lblRemovedPrefixes
end

#relations ⇒ Object (readonly)

Returns the value of attribute relations.



27
28
29
# File 'lib/roby/gui/relations_view/relations_ui.rb', line 27

def relations
  @relations
end

#removedPrefixes ⇒ Object (readonly)

Returns the value of attribute removedPrefixes.



16
17
18
# File 'lib/roby/gui/relations_view/relations_ui.rb', line 16

def removedPrefixes
  @removedPrefixes
end

#showFinalized ⇒ Object (readonly)

Returns the value of attribute showFinalized.



24
25
26
# File 'lib/roby/gui/relations_view/relations_ui.rb', line 24

def showFinalized
  @showFinalized
end

#showOwnership ⇒ Object (readonly)

Returns the value of attribute showOwnership.



14
15
16
# File 'lib/roby/gui/relations_view/relations_ui.rb', line 14

def showOwnership
  @showOwnership
end

#taskLabelsGroup ⇒ Object (readonly)

Returns the value of attribute taskLabelsGroup.



12
13
14
# File 'lib/roby/gui/relations_view/relations_ui.rb', line 12

def taskLabelsGroup
  @taskLabelsGroup
end

#verticalLayout ⇒ Object (readonly)

Returns the value of attribute verticalLayout.



11
12
13
# File 'lib/roby/gui/relations_view/relations_ui.rb', line 11

def verticalLayout
  @verticalLayout
end

Instance Method Details

#retranslate_ui(relationsConfig) ⇒ Object

retranslateUi



150
151
152
# File 'lib/roby/gui/relations_view/relations_ui.rb', line 150

def retranslate_ui(relationsConfig)
    retranslateUi(relationsConfig)
end

#retranslateUi(relationsConfig) ⇒ Object



135
136
137
138
139
140
141
142
143
144
145
146
147
148
# File 'lib/roby/gui/relations_view/relations_ui.rb', line 135

def retranslateUi(relationsConfig)
relationsConfig.windowTitle = Qt::Application.translate("RelationsConfig", "RelationsConfig", nil, Qt::Application::UnicodeUTF8)
@taskLabelsGroup.title = Qt::Application.translate("RelationsConfig", "Task Labels", nil, Qt::Application::UnicodeUTF8)
@showOwnership.text = Qt::Application.translate("RelationsConfig", "Show ownership", nil, Qt::Application::UnicodeUTF8)
@lblRemovedPrefixes.text = Qt::Application.translate("RelationsConfig", "Remove the following prefixes (comma-separated)", nil, Qt::Application::UnicodeUTF8)
@removedPrefixes.text = Qt::Application.translate("RelationsConfig", "Roby::", nil, Qt::Application::UnicodeUTF8)
@displayOptionsGroup.title = Qt::Application.translate("RelationsConfig", "Display Options", nil, Qt::Application::UnicodeUTF8)
@displayExplicit.text = Qt::Application.translate("RelationsConfig", "Explicit hide/show management", nil, Qt::Application::UnicodeUTF8)
@displayEmitters.text = Qt::Application.translate("RelationsConfig", "Only show tasks that emit events", nil, Qt::Application::UnicodeUTF8)
@displayEmittersAndParents.text = Qt::Application.translate("RelationsConfig", "Only show tasks that emit events and their parents", nil, Qt::Application::UnicodeUTF8)
@lblHiddenLabels.text = Qt::Application.translate("RelationsConfig", "Hide tasks whose label matches (comma-separated)", nil, Qt::Application::UnicodeUTF8)
@showFinalized.text = Qt::Application.translate("RelationsConfig", "Show finalized objects", nil, Qt::Application::UnicodeUTF8)
@lblLayoutMethod.text = Qt::Application.translate("RelationsConfig", "Layout method", nil, Qt::Application::UnicodeUTF8)
end

#setup_ui(relationsConfig) ⇒ Object

setupUi



131
132
133
# File 'lib/roby/gui/relations_view/relations_ui.rb', line 131

def setup_ui(relationsConfig)
    setupUi(relationsConfig)
end

#setupUi(relationsConfig) ⇒ Object



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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# File 'lib/roby/gui/relations_view/relations_ui.rb', line 29

def setupUi(relationsConfig)
if relationsConfig.objectName.nil?
    relationsConfig.objectName = "relationsConfig"
end
relationsConfig.resize(428, 668)
@verticalLayout = Qt::VBoxLayout.new(relationsConfig)
@verticalLayout.objectName = "verticalLayout"
@taskLabelsGroup = Qt::GroupBox.new(relationsConfig)
@taskLabelsGroup.objectName = "taskLabelsGroup"
@gridLayout = Qt::GridLayout.new(@taskLabelsGroup)
@gridLayout.objectName = "gridLayout"
@showOwnership = Qt::CheckBox.new(@taskLabelsGroup)
@showOwnership.objectName = "showOwnership"
@showOwnership.checked = true

@gridLayout.addWidget(@showOwnership, 0, 0, 1, 1)

@lblRemovedPrefixes = Qt::Label.new(@taskLabelsGroup)
@lblRemovedPrefixes.objectName = "lblRemovedPrefixes"
@lblRemovedPrefixes.wordWrap = true

@gridLayout.addWidget(@lblRemovedPrefixes, 1, 0, 1, 1)

@removedPrefixes = Qt::LineEdit.new(@taskLabelsGroup)
@removedPrefixes.objectName = "removedPrefixes"

@gridLayout.addWidget(@removedPrefixes, 2, 0, 1, 1)


@verticalLayout.addWidget(@taskLabelsGroup)

@displayOptionsGroup = Qt::GroupBox.new(relationsConfig)
@displayOptionsGroup.objectName = "displayOptionsGroup"
@gridLayout_2 = Qt::GridLayout.new(@displayOptionsGroup)
@gridLayout_2.objectName = "gridLayout_2"
@displayExplicit = Qt::RadioButton.new(@displayOptionsGroup)
@displayExplicit.objectName = "displayExplicit"
@displayExplicit.checked = true

@gridLayout_2.addWidget(@displayExplicit, 0, 0, 1, 2)

@displayEmitters = Qt::RadioButton.new(@displayOptionsGroup)
@displayEmitters.objectName = "displayEmitters"

@gridLayout_2.addWidget(@displayEmitters, 1, 0, 1, 2)

@displayEmittersAndParents = Qt::RadioButton.new(@displayOptionsGroup)
@displayEmittersAndParents.objectName = "displayEmittersAndParents"

@gridLayout_2.addWidget(@displayEmittersAndParents, 2, 0, 1, 2)

@lblHiddenLabels = Qt::Label.new(@displayOptionsGroup)
@lblHiddenLabels.objectName = "lblHiddenLabels"
@lblHiddenLabels.wordWrap = true

@gridLayout_2.addWidget(@lblHiddenLabels, 3, 0, 1, 2)

@hiddenLabels = Qt::LineEdit.new(@displayOptionsGroup)
@hiddenLabels.objectName = "hiddenLabels"

@gridLayout_2.addWidget(@hiddenLabels, 4, 0, 1, 2)

@showFinalized = Qt::CheckBox.new(@displayOptionsGroup)
@showFinalized.objectName = "showFinalized"
@showFinalized.checked = true

@gridLayout_2.addWidget(@showFinalized, 5, 0, 1, 2)

@lblLayoutMethod = Qt::Label.new(@displayOptionsGroup)
@lblLayoutMethod.objectName = "lblLayoutMethod"
@sizePolicy = Qt::SizePolicy.new(Qt::SizePolicy::Minimum, Qt::SizePolicy::Preferred)
@sizePolicy.setHorizontalStretch(0)
@sizePolicy.setVerticalStretch(0)
@sizePolicy.heightForWidth = @lblLayoutMethod.sizePolicy.hasHeightForWidth
@lblLayoutMethod.sizePolicy = @sizePolicy

@gridLayout_2.addWidget(@lblLayoutMethod, 6, 0, 1, 1)

@layoutMethod = Qt::ComboBox.new(@displayOptionsGroup)
@layoutMethod.objectName = "layoutMethod"
@sizePolicy1 = Qt::SizePolicy.new(Qt::SizePolicy::MinimumExpanding, Qt::SizePolicy::Fixed)
@sizePolicy1.setHorizontalStretch(0)
@sizePolicy1.setVerticalStretch(0)
@sizePolicy1.heightForWidth = @layoutMethod.sizePolicy.hasHeightForWidth
@layoutMethod.sizePolicy = @sizePolicy1

@gridLayout_2.addWidget(@layoutMethod, 6, 1, 1, 1)


@verticalLayout.addWidget(@displayOptionsGroup)

@relations = Qt::TreeView.new(relationsConfig)
@relations.objectName = "relations"

@verticalLayout.addWidget(@relations)


retranslateUi(relationsConfig)

Qt::MetaObject.connectSlotsByName(relationsConfig)
end