form-designer

Delphi-like GUI designer for Python

女生的网名这么多〃 提交于 2020-01-31 03:47:35
问题 Is there any GUI toolkit for Python with form designer similar to Delphi, eg where one can drag and drop controls to form, move them around etc. 回答1: I recommend PyQt (now from Nokia), which uses Qt Designer. Qt designer produces XML files (.ui) which you can either convert to Python modules using a utility called pyuic , or load dynamically from your Python program. You do have to write your Python code in a different editor, i.e. Designer is only the GUI designer part and not a complete IDE

Delphi-like GUI designer for Python

江枫思渺然 提交于 2020-01-31 03:46:04
问题 Is there any GUI toolkit for Python with form designer similar to Delphi, eg where one can drag and drop controls to form, move them around etc. 回答1: I recommend PyQt (now from Nokia), which uses Qt Designer. Qt designer produces XML files (.ui) which you can either convert to Python modules using a utility called pyuic , or load dynamically from your Python program. You do have to write your Python code in a different editor, i.e. Designer is only the GUI designer part and not a complete IDE

Equivalent to designer guidelines in code

核能气质少年 提交于 2020-01-02 01:07:06
问题 The VCL form designer offers pink guidelines for aligning controls at their respective text base lines: But as far as I can tell this doesn't work for labels and checkboxes. Update: It works for labels if you place the controls exactly , e.g. by Ctrl - arrow . It kind of works for checkboxes - see screenshot. Now, on some forms I'm creating controls in code, e.g. ed := TEdit.Create(Self); ed.SetBounds(...); ed.Parent := SomePanel; etc. How can I ensure that their text base lines are aligned?

Is it safe to use Delphi visual form designer in high DPI?

给你一囗甜甜゛ 提交于 2019-12-24 03:25:17
问题 In the past we were using standard 96dpi windows most of the time on developer machines, today it is common to go with 120 or even more. Is it safe to save forms in Delphi in high dpi or are there any annoyances or risks involved? I'm not asking how to do my application behave properly with different DPI modes - but asking if Delphi form designer is proven to work correctly in high dpi, so apps with the usual DPI handling techniques will work OK with forms saved with larger PixelsPerInch

How to Implement Custom Windows Forms Designer? [closed]

被刻印的时光 ゝ 提交于 2019-12-19 03:22:23
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . How can we implement Windows Forms Designer in a WinForms application ? Visual Studio uses System.ComponentModel.Design namespace to implement the Form Designer. How can we use this to implement a Form Designer in a WinForms application ? Is there any other library available for

How to Implement Custom Windows Forms Designer? [closed]

断了今生、忘了曾经 提交于 2019-12-19 03:22:09
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . How can we implement Windows Forms Designer in a WinForms application ? Visual Studio uses System.ComponentModel.Design namespace to implement the Form Designer. How can we use this to implement a Form Designer in a WinForms application ? Is there any other library available for

How to implement a winform dialog in Delphi without IDE?

时光怂恿深爱的人放手 提交于 2019-12-08 02:39:36
问题 I don't have the Delphi IDE installed. Can I still design forms? 回答1: Using Win32: File | New Unit then you have full control of the code. var F : TForm; L : TLabel; begin F := TForm.Create(Application); L := TLabel.Create(F); L.Parent := F; // Needed to have it show up on the form. L.Left := 50; L.Top := 50; L.Caption := 'This is an example'; F.Show; end; In .NET / Delphi Prism: Right Click on the Project|New Item|Class namespace WindowsApplication2.Properties; interface uses System.Windows

How to implement a winform dialog in Delphi without IDE?

北城余情 提交于 2019-12-06 10:09:41
I don't have the Delphi IDE installed. Can I still design forms? Using Win32: File | New Unit then you have full control of the code. var F : TForm; L : TLabel; begin F := TForm.Create(Application); L := TLabel.Create(F); L.Parent := F; // Needed to have it show up on the form. L.Left := 50; L.Top := 50; L.Caption := 'This is an example'; F.Show; end; In .NET / Delphi Prism: Right Click on the Project|New Item|Class namespace WindowsApplication2.Properties; interface uses System.Windows.Forms, System.Collections.Generic, System.Linq, System.Text; type Class1 = public class(System.Windows.Forms

How to Implement Custom Windows Forms Designer? [closed]

萝らか妹 提交于 2019-11-30 21:24:28
How can we implement Windows Forms Designer in a WinForms application ? Visual Studio uses System.ComponentModel.Design namespace to implement the Form Designer. How can we use this to implement a Form Designer in a WinForms application ? Is there any other library available for achieving the same ? I finally found something really interesting and helpful from CodePlex here . I read about this on Brad Abram's Blog Post. These includes many examples on framework extensibility and Custom Windows Form Designer Interface is one of them. Link Txt 1: http://mef.codeplex.com/ Link Txt 2: http://blogs