Class: Idb::KeychainTextWidget
- Inherits:
-
Qt::Widget
- Object
- Qt::Widget
- Idb::KeychainTextWidget
- Defined in:
- lib/gui/keychain_text_widget.rb
Instance Attribute Summary collapse
-
#data_text ⇒ Object
Returns the value of attribute data_text.
-
#vdata_text ⇒ Object
Returns the value of attribute vdata_text.
Instance Method Summary collapse
- #clear ⇒ Object
-
#initialize(*args) ⇒ KeychainTextWidget
constructor
A new instance of KeychainTextWidget.
- #set_data(data) ⇒ Object
Constructor Details
#initialize(*args) ⇒ KeychainTextWidget
Returns a new instance of KeychainTextWidget.
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/gui/keychain_text_widget.rb', line 7 def initialize *args super *args @layout = Qt::GridLayout.new setLayout(@layout) @data_text = Qt::PlainTextEdit.new @data_text.setReadOnly(true) @layout.addWidget @data_text, 0, 0 end |
Instance Attribute Details
#data_text ⇒ Object
Returns the value of attribute data_text.
5 6 7 |
# File 'lib/gui/keychain_text_widget.rb', line 5 def data_text @data_text end |
#vdata_text ⇒ Object
Returns the value of attribute vdata_text.
5 6 7 |
# File 'lib/gui/keychain_text_widget.rb', line 5 def vdata_text @vdata_text end |