Discussion of article "Graphical interfaces VIII: the calendar control (Chapter 1)" - page 2

 

Anatol writes well and makes beautiful things, but we simple users need practical application.

========

Time machine

for now we fly only to the past

Standing on the euro
We want to quickly look into the past.
Choose a pair, TF, date and time, click on "jump"
We are there.
 
poruchik:

Anatol writes well and makes beautiful things, but we simple users need practical application


We are standing on kiwi.
We want to take a quick look into the past.
Choose a pair, TF, date and time, click on "jump".

We are there.

You can do the same with the calendar presented in the article. And for this you will not need to write several hundred lines, as in your example.

If there are difficulties, there will be an article with practical examples after publishing all planned controls.

 

It's not difficult, I'm a reader.

Examples are good, but not only for beauty, but also for business (practice).

 
poruchik:

It's not difficult, I'm a reader.

Examples are good, but they should be not only for beauty, but also for business (practice).

Have you already tried to implement the chart navigator, as you have on the screenshot, using the library presented in the article?

Did it work? Or did you face some difficulties?

The examples attached in the files at the end of the article should help you, but if something does not work, please ask.

 
I'm a user, not a programmer.
 
poruchik:
I'm a user, not a programmer

Then wait for the final article of the series for the first version of the library. I will make a chart navigator there as one of the examples especially for you. I've already made it, but I can't post it yet, because I need to update some library files (I found a couple of bugs, which I've already fixed).

This is how it looks like:

//---

When you fast-forward the calendar values, you will also have faster navigation through the chart.

 
Vasiliy Sokolov:
Can you imagine what it is to port gui libraries based on Qt or X11? Plus, the interconnections between these libraries are fantastic. It would be easier to port a mini Linkus distribution into MetaTrader. Why? Let it be.

I just found an example. I did not say that you should take it and port it. If you were more aware of the topic, you would have given a specific code with specific comments or ported it yourself.

I just don't like stupid work, and my gut feeling tells me that Anatoly's work is exactly like that. Despite all the respect. I would not have written such a lib myself.

 
Andrey Khatimlianskii:

I just found an example. I didn't say that you should take it and port it exactly. If you were more familiar with the topic, you would have given specific code with specific comments or ported it yourself.

I just don't like stupid work, and my gut feeling tells me that Anatoly's work is exactly like that. Despite all the respect. I wouldn't write such a lib myself.

Maybe you shouldn't rely only on "inner feelings". If there was an easy possibility to port such a library, MQ developers probably would have done so initially, instead of writing at least some but their own version of the standard library.

Even if there are sources somewhere, without a detailed description like the one I provide in my articles, it is much more labour-intensive to study the material yourself and adapt the code to the terminal environment than to write everything from scratch.

I looked at the materials at the links provided above. There are hundreds of files there. No comments. Nothing is clear at all. Maybe there is some other, more interesting option? )

 
Anatoli Kazharski:

...

I have looked at the materials in the links provided above. There are hundreds of files there. No commentary. Nothing is clear at all. Maybe there is some other, more interesting option? )

There is. Generally speaking, knowing this or that library is a profession. For example, there are special programmers for Qt. And it is a highly paid skill.
 
Anatoli Kazharski:

Perhaps you should not rely only on "internal feelings". If there was an easy way to port such a library, MQ developers would probably have done it that way from the beginning, instead of writing at least some but their own version of the standard library.

Even if there are sources somewhere, without a detailed description like the one I provide in my articles, it is much more labour-intensive to study the material yourself and adapt the code to the terminal environment than to write everything from scratch.

I looked at the materials at the links provided above. There are hundreds of files there. No comments. Nothing is clear at all. Maybe there is some other, more interesting option? )

Your "most likely" is no different from my "for sure".

It would be cool if the developers themselves answered, or at least someone who is really in the subject.

Well there can't be no such basic things, there can't.

I don't see any point in discussing the contents of the link. Firstly, it's the first thing I came across, nothing more than that, and secondly, there seems to be documentation there. But I don't want to waste my time on it anyway.