I need help not related to littlenavmap, but my own project i am working on. I have to create my own Pages(Flight plan and so on). #1092
Replies: 12 comments 28 replies
-
Keep using the map widget as parent but put all pages into windows on top of it. Then fill these windows with content using the QPainter and C++. This is a lot of work. If the QML puts too much strain on the application you should check your code. The fewest tasks have to be run every frame. |
Beta Was this translation helpful? Give feedback.
-
Hello, I came across Flight gear G1000, which uses exactly same pages as i need but SVG files and dynamically changing values, If you have worked with SVGs for QT GUI, can you please tell me, can i also use SVGs? Will it work fine like Widgets and QML components? |
Beta Was this translation helpful? Give feedback.
-
I need your help please, /****** Same file (flightplanconstants.h:) hundreds of errors, without changing or including this file. *******/ |
Beta Was this translation helpful? Give feedback.
-
I've been stuck on a problem for weeks, even after asking about it before here. I made my own class called "PageInfoController" similar to "infoController" and connected most signals and slots the same way. At first, everything was fine; I got data when I changed the airport in the searchbase table. But the problem is still there. When I keep changing airports (around 25 to 30 times) in the searchbase table, the app crashes with "Cn::Process::NotifyOutOfMemory()" or "sometimes image creation too many threads" errors. Even after completely removing infocontroller, the issue remains exactly same. Note that "PageInfoController" sends data to QAbstractListModel classes which update in qml pages using ListView. and I am using 32bit |
Beta Was this translation helpful? Give feedback.
-
Hey, |
Beta Was this translation helpful? Give feedback.
-
Hey, I need your help with writing my own queries. Like in search window(searchbaseTable), we write 'Ab' it gives rowsof all ident starting with same char. ' I did some additon in waypointquery.cpp.
Then using it For any input, output: " qWarning() << Q_FUNC_INFO << "No waypoints found matching the input.";" It gives no result, can you please tell me how should i create a class to run all my queries like mentioned above. I am very confused with sqlModel, searchBaseTable, Airport query, Sqlhandler classes. |
Beta Was this translation helpful? Give feedback.
-
Hey I hope you are doing well, I was facing an issue where lnm installed on remote pc with prepar3D v4 works fine. When i compile and connect to that simulator from my PC it connects but aircrafts doesnt show up no matter what i do, So i compiled newer versions [lnm 3.0 release and atools 4.0 release] still same thing. The aircraft doesnt shows in compiled version on my PC, without any code changes, |
Beta Was this translation helpful? Give feedback.
-
Hey, There is a problem which isnt going, and i cannot solve it i asked this problem last time too (#1092 (reply in thread)) , there is a exact same 73 error, if i include any flightplan related file, i havent changed anything in them, if i dont include (flightplan related file )everything works fine, i thought it was beacuse my enum there is a collision i removed all of them nothing worked.I have tried the latest stable version too but its really 🤦♂️🤦♂️🤦♂️🤦♂️🤦♂️🤦♂️🤦♂️🤦♂️🤦♂️🤦♂️. |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Hey i have one problem, and i really need your help. i asked on stackoverflow also, but no good reply.
|
Beta Was this translation helpful? Give feedback.
-
Hi |
Beta Was this translation helpful? Give feedback.
-
Hi hope you are doing well. Can you tell me if this is the only data, i will take care of related signals and ConnectDialog class and i will send data instead of reading it using simconnect. struct SimData float magVarDeg; float planeAboveGroundFt; qint32 autopilotAvailable; float ambientTemperatureC; qint32 ambientPrecipStateFlags; float airplaneTotalWeightLbs; float fuelFlowPph1; float fuelFlowGph1; float localTimeSeconds; qint32 userSim; float altitudeFt; // Actual altitude float groundVelocityKts; float planeHeadingMagneticDeg; float airspeedTrueKts; qint32 transponderCode; qint32 numEngines; char aiFrom[32]; |
Beta Was this translation helpful? Give feedback.
-
If i use use qml which is a little easier for me to style and design, it puts alot of load on application.
I dont want to use qml can you please tell me if you were in my situation how would you have designed such UI for example Flight plan UI i am showing below.
I have to create 20/25 such pages, but just 4 qml pages put alot of pressure. Note: I used map widget as parent
Beta Was this translation helpful? Give feedback.
All reactions