Class: Ui_ProjectFilesWidget

Inherits:
Object
  • Object
show all
Defined in:
lib/ruber/world/ui/project_files_widget.rb,
lib/ruber/projects/ui/project_files_widget.rb

Overview

** Form generated from reading ui file ‘project_files_widget.ui’ ** ** Created: lun apr 18 09:11:58 2011 ** by: Qt User Interface Compiler version 4.7.2 ** ** WARNING! All changes made in this file will be lost when recompiling ui file!

Direct Known Subclasses

Ui::ProjectFilesWidget

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#exclude_rulesObject (readonly)

Returns the value of attribute exclude_rules.



21
22
23
# File 'lib/ruber/world/ui/project_files_widget.rb', line 21

def exclude_rules
  @exclude_rules
end

#extensionsObject (readonly)

Returns the value of attribute extensions.



15
16
17
# File 'lib/ruber/world/ui/project_files_widget.rb', line 15

def extensions
  @extensions
end

#gridLayoutObject (readonly)

Returns the value of attribute gridLayout.



13
14
15
# File 'lib/ruber/world/ui/project_files_widget.rb', line 13

def gridLayout
  @gridLayout
end

#gridLayout_2Object (readonly)

Returns the value of attribute gridLayout_2.



19
20
21
# File 'lib/ruber/world/ui/project_files_widget.rb', line 19

def gridLayout_2
  @gridLayout_2
end

#groupBoxObject (readonly)

Returns the value of attribute groupBox.



12
13
14
# File 'lib/ruber/world/ui/project_files_widget.rb', line 12

def groupBox
  @groupBox
end

#groupBox_2Object (readonly)

Returns the value of attribute groupBox_2.



18
19
20
# File 'lib/ruber/world/ui/project_files_widget.rb', line 18

def groupBox_2
  @groupBox_2
end

#include_rulesObject (readonly)

Returns the value of attribute include_rules.



17
18
19
# File 'lib/ruber/world/ui/project_files_widget.rb', line 17

def include_rules
  @include_rules
end

#labelObject (readonly)

Returns the value of attribute label.



14
15
16
# File 'lib/ruber/world/ui/project_files_widget.rb', line 14

def label
  @label
end

#label_2Object (readonly)

Returns the value of attribute label_2.



16
17
18
# File 'lib/ruber/world/ui/project_files_widget.rb', line 16

def label_2
  @label_2
end

#label_3Object (readonly)

Returns the value of attribute label_3.



20
21
22
# File 'lib/ruber/world/ui/project_files_widget.rb', line 20

def label_3
  @label_3
end

#verticalLayoutObject (readonly)

Returns the value of attribute verticalLayout.



11
12
13
# File 'lib/ruber/world/ui/project_files_widget.rb', line 11

def verticalLayout
  @verticalLayout
end

Instance Method Details

#retranslate_ui(projectFilesWidget) ⇒ Object

retranslateUi



107
108
109
# File 'lib/ruber/world/ui/project_files_widget.rb', line 107

def retranslate_ui(projectFilesWidget)
    retranslateUi(projectFilesWidget)
end

#retranslateUi(projectFilesWidget) ⇒ Object



98
99
100
101
102
103
104
105
# File 'lib/ruber/world/ui/project_files_widget.rb', line 98

def retranslateUi(projectFilesWidget)
projectFilesWidget.windowTitle = Qt::Application.translate("ProjectFilesWidget", "Form", nil, Qt::Application::UnicodeUTF8)
@groupBox.title = Qt::Application.translate("ProjectFilesWidget", "Files to include", nil, Qt::Application::UnicodeUTF8)
@label.text = Qt::Application.translate("ProjectFilesWidget", "Extensions", nil, Qt::Application::UnicodeUTF8)
@label_2.text = Qt::Application.translate("ProjectFilesWidget", "&Rules", nil, Qt::Application::UnicodeUTF8)
@groupBox_2.title = Qt::Application.translate("ProjectFilesWidget", "Files to exclude", nil, Qt::Application::UnicodeUTF8)
@label_3.text = Qt::Application.translate("ProjectFilesWidget", "&Rules", nil, Qt::Application::UnicodeUTF8)
end

#setup_ui(projectFilesWidget) ⇒ Object

setupUi



94
95
96
# File 'lib/ruber/world/ui/project_files_widget.rb', line 94

def setup_ui(projectFilesWidget)
    setupUi(projectFilesWidget)
end

#setupUi(projectFilesWidget) ⇒ Object



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
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
# File 'lib/ruber/world/ui/project_files_widget.rb', line 23

def setupUi(projectFilesWidget)
if projectFilesWidget.objectName.nil?
    projectFilesWidget.objectName = "projectFilesWidget"
end
projectFilesWidget.resize(518, 576)
@verticalLayout = Qt::VBoxLayout.new(projectFilesWidget)
@verticalLayout.objectName = "verticalLayout"
@groupBox = Qt::GroupBox.new(projectFilesWidget)
@groupBox.objectName = "groupBox"
@gridLayout = Qt::GridLayout.new(@groupBox)
@gridLayout.objectName = "gridLayout"
@label = Qt::Label.new(@groupBox)
@label.objectName = "label"

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

@extensions = KDE::LineEdit.new(@groupBox)
@extensions.objectName = "extensions"

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

@label_2 = Qt::Label.new(@groupBox)
@label_2.objectName = "label_2"
@sizePolicy = Qt::SizePolicy.new(Qt::SizePolicy::Preferred, Qt::SizePolicy::Fixed)
@sizePolicy.setHorizontalStretch(0)
@sizePolicy.setVerticalStretch(0)
@sizePolicy.heightForWidth = @label_2.sizePolicy.hasHeightForWidth
@label_2.sizePolicy = @sizePolicy

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

@include_rules = Ruber::ProjectFilesRuleChooser.new(@groupBox)
@include_rules.objectName = "include_rules"
@include_rules.minimumSize = Qt::Size.new(350, 200)
@include_rules.focusPolicy = Qt::StrongFocus

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


@verticalLayout.addWidget(@groupBox)

@groupBox_2 = Qt::GroupBox.new(projectFilesWidget)
@groupBox_2.objectName = "groupBox_2"
@gridLayout_2 = Qt::GridLayout.new(@groupBox_2)
@gridLayout_2.objectName = "gridLayout_2"
@label_3 = Qt::Label.new(@groupBox_2)
@label_3.objectName = "label_3"
@sizePolicy.heightForWidth = @label_3.sizePolicy.hasHeightForWidth
@label_3.sizePolicy = @sizePolicy

@gridLayout_2.addWidget(@label_3, 0, 0, 1, 1)

@exclude_rules = Ruber::ProjectFilesRuleChooser.new(@groupBox_2)
@exclude_rules.objectName = "exclude_rules"
@exclude_rules.minimumSize = Qt::Size.new(350, 200)
@exclude_rules.focusPolicy = Qt::StrongFocus

@gridLayout_2.addWidget(@exclude_rules, 1, 0, 1, 1)


@verticalLayout.addWidget(@groupBox_2)

@label.buddy = @extensions
@label_2.buddy = @include_rules
@label_3.buddy = @include_rules

retranslateUi(projectFilesWidget)

Qt::MetaObject.connectSlotsByName(projectFilesWidget)
end