Class: Ui_AboutDialog

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

Overview

** Form generated from reading ui file ‘about.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::AboutDialog

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#buttonBoxObject (readonly)

Returns the value of attribute buttonBox.



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

def buttonBox
  @buttonBox
end

#gridLayoutObject (readonly)

Returns the value of attribute gridLayout.



12
13
14
# File 'lib/tmis/interface/forms/ui_about.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_about.rb', line 11

def gridLayout_2
  @gridLayout_2
end

#horizontalLayoutObject (readonly)

Returns the value of attribute horizontalLayout.



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

def horizontalLayout
  @horizontalLayout
end

#lineObject (readonly)

Returns the value of attribute line.



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

def line
  @line
end

#textBrowserObject (readonly)

Returns the value of attribute textBrowser.



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

def textBrowser
  @textBrowser
end

Instance Method Details

#retranslate_ui(aboutDialog) ⇒ Object

retranslateUi



78
79
80
# File 'lib/tmis/interface/forms/ui_about.rb', line 78

def retranslate_ui(aboutDialog)
    retranslateUi(aboutDialog)
end

#retranslateUi(aboutDialog) ⇒ Object



69
70
71
72
73
74
75
76
# File 'lib/tmis/interface/forms/ui_about.rb', line 69

def retranslateUi(aboutDialog)
aboutDialog.windowTitle = Qt::Application.translate("AboutDialog", "\320\236 \320\277\321\200\320\276\320\263\321\200\320\260\320\274\320\274\320\265", nil, Qt::Application::UnicodeUTF8)
@textBrowser.html = Qt::Application.translate("AboutDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" \
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" \
"p, li { white-space: pre-wrap; }\n" \
"</style></head><body style=\" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;\">\n" \
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p></body></html>", nil, Qt::Application::UnicodeUTF8)
end

#setup_ui(aboutDialog) ⇒ Object

setupUi



65
66
67
# File 'lib/tmis/interface/forms/ui_about.rb', line 65

def setup_ui(aboutDialog)
    setupUi(aboutDialog)
end

#setupUi(aboutDialog) ⇒ 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
57
58
59
60
61
62
63
# File 'lib/tmis/interface/forms/ui_about.rb', line 18

def setupUi(aboutDialog)
if aboutDialog.objectName.nil?
    aboutDialog.objectName = "aboutDialog"
end
aboutDialog.resize(562, 271)
@gridLayout_2 = Qt::GridLayout.new(aboutDialog)
@gridLayout_2.objectName = "gridLayout_2"
@gridLayout = Qt::GridLayout.new()
@gridLayout.objectName = "gridLayout"
@horizontalLayout = Qt::HBoxLayout.new()
@horizontalLayout.objectName = "horizontalLayout"
@line = Qt::Frame.new(aboutDialog)
@line.objectName = "line"
@line.setFrameShape(Qt::Frame::VLine)
@line.setFrameShadow(Qt::Frame::Sunken)

@horizontalLayout.addWidget(@line)

@textBrowser = Qt::TextBrowser.new(aboutDialog)
@textBrowser.objectName = "textBrowser"
@textBrowser.enabled = true
@textBrowser.styleSheet = "background: transparent;"
@textBrowser.frameShape = Qt::Frame::NoFrame
@textBrowser.frameShadow = Qt::Frame::Plain

@horizontalLayout.addWidget(@textBrowser)


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

@buttonBox = Qt::DialogButtonBox.new(aboutDialog)
@buttonBox.objectName = "buttonBox"
@buttonBox.orientation = Qt::Horizontal
@buttonBox.standardButtons = Qt::DialogButtonBox::Cancel

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


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


retranslateUi(aboutDialog)
Qt::Object.connect(@buttonBox, SIGNAL('rejected()'), aboutDialog, SLOT('close()'))

Qt::MetaObject.connectSlotsByName(aboutDialog)
end