QIntValidator in PWCT2

45 views
Skip to first unread message

YK Kim

unread,
Nov 1, 2025, 9:18:40 PMNov 1
to The Ring Programming Language
Hi.
I have a question about PWCT2 validator usage LineEdit component input field setup.
Currently I done this with LineEdit.setInputMask() function for 2 digit number only in from but it would better if I can can use QIntValidator class that of QT but looks like PWCT2 has no QIntValidator class definition or component exist but I can see there are LineEdit.setValidator() function available.
So is there any method that I can use this setValidator() function in LineEdit component in PWCT2 by create QIntValidator class that not existing in PWCT2?
And thanks in advance for help.

Mansour Ayouni

unread,
Nov 2, 2025, 6:24:52 PMNov 2
to YK Kim, The Ring Programming Language
Hello Kim,

Mahmoud will certainly react to your question when he comes back since this forum is mainly about Ring and not PWCT.

All the best,
Mansour

--

---
You received this message because you are subscribed to the Google Groups "The Ring Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ring-lang+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ring-lang/55dd058c-d96d-43b8-b4f0-539fd956f0dbn%40googlegroups.com.

YK Kim

unread,
Nov 7, 2025, 3:35:28 AM (11 days ago) Nov 7
to The Ring Programming Language
Hi.
fyi, I'm changed from PWCT2 to Qt6.10 with C++ programming for this and it's all working well as I designed for my app.
It seems that PWCT2 developer no time to look at this question so done this myself and let you quys know that this question no more need to answer/action.
Anyway thanks for the reply.

2025년 11월 3일 월요일 오전 8시 24분 52초 UTC+9에 Mansour Ayouni님이 작성:

Ka mara

unread,
Nov 7, 2025, 6:08:22 AM (11 days ago) Nov 7
to YK Kim, The Ring Programming Language

As they said, he has been off for sometime now, he is on vacation. Glad, you managed to find a work around. But hopefully this query gets response even though it would be late


Mahmoud Fayed

unread,
Nov 7, 2025, 7:31:33 AM (11 days ago) Nov 7
to The Ring Programming Language
Hello

Ring/PWCT2 projects are open-source projects
No official support is provided (i.e. we don't accept feature requests, we answer questions and solve reported bugs based on our time/decision)

If you decided to use Ring/PWCT2 then discovered that you need a feature that does not exist, then you have two choices
(1) Use another language/tool 
(2) Add this feature to the language/tool (since it's open source) 

If you decided to do the second choice, we encourage you to share your work to help others (if everyone did that, the project grow and everyone get benefits) 

But this is not necessary, it's your choice, i.e. we give you Ring/PWCT2 as a free open-source software, you have the choice to use/ignore it, and if you decided to use the software, no one is asking from you to do anything (i.e. if you helped others, shared your code, answered questions, it's your choice/decision and thank you for your time if you did that) - This is the situation for everyone (including myself too)


RingQt can be improved by adding more classes (you can add any class in a few minutes then build from source code).

Greetings,
Mahmoud
Reply all
Reply to author
Forward
0 new messages