On 8/4/23 18:48, Ashhar Farhan via wsjt-devel wrote:
Alex, thanks.
After editing the file, when I run cmake --build .., nothing happens. How do I recompile?
- f

OM, are you using the wsjtx<version>.tgz tarball from https://sourceforge.net/projects/wsjt/files/?

If so, then please note that the cmake script uncompresses all source files from the *tgz overriding any changes you have made to them after your initial compile.

To get around this you can create a file 'wsjtx.patch'  in the root source directory and implement your changes there.

Just as an example, here is a ultra-simple patch that replaces one tooltip of WideGraph with garbage:

diff --git a/widgets/widegraph.ui b/widgets/widegraph.ui
index df0afa8..e6d3e60
--- a/widgets/widegraph.ui
+++ b/widgets/widegraph.ui
@@ -278,7 +278,7 @@
       <item row="0" column="1">
        <widget class="QSpinBox" name="bppSpinBox">
         <property name="toolTip">
-         <string>Compression factor for frequency scale</string>
+         <string>Tararaijaaraijaaraa!!!</string>
         </property>
         <property name="suffix">
          <string/>

Of course your changes will be vastly more complex, but I hope this gets the basic idea trough.

If, on the other hand, you are using source git cloned from SourceForge then the problem must be elsewhere.

73's de Kari, oh2gqc



On Fri, Aug 4, 2023, 9:06 PM Alex Lelievre <a...@foinc.com> wrote:

    You are right that QtDesigner is the app to use. Just open the .ui
    files and edit away.

    You might need to hide some controls outside the bounds of the
    window rather than deleting them.

    best,
    alex


    > On Aug 3, 2023, at 10:20 PM, Ashhar Farhan via wsjt-devel
    <wsjt-devel@lists.sourceforge.net> wrote:
    >
    > 
    > Hello,
    > This is my first post to the group, I hope my excesses will be
    excused. I want to fit the user interface into an 800x480 display
    of the raspberry pi. I suppose an easy way to do this is to edit
    the ui files and cramp up the controls closer.
    > What is the recommended way to do this? Is there a particular
    editor like the qtdesigner that should be used? I am not sure that
    editing it on vi is the way to go.
    > - f
    > _______________________________________________
    > wsjt-devel mailing list
    > wsjt-devel@lists.sourceforge.net
    > https://lists.sourceforge.net/lists/listinfo/wsjt-devel



_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to