source: orange/Orange/OrangeCanvas/gui/tests/test_framelesswindow.py @ 11104:cbc940675838

Revision 11104:cbc940675838, 376 bytes checked in by Ales Erjavec <ales.erjavec@…>, 18 months ago (diff)

Added FramelessWindow class.

Line 
1from ..framelesswindow import FramelessWindow
2
3from ..test import QAppTestCase
4
5
6class TestFramelessWindow(QAppTestCase):
7    def test_framelesswindow(self):
8        window = FramelessWindow()
9        window.show()
10
11        def cycle():
12            window.setRadius((window.radius() + 3) % 30)
13            self.singleShot(250, cycle)
14
15        cycle()
16        self.app.exec_()
Note: See TracBrowser for help on using the repository browser.