QtDesigner is part of QtCreator. To use QtDesigner:

  • Launch QtCreator, and from the menu bar (outside QtCreator), click on: File>New File or Project

  • You will be presented with a New File or Project dialog window. In the Files And Classes section, select Qt. In the middle pane, select QtDesigner Form. Then click on the Choose button in the lower right corner.

  • You will be presented with a QtDesigner Form dialog window. Then you can select Main Window or Dialog with Buttons Bottom, etc. Then click on the Continue button in the lower right corner.

  • In the Location dialog window, use a name like mainwindow1.ui, and for the path you might want to step aside and create a directory called forms, e.g. $ mkdir /Users/7stud/qt_projects/forms, then enter that as the path.

  • Enter any other details and click on Done. That will land you in QtCreator with the Design button selected (which I guess means you are in QtDesigner), and you will be able to drag and drop widgets onto your window.

  • To convert the .ui file to a .py file that you can import into your python program:

    $ pyuic5 mainwindow.ui -o

    -o => output file (default is stdout)

    That command converts the .ui file mainwindow1.ui to a .py file named

To re-open the file: File>Open File or Project. If you select a file with a .ui extension, it will be opened with QtCreator's Design button pre-selected, i.e. you will be inside QtDesigner.

  1. Installer script

    cd ~
    chmod +x
    sudo ./
  2. PiTFT Selection Once you run it you will be presented with menus for configuration.

For the 2.4", 2.8" and 3.2" PiTFT with resistive touchscreen overlay select #1 Image description

  1. PiTFT as Text Console If you want the PiTFT to act as a text console, select YES to "Would you like the console to appear on the PiTFT display" choose NO to boot into GUI.

  2. Reboot.



When 2.8" touch screen installed, the display driver will override these settings, so that 320×480 resolution is being used instead, both by X11 and RealVNC. By switching RealVNC into virtual mode, it is possible to start a virtual desktop at a higher resolution:

pi@raspberrypi:~ $ vncserver-virtual

Image description

Sub PasswordBreaker()
    'Breaks worksheet password protection.
    Dim i As Integer, j As Integer, k As Integer
    Dim l As Integer, m As Integer, n As Integer
    Dim i1 As Integer, i2 As Integer, i3 As Integer
    Dim i4 As Integer, i5 As Integer, i6 As Integer
    On Error Resume Next
    For i = 65 To 66: For j = 65 To 66: For k = 65 To 66
    For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66
    For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66
    For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126
        ActiveSheet.Unprotect Chr(i) & Chr(j) & Chr(k) & _
        Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _
        Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
        If ActiveSheet.ProtectContents = False Then
            MsgBox "One usable password is " & Chr(i) & Chr(j) & _
            Chr(k) & Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & _
            Chr(i3) & Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
            Exit Sub
        End If
        Next: Next: Next: Next: Next: Next
        Next: Next: Next: Next: Next: Next
End Sub

to unlock password protected workbooks:

Line 12, replace "ActiveSheet" with "ThisWorkbook" Line 15, replace "ActiveSheet.ProtectContents" with "ThisWorkbook.ProtectStructure"


Edit pcmanfm.conf file:

sudo nano ~/.config/pcmanfm/LXDE-pi/pcmanfm.conf 

Image description

and change the from:




Image description