Qt textedit with bookmark in scrollbar - qt

I wanted to create the bookmarks for my text editor while searching for a word in the text, the scrollbar should colored the bar in green like in the qt editor.
I need help guys!! do you have an idea to access the scrollbar and color it while searching for a word?

Related

JavaFX CSS how do I blend Text color to appear as white when a progress bar overlaps it?

I have this image of a progress bar:
I am trying to make the text change color as the bar overlaps it. I have no idea how to do this in JavaFX since it is not as flexible as the known CSS. I tried to use different blend modes provided but no use I couldn't manage to get the white color I wanted. Basically, there is no code to show since I don't know where to start. Is there any workaround?

JavaFX 2 - Autoscroll to last item in exceeded toolbar

I am creating File Manager like Miller column app for windows in JavaFX for learning purpose.
Check the screenshot below:
As you can see, when toolbar exceeds, there comes a double arrow button for more items to select from popup.
I already did auto scroll for miller column, which works as expected.
scrollPane.hvalueProperty().bind(hBox.widthProperty());
I would like to auto scroll toolbar to last item and show double arrow on left side.
I am adding adding clickable buttons in toolbar for traversing like manual BreadCumBar.
Tried ControlsFX BreadCumBar, it doesn't even show arrows or popup when exceeds, Bug here : https://bitbucket.org/controlsfx/controlsfx/issues/810/no-double-arrow-popup-like-when.
If its not possible to do so with toolbar, I would like to know how to customize toolbar popup only via css. Or any other way that improve usability easiness.
Also I would love to know suggestions for whole app from expert designers.
Thanks.

How to enhance User Experience of Qt list item widget as of MS office tools?

I'm making a widget for some reordering purpose. I want to make it much like this Outlook Dialog Box :
For the menu list items, I'm using Qt List Widget and adding an icon with a text.
The UI doesn't look very pleasing.
Is there any way in Qt to make the icon panel different in color as shown in this Outlook dialog box?
Also how can I add icons on right side also, as in case of multi level menus have right arrow.

QT how to get rid of spaces between widgets and their parents

I love designing my userinterfaces in qtdesigner because its just so damn simple. However, there is always space in between widgets and their parents which i want to eliminate.
Example of problem
I create a simple dialog and add a webview to it. Then layout horizontally.To make the parent more obvious I modify its css to make its background color green
Voila, I want to get rid of the green sections because in my view they make the program look ugly.
Link to my ui file.
Download ui file from my dropbox
or get it from pastebin
In Qt Designer, select your top level widget (in this case Dialog), then look at the Property Editor on the right-hand sidebar. Scroll all the way down and you'll see a section referring to the layout assigned to that widget. You want to change the layoutLeftMargin, layoutRightMargin, etc. properties.

QT5 Text rendering issue

I have cross compiled QT5 on a MIPS based platform.
Whenever I run application including sample apps, (Which contains text), first it draws the text and later paints the area of text with "rectangle" fill of Text Color.
So finally I see a black rectangle all the places where text is displayed. If i change the text color, the color of rectangle also changes. Has anybody faced this issue? Any suggestions?
Even when I run qtwebkit, I see that URL part, the text in any HTML page is painted with rectangle fills.
Thanks

Resources