Пример #1
0
        protected override void ResizeEvent(Qyoto.QResizeEvent e)
        {
            base.ResizeEvent(e);

            // FIXME: Seems "window.onresize" doesn't work, so we need to fake it.
            // Qt bug?
            base.Page().MainFrame().EvaluateJavaScript("windowDidResize()");
        }
Пример #2
0
 protected override void ResizeEvent(QResizeEvent arg1)
 {
     base.ResizeEvent(arg1);
     this.c_Browser.SetSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding);
     this.c_Browser.SetGeometry(0, 0, this.Width(), this.Height());
     this.c_Browser.Resize(this.Width(), this.Height());
     this.c_Browser.Update();
 }
Пример #3
0
        protected override void ResizeEvent(Qyoto.QResizeEvent arg1)
        {
            base.ResizeEvent(arg1);

            var geometry        = QByteArrayConverter.ToArray(base.SaveGeometry());
            var settingsService = ServiceManager.Get <SettingsService>();

            settingsService.Set("ChatsWindowGeometry", geometry);
        }
Пример #4
0
 protected override void ResizeEvent(QResizeEvent arg1)
 {
     interceptor.Invoke("resizeEvent#", "resizeEvent(QResizeEvent*)", typeof(void), typeof(QResizeEvent), arg1);
 }
Пример #5
0
 protected override void ResizeEvent(QResizeEvent arg1)
 {
     interceptor.Invoke("resizeEvent#", "resizeEvent(QResizeEvent*)", typeof(void), typeof(QResizeEvent), arg1);
 }
Пример #6
0
 public new virtual void ResizeEvent(QResizeEvent resize)
 {
     interceptor.Invoke("resizeEvent#", "resizeEvent(QResizeEvent*)", typeof(void), typeof(QResizeEvent), resize);
 }
Пример #7
0
 protected override void ResizeEvent(Qyoto.QResizeEvent arg1)
 {
     base.ResizeEvent(arg1);
     SaveGeometry();
 }