[Solved] Permanent Threads in QT

You should use Qt signaling mechanism. class QWindow : QMainWindow { //this macro is important for QMake to let the meta programming mechanism know //this class uses Qt signalling Q_OBJECT slots: void updateLabel(QString withWhat) … }; And now You just need to connect this slot to some signal class SomeThreadClass : QObject { Q_OBJECT … … Read more

[Solved] Color Variables in Objective C

What you have defined is a local variable. It is used like this: UIColor *lightGrayHeader = [UIColor colorWithRed:246/255.f green:239/255.f blue:239/255.f alpha:1.0]; self.view.backgroundColor = lightGrayHeader; If you want to use a static method on UIColor to fetch a colour, you could do this: @interface UIColor (MyColours) + (instancetype)lightGrayHeader; @end @implementation UIColor (MyColours) + (instancetype)lightGrayHeader { return … Read more

[Solved] Windows GUI – Find out what has been clicked on the screen

There are several programs on the web which do this. IIRC winspy is one of them. It achieves this via setting a global mousehook which returns the programname of the clicked window. How to absract this in JNI? Do not know, but this is the link, you asked for: http://www.codeproject.com/Articles/1037/Hooks-and-DLLs 4 solved Windows GUI – … Read more

[Solved] What is the simplest way to create rows that scroll together and are composed of variable sized clickable Views with the same height on Android

I was finally able to get it to work!!! with the following xml: <?xml version=”1.0″ encoding=”utf-8″?> <LinearLayout android:layout_width=”match_parent” android:layout_height=”match_parent” android:orientation=”horizontal” xmlns:android=”http://schemas.android.com/apk/res/android”> <com.example.hellooboe.FunctionView android:layout_width=”500dp” android:layout_height=”500dp”> </com.example.hellooboe.FunctionView> <com.example.hellooboe.FunctionView android:layout_width=”500dp” android:layout_height=”500dp”> </com.example.hellooboe.FunctionView> <com.example.hellooboe.FunctionView android:layout_width=”500dp” android:layout_height=”500dp”> </com.example.hellooboe.FunctionView> </LinearLayout> FunctionView is my custom View, but you can add any View. This xml holds the horizontal rows. I included the above … Read more

[Solved] How to make transparent WUA app just like new windows 10 calculator is on hold? [closed]

The transparency effect is called “Acrylic” and is part of Microsoft’s new design language. When and how to use it is explained on MSDN. In a nutshell, you simply need to apply an AcrylicBrush on whatever surface you want to make transparent. The BackgroundSource allows you to tell whether you want the transparency to be … Read more

[Solved] Captaincasa grid paging [closed]

As I understand you are looking for a paging/scrolling using buttons (in addition to the normal scrollbar scrolling) to scroll through grid lines. The FIXGRID has some server-side API which allows access/update to the scrolling: FIXGRIDBinding.getSbvalue() ==> current scroll position FIXGRIDBinding.getSbvisibleamount() ==> number of lines currently displayed FIXGRIDBinding.getSbmax() ==> max scroll position FIXGRIDBinding.setSbvalue() ==> set/update … Read more

[Solved] how to output a user selected shape & color, whose location and dimensions depend upon the coordinate location of user clicks

The following is a suggested implementation, also incorporating the good guidance you got from Frakcool: import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.GridLayout; import java.awt.Point; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.awt.geom.Ellipse2D; import java.awt.geom.Rectangle2D; import java.util.HashMap; import java.util.Map; import javax.swing.ButtonGroup; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextArea; import javax.swing.JToggleButton; … Read more

[Solved] Opening and writing to form from console aplication [closed]

If you want to open the form with a console application, you can refer to the following steps: First add this code in .csproj file of the console application: <Project Sdk=”Microsoft.NET.Sdk”> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net5.0-windows</TargetFramework> <UseWindowsForms>true</UseWindowsForms> </PropertyGroup> </Project> Second add project reference of GUI VISUIALZATION: Finally you can refer to the following code in console application: … Read more

[Solved] Looking for WebAii Framework free edition online – before the Telerik merge [closed]

The framework is still free and available (Click Free Download, sign in, and you will be given the option to download the free version). What Telerik (we) are selling is derived from the Design canvas, which was commercial before the merge. 2 solved Looking for WebAii Framework free edition online – before the Telerik merge … Read more