Class: Ui_FindDialog

Inherits:
Object show all
Defined in:
lib/tmis/interface/forms/ui_find.rb

Overview

** Form generated from reading ui file ‘find.ui’ ** ** Created: Wed Sep 4 12:32:25 2013 ** by: Qt User Interface Compiler version 4.8.5 ** ** WARNING! All changes made in this file will be lost when recompiling ui file!

Direct Known Subclasses

Ui::FindDialog

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#buttonBoxObject (readonly)

Returns the value of attribute buttonBox.



13
14
15
# File 'lib/tmis/interface/forms/ui_find.rb', line 13

def buttonBox
  @buttonBox
end

#findByComboBoxObject (readonly)

Returns the value of attribute findByComboBox.



16
17
18
# File 'lib/tmis/interface/forms/ui_find.rb', line 16

def findByComboBox
  @findByComboBox
end

#findByLabelObject (readonly)

Returns the value of attribute findByLabel.



15
16
17
# File 'lib/tmis/interface/forms/ui_find.rb', line 15

def findByLabel
  @findByLabel
end

#gridLayoutObject (readonly)

Returns the value of attribute gridLayout.



12
13
14
# File 'lib/tmis/interface/forms/ui_find.rb', line 12

def gridLayout
  @gridLayout
end

#gridLayout_2Object (readonly)

Returns the value of attribute gridLayout_2.



11
12
13
# File 'lib/tmis/interface/forms/ui_find.rb', line 11

def gridLayout_2
  @gridLayout_2
end

#horizontalLayoutObject (readonly)

Returns the value of attribute horizontalLayout.



14
15
16
# File 'lib/tmis/interface/forms/ui_find.rb', line 14

def horizontalLayout
  @horizontalLayout
end

Instance Method Details

#retranslate_ui(findDialog) ⇒ Object

retranslateUi



67
68
69
# File 'lib/tmis/interface/forms/ui_find.rb', line 67

def retranslate_ui(findDialog)
    retranslateUi(findDialog)
end

#retranslateUi(findDialog) ⇒ Object



62
63
64
65
# File 'lib/tmis/interface/forms/ui_find.rb', line 62

def retranslateUi(findDialog)
findDialog.windowTitle = Qt::Application.translate("FindDialog", "Dialog", nil, Qt::Application::UnicodeUTF8)
@findByLabel.text = Qt::Application.translate("FindDialog", "Find by", nil, Qt::Application::UnicodeUTF8)
end

#setup_ui(findDialog) ⇒ Object

setupUi



58
59
60
# File 'lib/tmis/interface/forms/ui_find.rb', line 58

def setup_ui(findDialog)
    setupUi(findDialog)
end

#setupUi(findDialog) ⇒ Object



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
56
# File 'lib/tmis/interface/forms/ui_find.rb', line 18

def setupUi(findDialog)
if findDialog.objectName.nil?
    findDialog.objectName = "findDialog"
end
findDialog.resize(170, 64)
@gridLayout_2 = Qt::GridLayout.new(findDialog)
@gridLayout_2.objectName = "gridLayout_2"
@gridLayout = Qt::GridLayout.new()
@gridLayout.objectName = "gridLayout"
@buttonBox = Qt::DialogButtonBox.new(findDialog)
@buttonBox.objectName = "buttonBox"
@buttonBox.orientation = Qt::Horizontal
@buttonBox.standardButtons = Qt::DialogButtonBox::Cancel|Qt::DialogButtonBox::Ok

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

@horizontalLayout = Qt::HBoxLayout.new()
@horizontalLayout.objectName = "horizontalLayout"
@findByLabel = Qt::Label.new(findDialog)
@findByLabel.objectName = "findByLabel"

@horizontalLayout.addWidget(@findByLabel)

@findByComboBox = Qt::ComboBox.new(findDialog)
@findByComboBox.objectName = "findByComboBox"

@horizontalLayout.addWidget(@findByComboBox)


@gridLayout.addLayout(@horizontalLayout, 0, 0, 1, 1)


@gridLayout_2.addLayout(@gridLayout, 0, 0, 1, 1)


retranslateUi(findDialog)

Qt::MetaObject.connectSlotsByName(findDialog)
end