Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 7 results for
qtreewidgetitem
- Page 1
Re: QTreeWidgetItem - Show changed values, which are not saved yet
Programming
Software Development
7 Years Ago
by mapsonyllaer
You could use your own items inheriting from
QTreeWidgetItem
. There you can put such magic into your data() implementation. You would add the asterisk when data() is asked to return information for the DisplayRole. You will have to add the dirty flag to the model behind your table widget.
QTreeWidgetItem - Show changed values, which are not saved yet
Programming
Software Development
8 Years Ago
by myk45
Hi all, I am developing a Qt Gui application. Here I have a Qtreeewidget that has a list of Qtreeewidgetitems. I also have a qtablewidget beside it which displays some information when any item present in the list is clicked/selected.When the content of any of the cell in the tablewidget is changed by the user I want to display some indication (…
Resizing Window Content in QT and Layout Managers
Programming
Software Development
9 Years Ago
by myk45
…(QString::fromUtf8("tree"));
QTreeWidgetItem
* topLevel= new
QTreeWidgetItem
(); topLevel->setText(0,"HELP");
QTreeWidgetItem
* treeItem = new
QTreeWidgetItem
(); treeItem->setText(0…
Re: MVC - C++
Programming
Software Development
12 Years Ago
by Eagletalon
… mainly with QT libraries MODEL: [CODE]
QTreeWidgetItem
ContainerClass::loadData(){ <Database call and query>
QTreeWidgetItem
item.text(<field index>…
Re: Resizing Window Content in QT and Layout Managers
Programming
Software Development
9 Years Ago
by myk45
.
Re: Resizing Window Content in QT and Layout Managers
Programming
Software Development
9 Years Ago
by mike_2000_17
I think you need to look at [QSizePolicy](http://qt-project.org/doc/qt-4.8/qsizepolicy.html) (accessed from [QWidget::sizePolicy()](http://qt-project.org/doc/qt-4.8/qwidget.html#sizePolicy-prop)). Basically, the size policy is what allows you to specify how widgets should grow automatically when their parent widget (with a layout) resizes, and …
Re: Resizing Window Content in QT and Layout Managers
Programming
Software Development
9 Years Ago
by myk45
Thank You Mike. :) you always give me good solutions!
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC