=begin ** Form generated from reading ui file 'replay_controls.ui' ** ** Created: Mon Jan 25 15:21:37 2010 ** by: Qt User Interface Compiler version 4.5.3 ** ** 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 :verticalLayout attr_reader :horizontalLayout attr_reader :progress attr_reader :goto attr_reader :time_lcd attr_reader :hboxLayout attr_reader :textLabel1 attr_reader :speed attr_reader :slower attr_reader :play attr_reader :faster attr_reader :horizontalLayout_2 attr_reader :bookmarks attr_reader :spacerItem attr_reader :gridLayout attr_reader :seek_start attr_reader :play_step attr_reader :play_next_nonempty def setupUi(replayControls) if replayControls.objectName.nil? replayControls.objectName = "replayControls" end replayControls.resize(442, 167) @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" @verticalLayout = Qt::VBoxLayout.new(@grp_play) @verticalLayout.objectName = "verticalLayout" @horizontalLayout = Qt::HBoxLayout.new() @horizontalLayout.objectName = "horizontalLayout" @progress = Qt::ProgressBar.new(@grp_play) @progress.objectName = "progress" @progress.value = 0 @progress.orientation = Qt::Horizontal @horizontalLayout.addWidget(@progress) @goto = Qt::PushButton.new(@grp_play) @goto.objectName = "goto" @horizontalLayout.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)) @horizontalLayout.addWidget(@time_lcd) @verticalLayout.addLayout(@horizontalLayout) @hboxLayout = Qt::HBoxLayout.new() @hboxLayout.objectName = "hboxLayout" @textLabel1 = Qt::Label.new(@grp_play) @textLabel1.objectName = "textLabel1" @textLabel1.wordWrap = false @hboxLayout.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 @hboxLayout.addWidget(@speed) @slower = Qt::PushButton.new(@grp_play) @slower.objectName = "slower" @hboxLayout.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 @hboxLayout.addWidget(@play) @faster = Qt::PushButton.new(@grp_play) @faster.objectName = "faster" @hboxLayout.addWidget(@faster) @verticalLayout.addLayout(@hboxLayout) @horizontalLayout_2 = Qt::HBoxLayout.new() @horizontalLayout_2.objectName = "horizontalLayout_2" @bookmarks = Qt::ToolButton.new(@grp_play) @bookmarks.objectName = "bookmarks" @bookmarks.popupMode = Qt::ToolButton::InstantPopup @bookmarks.toolButtonStyle = Qt::ToolButtonTextBesideIcon @bookmarks.arrowType = Qt::DownArrow @horizontalLayout_2.addWidget(@bookmarks) @spacerItem = Qt::SpacerItem.new(101, 20, Qt::SizePolicy::Expanding, Qt::SizePolicy::Minimum) @horizontalLayout_2.addItem(@spacerItem) @gridLayout = Qt::GridLayout.new() @gridLayout.objectName = "gridLayout" @seek_start = Qt::PushButton.new(@grp_play) @seek_start.objectName = "seek_start" @gridLayout.addWidget(@seek_start, 0, 0, 1, 1) @play_step = Qt::PushButton.new(@grp_play) @play_step.objectName = "play_step" @gridLayout.addWidget(@play_step, 0, 1, 1, 1) @play_next_nonempty = Qt::PushButton.new(@grp_play) @play_next_nonempty.objectName = "play_next_nonempty" @gridLayout.addWidget(@play_next_nonempty, 1, 0, 1, 2) @horizontalLayout_2.addLayout(@gridLayout) @verticalLayout.addLayout(@horizontalLayout_2) play_next_nonempty.raise() faster.raise() @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", "Slower", nil, Qt::Application::UnicodeUTF8) @play.toolTip = Qt::Application.translate("ReplayControls", "\n" \ "Play
", nil, Qt::Application::UnicodeUTF8) @play.text = Qt::Application.translate("ReplayControls", "Play", nil, Qt::Application::UnicodeUTF8) @faster.toolTip = Qt::Application.translate("ReplayControls", "\n" \ "Increase speed
", nil, Qt::Application::UnicodeUTF8) @faster.text = Qt::Application.translate("ReplayControls", "Faster", 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", "Go To Beginning", 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", "Step", nil, Qt::Application::UnicodeUTF8) @play_next_nonempty.toolTip = Qt::Application.translate("ReplayControls", "\n" \ "Go to start
", nil, Qt::Application::UnicodeUTF8) @play_next_nonempty.text = Qt::Application.translate("ReplayControls", "Play next non-empty cycle", nil, Qt::Application::UnicodeUTF8) @play_next_nonempty.shortcut = '' end # retranslateUi def retranslate_ui(replayControls) retranslateUi(replayControls) end end module Ui class ReplayControls < Ui_ReplayControls end end # module Ui