Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. datastructures

    Log in to post
    • All categories
    • K

      Unsolved Customizing a QPLainText widget or creating a new one
      General and Desktop • qplaintextedit qwidget datastructures qtextcursor qtextdocument • • kaliy23

      3
      0
      Votes
      3
      Posts
      333
      Views

      K

      @jsulm, I apologize, I should've mentioned it in the original post: one of the requirements of the project is that we can not use any 3rd party library for the text editor, except for Qt.
      From what I see in the QScintilla github, it is ported to Qt on top of the TextEdit widget, so I will look further into their implementation to figure out how they've done it.

    • Y

      Solved which container (Qvector or QList) is good to use for insert, delete, and access the last element.
      General and Desktop • datastructures qlist qvector c++ • • Yash001

      5
      0
      Votes
      5
      Posts
      357
      Views

      M

      @Yash001 said in which container (Qvector or QList) is good to use for insert, delete, and access the last element.:

      I am adding data point at last position of container, and only accessing the last element of container. So which is better container?

      It's what we call Last In First Out ( LIFO) queue.
      So QStack seems an obvious candidate.

      QStack inherits from QVector.

    • L

      Solved Handling several QStringLists
      General and Desktop • qtcreator qstringlist datastructures • • Lasith

      5
      0
      Votes
      5
      Posts
      1241
      Views

      L

      @SGaist Thanx mate