Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
i am using QPrinter to create report and embed in the qt application. there is no issue in creating report, but display is the issue.
when i am scrolling the report the display problem is coming. please have look at the Image.
see the Notes Text.if i press CTRL and scroll then this is not coming. how to fix this.
i found the solution.
actually i used semi transparent color for the text.
painter.setPen(QPen(QColor(40,40,40,200),3,Qt::SolidLine));
after i removed and change into solid color, it's fixed
painter.setPen(QPen(QColor(140,140,140,255),3,Qt::SolidLine));
Thanks...
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 days ago.
Improve this question
When I try to change it to optimised for mac, I see all buttons change to default style (I mean macOS style). I just want to change the button style. Pls help!
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I am trying to create an MFC application(hidden application) for tracking usage of other applications.
I am using GetForgroundWindow() for getting the current active window but sometimes I get my own hidden application window.
How I can get the current active windows in z-order
Call GetWindow passing GW_HWNDNEXT.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I try to find Qt::CustomizeWindowHint and Qt::Tool analogs for Gtkmm 3.0.
I want to design a simple program without system buttons like close, fullscreen mode etc.
In the official documentation I couldn't find it.
Please help me.
Use window->set_decorated(false), although it is only a hint to the window manager. Some window managers don't support windows without system buttons.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
i wanna create a text field and when a user type a word it will check and if it equals to "test" for example, test's color will changes to red and so on
im using c++builder, so how can it be done?
You can use a TRichEdit for that. You can use its SelStart and SelLength properties to select the word and then use its SelAttributes->Color property to change the word's font color (or use the Win32 API equivalents). Refer to the following article for some details about how to implement a "syntax highlighter" with TRichEdit:
Faster rich edit syntax highlighting
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am working on a homework; I put everything in a folder and upload to a site. Please download it and help.
I follow my teacher example, but it must have something missing. My code is able to be compiled, but does not able to pop out the form as I excepted.
Please help ! Thanks
Code link http://sharesend.com/xkpm2
I found the error. I forget to add
myForm2->ShowDialog()
to show my form