Showing 1 of 2 files from the diff.

@@ -105,6 +105,10 @@
Loading
105 105
class WidgetEventFilter(QtCore.QObject):
106 106
    """ An internal class that watches for certain events on behalf of the
107 107
    Widget instance.
108 +
109 +
    This filter watches for show and hide events to make sure that visible
110 +
    state of the widget is the opposite of Qt's isHidden() state.  This is
111 +
    needed in case other code hides the toolkit widget
108 112
    """
109 113
110 114
    def __init__(self, widget):
@@ -122,6 +126,6 @@
Loading
122 126
        event_type = event.type()
123 127
124 128
        if event_type in {QtCore.QEvent.Show, QtCore.QEvent.Hide}:
125 -
            widget.visible = widget.control.isVisible()
129 +
            widget.visible = not widget.control.isHidden()
126 130
127 131
        return False
Files Coverage
pyface 40.81%
Project Totals (508 files) 40.81%
1825.1
TRAVIS_OS_NAME=linux
1825.2
TRAVIS_OS_NAME=linux
1825.3
TRAVIS_OS_NAME=osx
1
codecov:
2
  notify:
3
    require_ci_to_pass: yes
4

5
coverage:
6
  precision: 1
7
  round : up
8

9
  status:
10
    project:
11
    patch:
12
      only_pulls: yes
13

14
comment : off
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading