=begin ** Form generated from reading ui file 'replay_controls.ui' ** ** Created: Mon May 26 12:16:58 2008 ** by: Qt User Interface Compiler version 4.4.0 ** ** WARNING! All changes made in this file will be lost when recompiling ui file! =end class Ui_ReplayControls attr_reader :actionBookmarksAdd attr_reader :actionGoto attr_reader :actionBookmarksSave attr_reader :actionBookmarksSaveAs attr_reader :actionBookmarksLoad attr_reader :actionBookmarksSetMark attr_reader :vboxLayout attr_reader :grp_play attr_reader :vboxLayout1 attr_reader :hboxLayout attr_reader :progress attr_reader :goto attr_reader :time_lcd attr_reader :hboxLayout1 attr_reader :textLabel1 attr_reader :speed attr_reader :slower attr_reader :play attr_reader :faster attr_reader :hboxLayout2 attr_reader :bookmarks attr_reader :spacerItem attr_reader :seek_start attr_reader :play_step def setupUi(replayControls) if replayControls.objectName.nil? replayControls.objectName = "replayControls" end replayControls.resize(432, 168) @actionBookmarksAdd = Qt::Action.new(replayControls) @actionBookmarksAdd.objectName = "actionBookmarksAdd" @actionGoto = Qt::Action.new(replayControls) @actionGoto.objectName = "actionGoto" @actionGoto.shortcutContext = Qt::ApplicationShortcut @actionBookmarksSave = Qt::Action.new(replayControls) @actionBookmarksSave.objectName = "actionBookmarksSave" @actionBookmarksSave.enabled = false @actionBookmarksSaveAs = Qt::Action.new(replayControls) @actionBookmarksSaveAs.objectName = "actionBookmarksSaveAs" @actionBookmarksSaveAs.enabled = true @actionBookmarksLoad = Qt::Action.new(replayControls) @actionBookmarksLoad.objectName = "actionBookmarksLoad" @actionBookmarksSetMark = Qt::Action.new(replayControls) @actionBookmarksSetMark.objectName = "actionBookmarksSetMark" @vboxLayout = Qt::VBoxLayout.new(replayControls) @vboxLayout.objectName = "vboxLayout" @grp_play = Qt::GroupBox.new(replayControls) @grp_play.objectName = "grp_play" @vboxLayout1 = Qt::VBoxLayout.new(@grp_play) @vboxLayout1.objectName = "vboxLayout1" @hboxLayout = Qt::HBoxLayout.new() @hboxLayout.objectName = "hboxLayout" @progress = Qt::ProgressBar.new(@grp_play) @progress.objectName = "progress" @progress.value = 0 @progress.orientation = Qt::Horizontal @hboxLayout.addWidget(@progress) @goto = Qt::PushButton.new(@grp_play) @goto.objectName = "goto" @hboxLayout.addWidget(@goto) @time_lcd = Qt::LCDNumber.new(@grp_play) @time_lcd.objectName = "time_lcd" @time_lcd.numDigits = 6 @time_lcd.segmentStyle = Qt::LCDNumber::Flat @time_lcd.setProperty("value", Qt::Variant.new(0)) @hboxLayout.addWidget(@time_lcd) @vboxLayout1.addLayout(@hboxLayout) @hboxLayout1 = Qt::HBoxLayout.new() @hboxLayout1.objectName = "hboxLayout1" @textLabel1 = Qt::Label.new(@grp_play) @textLabel1.objectName = "textLabel1" @textLabel1.wordWrap = false @hboxLayout1.addWidget(@textLabel1) @speed = Qt::LineEdit.new(@grp_play) @speed.objectName = "speed" @sizePolicy = Qt::SizePolicy.new(Qt::SizePolicy::Minimum, Qt::SizePolicy::Fixed) @sizePolicy.setHorizontalStretch(1) @sizePolicy.setVerticalStretch(0) @sizePolicy.heightForWidth = @speed.sizePolicy.hasHeightForWidth @speed.sizePolicy = @sizePolicy @speed.maximumSize = Qt::Size.new(80, 32767) @speed.alignment = Qt::AlignRight @hboxLayout1.addWidget(@speed) @slower = Qt::PushButton.new(@grp_play) @slower.objectName = "slower" @hboxLayout1.addWidget(@slower) @play = Qt::PushButton.new(@grp_play) @play.objectName = "play" @sizePolicy1 = Qt::SizePolicy.new(Qt::SizePolicy::MinimumExpanding, Qt::SizePolicy::Fixed) @sizePolicy1.setHorizontalStretch(2) @sizePolicy1.setVerticalStretch(0) @sizePolicy1.heightForWidth = @play.sizePolicy.hasHeightForWidth @play.sizePolicy = @sizePolicy1 @play.checkable = true @hboxLayout1.addWidget(@play) @faster = Qt::PushButton.new(@grp_play) @faster.objectName = "faster" @hboxLayout1.addWidget(@faster) @vboxLayout1.addLayout(@hboxLayout1) @hboxLayout2 = Qt::HBoxLayout.new() @hboxLayout2.objectName = "hboxLayout2" @bookmarks = Qt::ToolButton.new(@grp_play) @bookmarks.objectName = "bookmarks" @bookmarks.popupMode = Qt::ToolButton::InstantPopup @bookmarks.toolButtonStyle = Qt::ToolButtonTextBesideIcon @bookmarks.arrowType = Qt::DownArrow @hboxLayout2.addWidget(@bookmarks) @spacerItem = Qt::SpacerItem.new(40, 20, Qt::SizePolicy::Expanding, Qt::SizePolicy::Minimum) @hboxLayout2.addItem(@spacerItem) @seek_start = Qt::PushButton.new(@grp_play) @seek_start.objectName = "seek_start" @hboxLayout2.addWidget(@seek_start) @play_step = Qt::PushButton.new(@grp_play) @play_step.objectName = "play_step" @hboxLayout2.addWidget(@play_step) @vboxLayout1.addLayout(@hboxLayout2) @vboxLayout.addWidget(@grp_play) retranslateUi(replayControls) Qt::MetaObject.connectSlotsByName(replayControls) end # setupUi def setup_ui(replayControls) setupUi(replayControls) end def retranslateUi(replayControls) replayControls.windowTitle = Qt::Application.translate("ReplayControls", "Form", nil, Qt::Application::UnicodeUTF8) @actionBookmarksAdd.text = Qt::Application.translate("ReplayControls", "Add...", nil, Qt::Application::UnicodeUTF8) @actionGoto.text = Qt::Application.translate("ReplayControls", "goto", nil, Qt::Application::UnicodeUTF8) @actionGoto.shortcut = Qt::Application.translate("ReplayControls", "Shift+G, G", nil, Qt::Application::UnicodeUTF8) @actionBookmarksSave.text = Qt::Application.translate("ReplayControls", "Save", nil, Qt::Application::UnicodeUTF8) @actionBookmarksSaveAs.text = Qt::Application.translate("ReplayControls", "Save As", nil, Qt::Application::UnicodeUTF8) @actionBookmarksLoad.text = Qt::Application.translate("ReplayControls", "Load", nil, Qt::Application::UnicodeUTF8) @actionBookmarksSetMark.text = Qt::Application.translate("ReplayControls", "Set mark", nil, Qt::Application::UnicodeUTF8) @grp_play.title = Qt::Application.translate("ReplayControls", "Play", nil, Qt::Application::UnicodeUTF8) @goto.text = Qt::Application.translate("ReplayControls", "&Goto", nil, Qt::Application::UnicodeUTF8) @textLabel1.text = Qt::Application.translate("ReplayControls", "Speed", nil, Qt::Application::UnicodeUTF8) @speed.toolTip = Qt::Application.translate("ReplayControls", "\n" \ "

Current playing speed

\n" \ "

it is the factor between the time in the log file and the time of replay. For instance, 2 means that we replay twice as fast as in reality.

\n" \ "

", nil, Qt::Application::UnicodeUTF8) @speed.text = Qt::Application.translate("ReplayControls", "1", nil, Qt::Application::UnicodeUTF8) @slower.toolTip = Qt::Application.translate("ReplayControls", "\n" \ "

Decrease speed

", nil, Qt::Application::UnicodeUTF8) @slower.text = Qt::Application.translate("ReplayControls", "<<", nil, Qt::Application::UnicodeUTF8) @play.toolTip = Qt::Application.translate("ReplayControls", "\n" \ "

Play

", nil, Qt::Application::UnicodeUTF8) @play.text = Qt::Application.translate("ReplayControls", ">", nil, Qt::Application::UnicodeUTF8) @faster.toolTip = Qt::Application.translate("ReplayControls", "\n" \ "

Increase speed

", nil, Qt::Application::UnicodeUTF8) @faster.text = Qt::Application.translate("ReplayControls", ">>", nil, Qt::Application::UnicodeUTF8) @bookmarks.text = Qt::Application.translate("ReplayControls", "Bookmarks", nil, Qt::Application::UnicodeUTF8) @seek_start.toolTip = Qt::Application.translate("ReplayControls", "\n" \ "

Go to start

", nil, Qt::Application::UnicodeUTF8) @seek_start.text = Qt::Application.translate("ReplayControls", "|<<", nil, Qt::Application::UnicodeUTF8) @seek_start.shortcut = '' @play_step.toolTip = Qt::Application.translate("ReplayControls", "\n" \ "

Go forward one step

", nil, Qt::Application::UnicodeUTF8) @play_step.text = Qt::Application.translate("ReplayControls", ">|", nil, Qt::Application::UnicodeUTF8) end # retranslateUi def retranslate_ui(replayControls) retranslateUi(replayControls) end end module Ui class ReplayControls < Ui_ReplayControls end end # module Ui