Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. textedit
    Log in to post

    • UNSOLVED Flickable text input field
      Mobile and Embedded • qml flickable textfield textedit • • navikh333  

      2
      0
      Votes
      2
      Posts
      72
      Views

      BUMP !!!!!!!
    • UNSOLVED add a textedit widget to a graphics view scene
      General and Desktop • qgraphicsscene textedit graphicsview qt desktop • • sachinrd  

      1
      0
      Votes
      1
      Posts
      77
      Views

      No one has replied

    • UNSOLVED How to implement TextInput drag and drop
      QML and Qt Quick • qml textedit • • Yujeonja  

      2
      0
      Votes
      2
      Posts
      156
      Views

      You are trying to do 2 things that require the same actions. Drag and drop is not built into the TextInput object. So you need to learn how drag and drop works. Next, since you need to be able to change the mode of your TextInput you need to control when a selection can occur. Say for instance if text is selected that you do NOT want selection motion to work. Then use the selectedText property to control the selectByMouse property: selectByMouse: selectedText <= 0 I do not know if this will lock you into that mode. So you may need a way to back out of a selection. What happens when you click the text again? Does it deselect the text?
    • UNSOLVED Change in QTextLayout with Qt 6
      General and Desktop • textedit highlight format • • Maluna34  

      5
      0
      Votes
      5
      Posts
      159
      Views

      Sorry for the late reply, it looks like there's indeed something changed in between. You should check the release notes just in case it was mentioned somewhere. If nothing, then please consider opening a new report on the bug report system if there's not already something there.
    • SOLVED Choose directory from combobox and list subdirectories in textedit
      General and Desktop • combobox textedit list qt5.5.0 • • Kinesis  

      5
      0
      Votes
      5
      Posts
      1614
      Views

      @aha_1980 It works ! Thanks alot :)
    • SOLVED Stylesheets for widgets on a Dynamic GUI
      General and Desktop • stylesheet widgets line edit textedit dynamic gui • • Sh1gs  

      12
      0
      Votes
      12
      Posts
      3444
      Views

      Try this , where you create ur control "dynamically" QLineEdit * m_edit=new QLineEdit(this); m_edit->setStyleSheet(":focus{background:white}"); /*this should set the stylesheet*/
    • UNSOLVED Unable to interact with TextEdit content inside Flickable that is not exposed when Flickable is in its default position
      QML and Qt Quick • qml qtquick flickable textedit • • MikePi-Top  

      1
      1
      Votes
      1
      Posts
      752
      Views

      No one has replied

    • SOLVED Reading text from textEdit
      General and Desktop • textedit • • gabor53  

      7
      0
      Votes
      7
      Posts
      3265
      Views

      @OwonaVivienD Thank you. I think I will go with a QPushButton.
    • UNSOLVED Unable to get highlighting working on TextEdit
      QML and Qt Quick • qml textedit qsyntaxhighligh • • ribtoks  

      2
      0
      Votes
      2
      Posts
      1021
      Views

      Here is small sample project with demo of how it's not working until you click on a text https://bitbucket.org/ribtoks/rehighlighdemo/src
    • SOLVED Widgets inside a text-editor
      General and Desktop • widget text textedit embed • • Ramin  

      2
      0
      Votes
      2
      Posts
      1168
      Views

      Hi Have a look at http://doc.qt.io/qt-5.5/qtextobjectinterface.html#details http://doc.qt.io/qt-5/qtextobjectinterface.html and the "Text Object Example" It seems possible to create your own widget to support such feature but I have no tested it and do not know if object would receive events. also docs says "Copy and Paste operations ignore custom text objects."
    • Display cursor on TextEdit box
      Mobile and Embedded • textedit cursor qt4.8.5 am335x • • vk41286  

      2
      0
      Votes
      2
      Posts
      1210
      Views

      Its something completely custom. It does not have package manager.
    • CMD embedded in GUI Applications.
      General and Desktop • console textedit terminal cmd qterminal qconsole • • sp00lin9  

      5
      0
      Votes
      5
      Posts
      2695
      Views

      Build and install QTerminal, then you can use it like other libraries
    • [solved] QML TextInput with Time format hh:mm:ss
      QML and Qt Quick • qml textedit imhtime • • HappyCoder  

      2
      0
      Votes
      2
      Posts
      4184
      Views

      @HappyCoder Apart from using inputMask you will also need to set a validator. RegExpValidator would be perfect choice for it. A common validator for hh:mm:ss I found was this /^(?:(?:([01]?\d|2[0-3]):)?([0-5]?\d):)?([0-5]?\d)$/ Usage is simple: validator: RegExpValidator { regExp: /^(?:(?:([01]?\d|2[0-3]):)?([0-5]?\d):)?([0-5]?\d)$/ } You can also find another validators.
    • Problem: Scrolling ListView with many entries of different height.
      QML and Qt Quick • qml listview delegate textedit height contentheight • • Kieren  

      2
      0
      Votes
      2
      Posts
      3567
      Views

      Well I found a solution. I post here so maybe it helps somebody. You need to declare a global property which stores the height. For example : reViewHeight Put the ListView inside a transparent Rectangle: rcView, and put the rectangle inside the ScrollView Add: Component.onCompleted: { reViewHeight = reViewHeight + height} in your delegate definition In the ListView add: onCountChanged: { rcView.height = reViewHeight } Done !
    • Locate QML Properties
      QML and Qt Quick • qml textedit docs • • whitecastleroad  

      9
      0
      Votes
      9
      Posts
      2385
      Views

      @jalomic But QQuickTextEdit is not public and hence can't be casted unless you include the private headers but which again is not recommended.