Class: RefererInformationDlg
- Inherits:
-
Qt::Widget
- Object
- Qt::Widget
- RefererInformationDlg
- Defined in:
- lib/RefererInformationDlg.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#groupBox7 ⇒ Object
readonly
Returns the value of attribute groupBox7.
-
#groupBox8 ⇒ Object
readonly
Returns the value of attribute groupBox8.
-
#hitList ⇒ Object
readonly
Returns the value of attribute hitList.
-
#hostList ⇒ Object
readonly
Returns the value of attribute hostList.
-
#openButton ⇒ Object
readonly
Returns the value of attribute openButton.
-
#splitter6 ⇒ Object
readonly
Returns the value of attribute splitter6.
-
#textLabel1 ⇒ Object
readonly
Returns the value of attribute textLabel1.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(parent = nil, name = nil, fl = 0) ⇒ RefererInformationDlg
constructor
A new instance of RefererInformationDlg.
Constructor Details
#initialize(parent = nil, name = nil, fl = 0) ⇒ RefererInformationDlg
Returns a new instance of RefererInformationDlg.
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 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 |
# File 'lib/RefererInformationDlg.rb', line 23 def initialize(parent = nil, name = nil, fl = 0) super if name.nil? setName("RefererInformationDlg") end @RefererInformationDlgLayout = Qt::GridLayout.new(self, 1, 1, 11, 6, 'RefererInformationDlgLayout') @textLabel1 = Qt::Label.new(self, "textLabel1") @RefererInformationDlgLayout.addWidget(@textLabel1, 0, 0) @splitter6 = Qt::Splitter.new(self, "splitter6") @splitter6.setOrientation( Qt::Splitter::Vertical ) @groupBox7 = Qt::GroupBox.new(@splitter6, "groupBox7") @groupBox7.setSizePolicy( Qt::SizePolicy.new(5, 5, 0, 60, @groupBox7.sizePolicy().hasHeightForWidth()) ) @groupBox7.setColumnLayout( 0, Qt::Vertical ) @groupBox7.layout().setSpacing(6) @groupBox7.layout().setMargin(11) @groupBox7Layout = Qt::GridLayout.new(@groupBox7.layout() ) @groupBox7Layout.setAlignment( AlignTop ) @hostList = Qt::ListView.new(@groupBox7, "hostList") @hostList.addColumn(trUtf8("Host")) @hostList.addColumn(trUtf8("Count")) @hostList.addColumn(trUtf8("IP")) @hostList.addColumn(trUtf8("Browser")) @hostList.setSizePolicy( Qt::SizePolicy.new(7, 7, 0, 0, @hostList.sizePolicy().hasHeightForWidth()) ) @groupBox7Layout.addWidget(@hostList, 0, 0) @groupBox8 = Qt::GroupBox.new(@splitter6, "groupBox8") @groupBox8.setSizePolicy( Qt::SizePolicy.new(5, 5, 0, 40, @groupBox8.sizePolicy().hasHeightForWidth()) ) @groupBox8.setColumnLayout( 0, Qt::Vertical ) @groupBox8.layout().setSpacing(6) @groupBox8.layout().setMargin(11) @groupBox8Layout = Qt::GridLayout.new(@groupBox8.layout() ) @groupBox8Layout.setAlignment( AlignTop ) @hitList = Qt::ListView.new(@groupBox8, "hitList") @hitList.addColumn(trUtf8("URL")) @hitList.addColumn(trUtf8("Count")) @hitList.setSizePolicy( Qt::SizePolicy.new(7, 7, 0, 0, @hitList.sizePolicy().hasHeightForWidth()) ) @groupBox8Layout.addWidget(@hitList, 0, 0) @RefererInformationDlgLayout.addMultiCellWidget(@splitter6, 1, 1, 0, 2) @url = Qt::LineEdit.new(self, "url") @url.setReadOnly( true ) @RefererInformationDlgLayout.addWidget(@url, 0, 1) @openButton = Qt::PushButton.new(self, "openButton") @RefererInformationDlgLayout.addWidget(@openButton, 0, 2) languageChange() resize( Qt::Size.new(600, 480).(minimumSizeHint()) ) clearWState( WState_Polished ) end |
Instance Attribute Details
#groupBox7 ⇒ Object (readonly)
Returns the value of attribute groupBox7.
15 16 17 |
# File 'lib/RefererInformationDlg.rb', line 15 def groupBox7 @groupBox7 end |
#groupBox8 ⇒ Object (readonly)
Returns the value of attribute groupBox8.
17 18 19 |
# File 'lib/RefererInformationDlg.rb', line 17 def groupBox8 @groupBox8 end |
#hitList ⇒ Object (readonly)
Returns the value of attribute hitList.
18 19 20 |
# File 'lib/RefererInformationDlg.rb', line 18 def hitList @hitList end |
#hostList ⇒ Object (readonly)
Returns the value of attribute hostList.
16 17 18 |
# File 'lib/RefererInformationDlg.rb', line 16 def hostList @hostList end |
#openButton ⇒ Object (readonly)
Returns the value of attribute openButton.
20 21 22 |
# File 'lib/RefererInformationDlg.rb', line 20 def openButton @openButton end |
#splitter6 ⇒ Object (readonly)
Returns the value of attribute splitter6.
14 15 16 |
# File 'lib/RefererInformationDlg.rb', line 14 def splitter6 @splitter6 end |
#textLabel1 ⇒ Object (readonly)
Returns the value of attribute textLabel1.
13 14 15 |
# File 'lib/RefererInformationDlg.rb', line 13 def textLabel1 @textLabel1 end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
19 20 21 |
# File 'lib/RefererInformationDlg.rb', line 19 def url @url end |