Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F4823386
registrynodetree.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Size
474 B
Referenced Files
None
Subscribers
None
registrynodetree.cpp
View Options
#include "registrynodetree.h"
#include <QHeaderView>
RegistryNodeTree::RegistryNodeTree(QWidget *p_parent) : QTreeView(p_parent) {
// Configure widget
this->setTextElideMode(Qt::ElideNone);
}
void RegistryNodeTree::setModel(QAbstractItemModel *p_model) {
QTreeView::setModel(p_model);
this->header()->setResizeMode(0,QHeaderView::ResizeToContents);
this->header()->setStretchLastSection(false);
}
//int RegistryNodeTree::sizeHintForColumn(int column) const {}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sun, May 11, 1:17 AM (1 d, 3 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1226623
Default Alt Text
registrynodetree.cpp (474 B)
Attached To
Mode
rFRED fred
Attached
Detach File
Event Timeline
Log In to Comment