class Ui_AboutDialog
** 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!
Attributes
gridLayout[R]
gridLayout_2[R]
horizontalLayout[R]
line[R]
textBrowser[R]
Public Instance Methods
retranslateUi(aboutDialog)
click to toggle source
# 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
retranslate_ui(aboutDialog)
click to toggle source
# File lib/tmis/interface/forms/ui_about.rb, line 78 def retranslate_ui(aboutDialog) retranslateUi(aboutDialog) end
setupUi(aboutDialog)
click to toggle source
# 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
setup_ui(aboutDialog)
click to toggle source
# File lib/tmis/interface/forms/ui_about.rb, line 65 def setup_ui(aboutDialog) setupUi(aboutDialog) end