=begin
** Form generated from reading ui file 'digital_clock_config.ui'
**
** Created: Sun Oct 25 03:10:41 2015
**      by: Qt User Interface Compiler version 4.8.7
**
** WARNING! All changes made in this file will be lost when recompiling ui file!
=end

class Ui_DigitalClockConfig
    attr_reader :gridLayout
    attr_reader :clockTab
    attr_reader :appearanceTab
    attr_reader :gridLayout1
    attr_reader :plainClockFontLabel
    attr_reader :plainClockFont
    attr_reader :plainClockFontBold
    attr_reader :plainClockFontItalic
    attr_reader :useCustomColor
    attr_reader :plainClockColor
    attr_reader :showDate
    attr_reader :showDay
    attr_reader :showYear
    attr_reader :showTimezone
    attr_reader :secondsCheckbox
    attr_reader :spacerItem
    attr_reader :timezonesTab
    attr_reader :vboxLayout
    attr_reader :localTimeZone
    attr_reader :timeZones

    def setupUi(clockConfig)
    if clockConfig.objectName.nil?
        clockConfig.objectName = "clockConfig"
    end
    clockConfig.resize(400, 300)
    clockConfig.minimumSize = Qt::Size.new(400, 300)
    @gridLayout = Qt::GridLayout.new(clockConfig)
    @gridLayout.objectName = "gridLayout"
    @clockTab = Qt::TabWidget.new(clockConfig)
    @clockTab.objectName = "clockTab"
    @sizePolicy = Qt::SizePolicy.new(Qt::SizePolicy::MinimumExpanding, Qt::SizePolicy::MinimumExpanding)
    @sizePolicy.setHorizontalStretch(0)
    @sizePolicy.setVerticalStretch(0)
    @sizePolicy.heightForWidth = @clockTab.sizePolicy.hasHeightForWidth
    @clockTab.sizePolicy = @sizePolicy
    @appearanceTab = Qt::Widget.new()
    @appearanceTab.objectName = "appearanceTab"
    @gridLayout1 = Qt::GridLayout.new(@appearanceTab)
    @gridLayout1.objectName = "gridLayout1"
    @plainClockFontLabel = Qt::Label.new(@appearanceTab)
    @plainClockFontLabel.objectName = "plainClockFontLabel"

    @gridLayout1.addWidget(@plainClockFontLabel, 0, 0, 1, 1)

    @plainClockFont = KDE::FontComboBox.new(@appearanceTab)
    @plainClockFont.objectName = "plainClockFont"

    @gridLayout1.addWidget(@plainClockFont, 0, 1, 1, 1)

    @plainClockFontBold = Qt::CheckBox.new(@appearanceTab)
    @plainClockFontBold.objectName = "plainClockFontBold"

    @gridLayout1.addWidget(@plainClockFontBold, 1, 1, 1, 1)

    @plainClockFontItalic = Qt::CheckBox.new(@appearanceTab)
    @plainClockFontItalic.objectName = "plainClockFontItalic"

    @gridLayout1.addWidget(@plainClockFontItalic, 2, 1, 1, 1)

    @useCustomColor = Qt::CheckBox.new(@appearanceTab)
    @useCustomColor.objectName = "useCustomColor"

    @gridLayout1.addWidget(@useCustomColor, 3, 0, 1, 1)

    @plainClockColor = KDE::ColorCombo.new(@appearanceTab)
    @plainClockColor.objectName = "plainClockColor"
    @plainClockColor.enabled = false

    @gridLayout1.addWidget(@plainClockColor, 3, 1, 1, 1)

    @showDate = Qt::CheckBox.new(@appearanceTab)
    @showDate.objectName = "showDate"

    @gridLayout1.addWidget(@showDate, 4, 0, 1, 2)

    @showDay = Qt::CheckBox.new(@appearanceTab)
    @showDay.objectName = "showDay"
    @showDay.enabled = false

    @gridLayout1.addWidget(@showDay, 5, 1, 1, 1)

    @showYear = Qt::CheckBox.new(@appearanceTab)
    @showYear.objectName = "showYear"
    @showYear.enabled = false

    @gridLayout1.addWidget(@showYear, 6, 1, 1, 1)

    @showTimezone = Qt::CheckBox.new(@appearanceTab)
    @showTimezone.objectName = "showTimezone"

    @gridLayout1.addWidget(@showTimezone, 7, 0, 1, 2)

    @secondsCheckbox = Qt::CheckBox.new(@appearanceTab)
    @secondsCheckbox.objectName = "secondsCheckbox"

    @gridLayout1.addWidget(@secondsCheckbox, 8, 0, 1, 1)

    @spacerItem = Qt::SpacerItem.new(20, 0, Qt::SizePolicy::Minimum, Qt::SizePolicy::Expanding)

    @gridLayout1.addItem(@spacerItem, 8, 0, 1, 1)

    @clockTab.addTab(@appearanceTab, Qt::Application.translate("DigitalClockConfig", "Appearance", nil, Qt::Application::UnicodeUTF8))
    @timezonesTab = Qt::Widget.new()
    @timezonesTab.objectName = "timezonesTab"
    @vboxLayout = Qt::VBoxLayout.new(@timezonesTab)
    @vboxLayout.objectName = "vboxLayout"
    @localTimeZone = Qt::CheckBox.new(@timezonesTab)
    @localTimeZone.objectName = "localTimeZone"

    @vboxLayout.addWidget(@localTimeZone)

    @timeZones = KDE::TimeZoneWidget.new(@timezonesTab)
    @timeZones.objectName = "timeZones"
    @timeZones.minimumSize = Qt::Size.new(300, 150)

    @vboxLayout.addWidget(@timeZones)

    @clockTab.addTab(@timezonesTab, Qt::Application.translate("DigitalClockConfig", "Ti&mezones", nil, Qt::Application::UnicodeUTF8))

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


    retranslateUi(clockConfig)
    Qt::Object.connect(@useCustomColor, SIGNAL('toggled(bool)'), @plainClockColor, SLOT('setEnabled(bool)'))
    Qt::Object.connect(@showDate, SIGNAL('toggled(bool)'), @showDay, SLOT('setEnabled(bool)'))
    Qt::Object.connect(@showDate, SIGNAL('toggled(bool)'), @showYear, SLOT('setEnabled(bool)'))
    Qt::Object.connect(@localTimeZone, SIGNAL('toggled(bool)'), @timeZones, SLOT('setDisabled(bool)'))

    @clockTab.setCurrentIndex(0)


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

    def setup_ui(clockConfig)
        setupUi(clockConfig)
    end

    def retranslateUi(clockConfig)
    @plainClockFontLabel.text = Qt::Application.translate("DigitalClockConfig", "Plain clock font:", nil, Qt::Application::UnicodeUTF8)
    @plainClockFontBold.text = Qt::Application.translate("DigitalClockConfig", "&Bold", nil, Qt::Application::UnicodeUTF8)
    @plainClockFontItalic.text = Qt::Application.translate("DigitalClockConfig", "&Italic", nil, Qt::Application::UnicodeUTF8)
    @useCustomColor.text = Qt::Application.translate("DigitalClockConfig", "Custom color", nil, Qt::Application::UnicodeUTF8)
    @showDate.text = Qt::Application.translate("DigitalClockConfig", "Show &date", nil, Qt::Application::UnicodeUTF8)
    @showDay.text = Qt::Application.translate("DigitalClockConfig", "Show day of the &week", nil, Qt::Application::UnicodeUTF8)
    @showYear.text = Qt::Application.translate("DigitalClockConfig", "Show &year", nil, Qt::Application::UnicodeUTF8)
    @showTimezone.text = Qt::Application.translate("DigitalClockConfig", "Show &timezone", nil, Qt::Application::UnicodeUTF8)
    @secondsCheckbox.toolTip = Qt::Application.translate("DigitalClockConfig", "Show the seconds", nil, Qt::Application::UnicodeUTF8)
    @secondsCheckbox.whatsThis = Qt::Application.translate("DigitalClockConfig", "Check this if you want to show the seconds.", nil, Qt::Application::UnicodeUTF8)
    @secondsCheckbox.text = Qt::Application.translate("DigitalClockConfig", "Show &seconds", nil, Qt::Application::UnicodeUTF8)
    @clockTab.setTabText(@clockTab.indexOf(@appearanceTab), Qt::Application.translate("DigitalClockConfig", "Appearance", nil, Qt::Application::UnicodeUTF8))
    @localTimeZone.text = Qt::Application.translate("DigitalClockConfig", "Use &local timezone", nil, Qt::Application::UnicodeUTF8)
    @timeZones.headerItem.setText(0, Qt::Application.translate("DigitalClockConfig", "Area", nil, Qt::Application::UnicodeUTF8))
    @timeZones.headerItem.setText(1, Qt::Application.translate("DigitalClockConfig", "Region", nil, Qt::Application::UnicodeUTF8))
    @timeZones.headerItem.setText(2, Qt::Application.translate("DigitalClockConfig", "Comment", nil, Qt::Application::UnicodeUTF8))
    @clockTab.setTabText(@clockTab.indexOf(@timezonesTab), Qt::Application.translate("DigitalClockConfig", "Ti&mezones", nil, Qt::Application::UnicodeUTF8))
    end # retranslateUi

    def retranslate_ui(clockConfig)
        retranslateUi(clockConfig)
    end

end

module Ui
    class DigitalClockConfig < Ui_DigitalClockConfig
    end
end  # module Ui

