Class: Ui_MainWindow
- Inherits:
-
Object
- Object
- Ui_MainWindow
- Defined in:
- lib/mastercoin-wallet/gui/ui_main.rb
Overview
** Form generated from reading ui file ‘main_window.ui’ ** ** Created: Fri Nov 15 08:31:52 2013 ** by: Qt User Interface Compiler version 4.8.4 ** ** WARNING! All changes made in this file will be lost when recompiling ui file!
Direct Known Subclasses
Instance Attribute Summary collapse
-
#balanceGroup ⇒ Object
readonly
Returns the value of attribute balanceGroup.
-
#bitcoinLabel ⇒ Object
readonly
Returns the value of attribute bitcoinLabel.
-
#horizontalLayout ⇒ Object
readonly
Returns the value of attribute horizontalLayout.
-
#horizontalLayout_2 ⇒ Object
readonly
Returns the value of attribute horizontalLayout_2.
-
#horizontalLayout_3 ⇒ Object
readonly
Returns the value of attribute horizontalLayout_3.
-
#horizontalLayout_4 ⇒ Object
readonly
Returns the value of attribute horizontalLayout_4.
-
#horizontalSpacer ⇒ Object
readonly
Returns the value of attribute horizontalSpacer.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#label_2 ⇒ Object
readonly
Returns the value of attribute label_2.
-
#label_3 ⇒ Object
readonly
Returns the value of attribute label_3.
-
#label_4 ⇒ Object
readonly
Returns the value of attribute label_4.
-
#label_5 ⇒ Object
readonly
Returns the value of attribute label_5.
-
#layoutWidget ⇒ Object
readonly
Returns the value of attribute layoutWidget.
-
#layoutWidget_2 ⇒ Object
readonly
Returns the value of attribute layoutWidget_2.
-
#mainTab ⇒ Object
readonly
Returns the value of attribute mainTab.
-
#mscAddressLabel ⇒ Object
readonly
Returns the value of attribute mscAddressLabel.
-
#mscBalanceLabel ⇒ Object
readonly
Returns the value of attribute mscBalanceLabel.
-
#orderTree ⇒ Object
readonly
Returns the value of attribute orderTree.
-
#overviewTree ⇒ Object
readonly
Returns the value of attribute overviewTree.
-
#purchaseButton ⇒ Object
readonly
Returns the value of attribute purchaseButton.
-
#purchaseTree ⇒ Object
readonly
Returns the value of attribute purchaseTree.
-
#sellingButton ⇒ Object
readonly
Returns the value of attribute sellingButton.
-
#simpleSendButton ⇒ Object
readonly
Returns the value of attribute simpleSendButton.
-
#splitter ⇒ Object
readonly
Returns the value of attribute splitter.
-
#tab ⇒ Object
readonly
Returns the value of attribute tab.
-
#tab_2 ⇒ Object
readonly
Returns the value of attribute tab_2.
-
#tMscBalanceLabel ⇒ Object
readonly
Returns the value of attribute tMscBalanceLabel.
-
#verticalLayout ⇒ Object
readonly
Returns the value of attribute verticalLayout.
-
#verticalLayout_2 ⇒ Object
readonly
Returns the value of attribute verticalLayout_2.
-
#verticalLayout_3 ⇒ Object
readonly
Returns the value of attribute verticalLayout_3.
-
#verticalLayout_4 ⇒ Object
readonly
Returns the value of attribute verticalLayout_4.
-
#verticalLayout_5 ⇒ Object
readonly
Returns the value of attribute verticalLayout_5.
-
#verticalLayout_6 ⇒ Object
readonly
Returns the value of attribute verticalLayout_6.
-
#verticalLayout_7 ⇒ Object
readonly
Returns the value of attribute verticalLayout_7.
Instance Method Summary collapse
-
#retranslate_ui(mainWindow) ⇒ Object
retranslateUi.
- #retranslateUi(mainWindow) ⇒ Object
-
#setup_ui(mainWindow) ⇒ Object
setupUi.
- #setupUi(mainWindow) ⇒ Object
Instance Attribute Details
#balanceGroup ⇒ Object (readonly)
Returns the value of attribute balanceGroup.
16 17 18 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 16 def balanceGroup @balanceGroup end |
#bitcoinLabel ⇒ Object (readonly)
Returns the value of attribute bitcoinLabel.
20 21 22 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 20 def bitcoinLabel @bitcoinLabel end |
#horizontalLayout ⇒ Object (readonly)
Returns the value of attribute horizontalLayout.
15 16 17 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 15 def horizontalLayout @horizontalLayout end |
#horizontalLayout_2 ⇒ Object (readonly)
Returns the value of attribute horizontalLayout_2.
25 26 27 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 25 def horizontalLayout_2 @horizontalLayout_2 end |
#horizontalLayout_3 ⇒ Object (readonly)
Returns the value of attribute horizontalLayout_3.
35 36 37 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 35 def horizontalLayout_3 @horizontalLayout_3 end |
#horizontalLayout_4 ⇒ Object (readonly)
Returns the value of attribute horizontalLayout_4.
42 43 44 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 42 def horizontalLayout_4 @horizontalLayout_4 end |
#horizontalSpacer ⇒ Object (readonly)
Returns the value of attribute horizontalSpacer.
26 27 28 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 26 def horizontalSpacer @horizontalSpacer end |
#label ⇒ Object (readonly)
Returns the value of attribute label.
33 34 35 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 33 def label @label end |
#label_2 ⇒ Object (readonly)
Returns the value of attribute label_2.
40 41 42 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 40 def label_2 @label_2 end |
#label_3 ⇒ Object (readonly)
Returns the value of attribute label_3.
22 23 24 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 22 def label_3 @label_3 end |
#label_4 ⇒ Object (readonly)
Returns the value of attribute label_4.
36 37 38 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 36 def label_4 @label_4 end |
#label_5 ⇒ Object (readonly)
Returns the value of attribute label_5.
43 44 45 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 43 def label_5 @label_5 end |
#layoutWidget ⇒ Object (readonly)
Returns the value of attribute layoutWidget.
31 32 33 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 31 def layoutWidget @layoutWidget end |
#layoutWidget_2 ⇒ Object (readonly)
Returns the value of attribute layoutWidget_2.
38 39 40 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 38 def layoutWidget_2 @layoutWidget_2 end |
#mainTab ⇒ Object (readonly)
Returns the value of attribute mainTab.
12 13 14 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 12 def mainTab @mainTab end |
#mscAddressLabel ⇒ Object (readonly)
Returns the value of attribute mscAddressLabel.
23 24 25 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 23 def mscAddressLabel @mscAddressLabel end |
#mscBalanceLabel ⇒ Object (readonly)
Returns the value of attribute mscBalanceLabel.
18 19 20 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 18 def mscBalanceLabel @mscBalanceLabel end |
#orderTree ⇒ Object (readonly)
Returns the value of attribute orderTree.
34 35 36 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 34 def orderTree @orderTree end |
#overviewTree ⇒ Object (readonly)
Returns the value of attribute overviewTree.
24 25 26 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 24 def overviewTree @overviewTree end |
#purchaseButton ⇒ Object (readonly)
Returns the value of attribute purchaseButton.
44 45 46 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 44 def purchaseButton @purchaseButton end |
#purchaseTree ⇒ Object (readonly)
Returns the value of attribute purchaseTree.
41 42 43 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 41 def purchaseTree @purchaseTree end |
#sellingButton ⇒ Object (readonly)
Returns the value of attribute sellingButton.
37 38 39 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 37 def sellingButton @sellingButton end |
#simpleSendButton ⇒ Object (readonly)
Returns the value of attribute simpleSendButton.
27 28 29 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 27 def simpleSendButton @simpleSendButton end |
#splitter ⇒ Object (readonly)
Returns the value of attribute splitter.
30 31 32 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 30 def splitter @splitter end |
#tab ⇒ Object (readonly)
Returns the value of attribute tab.
13 14 15 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 13 def tab @tab end |
#tab_2 ⇒ Object (readonly)
Returns the value of attribute tab_2.
28 29 30 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 28 def tab_2 @tab_2 end |
#tMscBalanceLabel ⇒ Object (readonly)
Returns the value of attribute tMscBalanceLabel.
19 20 21 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 19 def tMscBalanceLabel @tMscBalanceLabel end |
#verticalLayout ⇒ Object (readonly)
Returns the value of attribute verticalLayout.
11 12 13 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 11 def verticalLayout @verticalLayout end |
#verticalLayout_2 ⇒ Object (readonly)
Returns the value of attribute verticalLayout_2.
14 15 16 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 14 def verticalLayout_2 @verticalLayout_2 end |
#verticalLayout_3 ⇒ Object (readonly)
Returns the value of attribute verticalLayout_3.
21 22 23 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 21 def verticalLayout_3 @verticalLayout_3 end |
#verticalLayout_4 ⇒ Object (readonly)
Returns the value of attribute verticalLayout_4.
17 18 19 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 17 def verticalLayout_4 @verticalLayout_4 end |
#verticalLayout_5 ⇒ Object (readonly)
Returns the value of attribute verticalLayout_5.
29 30 31 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 29 def verticalLayout_5 @verticalLayout_5 end |
#verticalLayout_6 ⇒ Object (readonly)
Returns the value of attribute verticalLayout_6.
32 33 34 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 32 def verticalLayout_6 @verticalLayout_6 end |
#verticalLayout_7 ⇒ Object (readonly)
Returns the value of attribute verticalLayout_7.
39 40 41 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 39 def verticalLayout_7 @verticalLayout_7 end |
Instance Method Details
#retranslate_ui(mainWindow) ⇒ Object
retranslateUi
288 289 290 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 288 def retranslate_ui(mainWindow) retranslateUi(mainWindow) end |
#retranslateUi(mainWindow) ⇒ Object
250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 250 def retranslateUi(mainWindow) mainWindow.windowTitle = Qt::Application.translate("MainWindow", "New Purchase Offer", nil, Qt::Application::UnicodeUTF8) @balanceGroup.title = Qt::Application.translate("MainWindow", "Balances", nil, Qt::Application::UnicodeUTF8) @mscBalanceLabel.text = Qt::Application.translate("MainWindow", "Updating MSC balance", nil, Qt::Application::UnicodeUTF8) @tMscBalanceLabel.text = Qt::Application.translate("MainWindow", "Updating test MSC balance", nil, Qt::Application::UnicodeUTF8) @bitcoinLabel.text = Qt::Application.translate("MainWindow", "Updating Bitcoin balance", nil, Qt::Application::UnicodeUTF8) @label_3.text = Qt::Application.translate("MainWindow", "Mastercoin wallet for", nil, Qt::Application::UnicodeUTF8) @mscAddressLabel.text = Qt::Application.translate("MainWindow", "MSC Address", nil, Qt::Application::UnicodeUTF8) @overviewTree.headerItem.setText(0, Qt::Application.translate("MainWindow", "Address", nil, Qt::Application::UnicodeUTF8)) @overviewTree.headerItem.setText(1, Qt::Application.translate("MainWindow", "Amount", nil, Qt::Application::UnicodeUTF8)) @overviewTree.headerItem.setText(2, Qt::Application.translate("MainWindow", "Type", nil, Qt::Application::UnicodeUTF8)) @overviewTree.headerItem.setText(3, Qt::Application.translate("MainWindow", "Currency", nil, Qt::Application::UnicodeUTF8)) @overviewTree.headerItem.setText(4, Qt::Application.translate("MainWindow", "Date", nil, Qt::Application::UnicodeUTF8)) @overviewTree.headerItem.setText(5, Qt::Application.translate("MainWindow", "Height", nil, Qt::Application::UnicodeUTF8)) @simpleSendButton.text = Qt::Application.translate("MainWindow", "new Simple Send", nil, Qt::Application::UnicodeUTF8) @mainTab.setTabText(@mainTab.indexOf(@tab), Qt::Application.translate("MainWindow", "Dashboard", nil, Qt::Application::UnicodeUTF8)) @label.text = Qt::Application.translate("MainWindow", "<h2>Order book</h2>", nil, Qt::Application::UnicodeUTF8) @orderTree.headerItem.setText(0, Qt::Application.translate("MainWindow", "Seller", nil, Qt::Application::UnicodeUTF8)) @orderTree.headerItem.setText(1, Qt::Application.translate("MainWindow", "Currency", nil, Qt::Application::UnicodeUTF8)) @orderTree.headerItem.setText(2, Qt::Application.translate("MainWindow", "Units available", nil, Qt::Application::UnicodeUTF8)) @orderTree.headerItem.setText(3, Qt::Application.translate("MainWindow", "Price per coin", nil, Qt::Application::UnicodeUTF8)) @orderTree.headerItem.setText(4, Qt::Application.translate("MainWindow", "Required fee", nil, Qt::Application::UnicodeUTF8)) @orderTree.headerItem.setText(5, Qt::Application.translate("MainWindow", "Date", nil, Qt::Application::UnicodeUTF8)) @orderTree.toolTip = Qt::Application.translate("MainWindow", "Double click to create a purchase offer from this Selling Offer", nil, Qt::Application::UnicodeUTF8) @label_4.text = Qt::Application.translate("MainWindow", "Hint: You can double click to create a Purchase Offer for an item in the order book", nil, Qt::Application::UnicodeUTF8) @sellingButton.text = Qt::Application.translate("MainWindow", "New Selling Offer", nil, Qt::Application::UnicodeUTF8) @label_2.text = Qt::Application.translate("MainWindow", "<h2>My purchase offers</h2>", nil, Qt::Application::UnicodeUTF8) @purchaseTree.headerItem.setText(0, Qt::Application.translate("MainWindow", "Offer address", nil, Qt::Application::UnicodeUTF8)) @purchaseTree.headerItem.setText(1, Qt::Application.translate("MainWindow", "Amount", nil, Qt::Application::UnicodeUTF8)) @purchaseTree.headerItem.setText(2, Qt::Application.translate("MainWindow", "Bitcoin amount", nil, Qt::Application::UnicodeUTF8)) @purchaseTree.headerItem.setText(3, Qt::Application.translate("MainWindow", "Currency", nil, Qt::Application::UnicodeUTF8)) @purchaseTree.headerItem.setText(4, Qt::Application.translate("MainWindow", "Offer status", nil, Qt::Application::UnicodeUTF8)) @purchaseTree.headerItem.setText(5, Qt::Application.translate("MainWindow", "Date", nil, Qt::Application::UnicodeUTF8)) @label_5.text = Qt::Application.translate("MainWindow", "Hint: You can double click to send the required Bitcoins for an accepted Purchase offer that's waiting on payment", nil, Qt::Application::UnicodeUTF8) @purchaseButton.text = Qt::Application.translate("MainWindow", "New Purchase Offer", nil, Qt::Application::UnicodeUTF8) @mainTab.setTabText(@mainTab.indexOf(@tab_2), Qt::Application.translate("MainWindow", "Distributed exchange", nil, Qt::Application::UnicodeUTF8)) end |
#setup_ui(mainWindow) ⇒ Object
setupUi
246 247 248 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 246 def setup_ui(mainWindow) setupUi(mainWindow) end |
#setupUi(mainWindow) ⇒ Object
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 |
# File 'lib/mastercoin-wallet/gui/ui_main.rb', line 46 def setupUi(mainWindow) if mainWindow.objectName.nil? mainWindow.objectName = "mainWindow" end mainWindow.resize(746, 469) @sizePolicy = Qt::SizePolicy.new(Qt::SizePolicy::Expanding, Qt::SizePolicy::Expanding) @sizePolicy.setHorizontalStretch(0) @sizePolicy.setVerticalStretch(0) @sizePolicy.heightForWidth = mainWindow.sizePolicy.hasHeightForWidth mainWindow.sizePolicy = @sizePolicy mainWindow.sizeGripEnabled = true @verticalLayout = Qt::VBoxLayout.new(mainWindow) @verticalLayout.objectName = "verticalLayout" @mainTab = Qt::TabWidget.new(mainWindow) @mainTab.objectName = "mainTab" @sizePolicy.heightForWidth = @mainTab.sizePolicy.hasHeightForWidth @mainTab.sizePolicy = @sizePolicy @tab = Qt::Widget.new() @tab.objectName = "tab" @tab.enabled = true @sizePolicy.heightForWidth = @tab.sizePolicy.hasHeightForWidth @tab.sizePolicy = @sizePolicy @verticalLayout_2 = Qt::VBoxLayout.new(@tab) @verticalLayout_2.objectName = "verticalLayout_2" @horizontalLayout = Qt::HBoxLayout.new() @horizontalLayout.objectName = "horizontalLayout" @balanceGroup = Qt::GroupBox.new(@tab) @balanceGroup.objectName = "balanceGroup" @verticalLayout_4 = Qt::VBoxLayout.new(@balanceGroup) @verticalLayout_4.objectName = "verticalLayout_4" @mscBalanceLabel = Qt::Label.new(@balanceGroup) @mscBalanceLabel.objectName = "mscBalanceLabel" @verticalLayout_4.addWidget(@mscBalanceLabel) @tMscBalanceLabel = Qt::Label.new(@balanceGroup) @tMscBalanceLabel.objectName = "tMscBalanceLabel" @verticalLayout_4.addWidget(@tMscBalanceLabel) @bitcoinLabel = Qt::Label.new(@balanceGroup) @bitcoinLabel.objectName = "bitcoinLabel" @verticalLayout_4.addWidget(@bitcoinLabel) @horizontalLayout.addWidget(@balanceGroup) @verticalLayout_3 = Qt::VBoxLayout.new() @verticalLayout_3.objectName = "verticalLayout_3" @verticalLayout_3.setContentsMargins(-1, 2, -1, -1) @label_3 = Qt::Label.new(@tab) @label_3.objectName = "label_3" @sizePolicy1 = Qt::SizePolicy.new(Qt::SizePolicy::Preferred, Qt::SizePolicy::Fixed) @sizePolicy1.setHorizontalStretch(0) @sizePolicy1.setVerticalStretch(0) @sizePolicy1.heightForWidth = @label_3.sizePolicy.hasHeightForWidth @label_3.sizePolicy = @sizePolicy1 @font = Qt::Font.new @font.bold = false @font.weight = 50 @label_3.font = @font @verticalLayout_3.addWidget(@label_3) @mscAddressLabel = Qt::Label.new(@tab) @mscAddressLabel.objectName = "mscAddressLabel" @sizePolicy2 = Qt::SizePolicy.new(Qt::SizePolicy::Expanding, Qt::SizePolicy::Preferred) @sizePolicy2.setHorizontalStretch(0) @sizePolicy2.setVerticalStretch(0) @sizePolicy2.heightForWidth = @mscAddressLabel.sizePolicy.hasHeightForWidth @mscAddressLabel.sizePolicy = @sizePolicy2 @font1 = Qt::Font.new @font1.family = "Verdana" @font1.pointSize = 21 @mscAddressLabel.font = @font1 @mscAddressLabel.textInteractionFlags = Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse @verticalLayout_3.addWidget(@mscAddressLabel) @horizontalLayout.addLayout(@verticalLayout_3) @verticalLayout_2.addLayout(@horizontalLayout) @overviewTree = Qt::TreeWidget.new(@tab) @overviewTree.objectName = "overviewTree" @overviewTree.sortingEnabled = true @overviewTree.columnCount = 6 @verticalLayout_2.addWidget(@overviewTree) @horizontalLayout_2 = Qt::HBoxLayout.new() @horizontalLayout_2.objectName = "horizontalLayout_2" @horizontalSpacer = Qt::SpacerItem.new(0, 0, Qt::SizePolicy::Expanding, Qt::SizePolicy::Minimum) @horizontalLayout_2.addItem(@horizontalSpacer) @simpleSendButton = Qt::PushButton.new(@tab) @simpleSendButton.objectName = "simpleSendButton" @horizontalLayout_2.addWidget(@simpleSendButton) @verticalLayout_2.addLayout(@horizontalLayout_2) @mainTab.addTab(@tab, Qt::Application.translate("MainWindow", "Dashboard", nil, Qt::Application::UnicodeUTF8)) @tab_2 = Qt::Widget.new() @tab_2.objectName = "tab_2" @verticalLayout_5 = Qt::VBoxLayout.new(@tab_2) @verticalLayout_5.objectName = "verticalLayout_5" @splitter = Qt::Splitter.new(@tab_2) @splitter.objectName = "splitter" @splitter.orientation = Qt::Vertical @layoutWidget = Qt::Widget.new(@splitter) @layoutWidget.objectName = "layoutWidget" @verticalLayout_6 = Qt::VBoxLayout.new(@layoutWidget) @verticalLayout_6.objectName = "verticalLayout_6" @verticalLayout_6.setContentsMargins(0, 0, 0, 0) @label = Qt::Label.new(@layoutWidget) @label.objectName = "label" @verticalLayout_6.addWidget(@label) @orderTree = Qt::TreeWidget.new(@layoutWidget) @orderTree.objectName = "orderTree" @orderTree.sortingEnabled = true @verticalLayout_6.addWidget(@orderTree) @horizontalLayout_3 = Qt::HBoxLayout.new() @horizontalLayout_3.objectName = "horizontalLayout_3" @label_4 = Qt::Label.new(@layoutWidget) @label_4.objectName = "label_4" @sizePolicy2.heightForWidth = @label_4.sizePolicy.hasHeightForWidth @label_4.sizePolicy = @sizePolicy2 @horizontalLayout_3.addWidget(@label_4) @sellingButton = Qt::PushButton.new(@layoutWidget) @sellingButton.objectName = "sellingButton" @horizontalLayout_3.addWidget(@sellingButton) @verticalLayout_6.addLayout(@horizontalLayout_3) @splitter.addWidget(@layoutWidget) @layoutWidget_2 = Qt::Widget.new(@splitter) @layoutWidget_2.objectName = "layoutWidget_2" @verticalLayout_7 = Qt::VBoxLayout.new(@layoutWidget_2) @verticalLayout_7.objectName = "verticalLayout_7" @verticalLayout_7.setContentsMargins(0, 0, 0, 0) @label_2 = Qt::Label.new(@layoutWidget_2) @label_2.objectName = "label_2" @verticalLayout_7.addWidget(@label_2) @purchaseTree = Qt::TreeWidget.new(@layoutWidget_2) @purchaseTree.objectName = "purchaseTree" @purchaseTree.sortingEnabled = true @verticalLayout_7.addWidget(@purchaseTree) @horizontalLayout_4 = Qt::HBoxLayout.new() @horizontalLayout_4.objectName = "horizontalLayout_4" @label_5 = Qt::Label.new(@layoutWidget_2) @label_5.objectName = "label_5" @sizePolicy2.heightForWidth = @label_5.sizePolicy.hasHeightForWidth @label_5.sizePolicy = @sizePolicy2 @label_5.wordWrap = true @horizontalLayout_4.addWidget(@label_5) @purchaseButton = Qt::PushButton.new(@layoutWidget_2) @purchaseButton.objectName = "purchaseButton" @horizontalLayout_4.addWidget(@purchaseButton) @verticalLayout_7.addLayout(@horizontalLayout_4) @splitter.addWidget(@layoutWidget_2) @verticalLayout_5.addWidget(@splitter) @mainTab.addTab(@tab_2, Qt::Application.translate("MainWindow", "Distributed exchange", nil, Qt::Application::UnicodeUTF8)) @verticalLayout.addWidget(@mainTab) retranslateUi(mainWindow) @mainTab.setCurrentIndex(0) Qt::MetaObject.connectSlotsByName(mainWindow) end |