=begin
** Form generated from reading ui file 'rtranslator.ui'
**
** Created: Fri May 18 19:22:45 2012
**      by: Qt User Interface Compiler version 4.8.1
**
** WARNING! All changes made in this file will be lost when recompiling ui file!
=end

class Ui_RTranslator
    attr_reader :centralWidget
    attr_reader :layoutWidget
    attr_reader :verticalLayout
    attr_reader :inputTextEdit
    attr_reader :horizontalLayout
    attr_reader :fromLangBox
    attr_reader :swapButton
    attr_reader :speechButton
    attr_reader :toLangBox
    attr_reader :outputTextEdit
    attr_reader :horizontalLayout_2
    attr_reader :translateButton
    attr_reader :clearButton

    def setupUi(rTranslator)
    if rTranslator.objectName.nil?
        rTranslator.objectName = "rTranslator"
    end
    rTranslator.resize(430, 366)
    rTranslator.minimumSize = Qt::Size.new(430, 366)
    rTranslator.maximumSize = Qt::Size.new(430, 366)
    icon = Qt::Icon.new
    icon.addPixmap(Qt::Pixmap.new(":/Icons/Bing_Icon.png"), Qt::Icon::Normal, Qt::Icon::Off)
    rTranslator.windowIcon = icon
    @centralWidget = Qt::Widget.new(rTranslator)
    @centralWidget.objectName = "centralWidget"
    @layoutWidget = Qt::Widget.new(@centralWidget)
    @layoutWidget.objectName = "layoutWidget"
    @layoutWidget.geometry = Qt::Rect.new(10, 0, 411, 361)
    @verticalLayout = Qt::VBoxLayout.new(@layoutWidget)
    @verticalLayout.spacing = 6
    @verticalLayout.margin = 11
    @verticalLayout.objectName = "verticalLayout"
    @verticalLayout.setContentsMargins(0, 0, 0, 0)
    @inputTextEdit = Qt::PlainTextEdit.new(@layoutWidget)
    @inputTextEdit.objectName = "inputTextEdit"

    @verticalLayout.addWidget(@inputTextEdit)

    @horizontalLayout = Qt::HBoxLayout.new()
    @horizontalLayout.spacing = 6
    @horizontalLayout.objectName = "horizontalLayout"
    @fromLangBox = Qt::ComboBox.new(@layoutWidget)
    @fromLangBox.objectName = "fromLangBox"
    @sizePolicy = Qt::SizePolicy.new(Qt::SizePolicy::Fixed, Qt::SizePolicy::Fixed)
    @sizePolicy.setHorizontalStretch(0)
    @sizePolicy.setVerticalStretch(0)
    @sizePolicy.heightForWidth = @fromLangBox.sizePolicy.hasHeightForWidth
    @fromLangBox.sizePolicy = @sizePolicy
    @fromLangBox.minimumSize = Qt::Size.new(100, 21)
    @fromLangBox.maximumSize = Qt::Size.new(82, 21)
    @fromLangBox.baseSize = Qt::Size.new(82, 21)

    @horizontalLayout.addWidget(@fromLangBox)

    @swapButton = Qt::PushButton.new(@layoutWidget)
    @swapButton.objectName = "swapButton"
    @swapButton.minimumSize = Qt::Size.new(51, 51)
    @swapButton.maximumSize = Qt::Size.new(51, 51)
    icon1 = Qt::Icon.new
    icon1.addPixmap(Qt::Pixmap.new(":/Icons/swap.png"), Qt::Icon::Normal, Qt::Icon::Off)
    @swapButton.icon = icon1
    @swapButton.iconSize = Qt::Size.new(51, 51)

    @horizontalLayout.addWidget(@swapButton)

    @speechButton = Qt::PushButton.new(@layoutWidget)
    @speechButton.objectName = "speechButton"
    @speechButton.minimumSize = Qt::Size.new(51, 51)
    @speechButton.maximumSize = Qt::Size.new(51, 51)
    icon2 = Qt::Icon.new
    icon2.addPixmap(Qt::Pixmap.new(":/Icons/speech.png"), Qt::Icon::Normal, Qt::Icon::Off)
    @speechButton.icon = icon2
    @speechButton.iconSize = Qt::Size.new(51, 51)

    @horizontalLayout.addWidget(@speechButton)

    @toLangBox = Qt::ComboBox.new(@layoutWidget)
    @toLangBox.objectName = "toLangBox"
    @sizePolicy.heightForWidth = @toLangBox.sizePolicy.hasHeightForWidth
    @toLangBox.sizePolicy = @sizePolicy
    @toLangBox.minimumSize = Qt::Size.new(100, 21)
    @toLangBox.maximumSize = Qt::Size.new(82, 21)
    @toLangBox.baseSize = Qt::Size.new(82, 21)

    @horizontalLayout.addWidget(@toLangBox)


    @verticalLayout.addLayout(@horizontalLayout)

    @outputTextEdit = Qt::PlainTextEdit.new(@layoutWidget)
    @outputTextEdit.objectName = "outputTextEdit"

    @verticalLayout.addWidget(@outputTextEdit)

    @horizontalLayout_2 = Qt::HBoxLayout.new()
    @horizontalLayout_2.spacing = 6
    @horizontalLayout_2.objectName = "horizontalLayout_2"
    @translateButton = Qt::PushButton.new(@layoutWidget)
    @translateButton.objectName = "translateButton"

    @horizontalLayout_2.addWidget(@translateButton)

    @clearButton = Qt::PushButton.new(@layoutWidget)
    @clearButton.objectName = "clearButton"

    @horizontalLayout_2.addWidget(@clearButton)


    @verticalLayout.addLayout(@horizontalLayout_2)

    rTranslator.centralWidget = @centralWidget

    retranslateUi(rTranslator)
    Qt::Object.connect(@clearButton, SIGNAL('clicked()'), @inputTextEdit, SLOT('clear()'))
    Qt::Object.connect(@clearButton, SIGNAL('clicked()'), @outputTextEdit, SLOT('clear()'))

    Qt::MetaObject.connectSlotsByName(rTranslator)
    end # setupUi

    def setup_ui(rTranslator)
        setupUi(rTranslator)
    end

    def retranslateUi(rTranslator)
    rTranslator.windowTitle = Qt::Application.translate("RTranslator", "RTranslator", nil, Qt::Application::UnicodeUTF8)
    @fromLangBox.toolTip = Qt::Application.translate("RTranslator", "Choose input language", nil, Qt::Application::UnicodeUTF8)
    @swapButton.toolTip = Qt::Application.translate("RTranslator", "Swap", nil, Qt::Application::UnicodeUTF8)
    @swapButton.text = ''
    @speechButton.text = ''
    @toLangBox.toolTip = Qt::Application.translate("RTranslator", "Choose output language", nil, Qt::Application::UnicodeUTF8)
    @translateButton.text = Qt::Application.translate("RTranslator", "Translate", nil, Qt::Application::UnicodeUTF8)
    @clearButton.text = Qt::Application.translate("RTranslator", "Clear", nil, Qt::Application::UnicodeUTF8)
    end # retranslateUi

    def retranslate_ui(rTranslator)
        retranslateUi(rTranslator)
    end

end

module Ui
    class RTranslator < Ui_RTranslator
    end
end  # module Ui

