Go to the documentation of this file.
29 #ifndef SPLITTER_HANDLE_H
30 #define SPLITTER_HANDLE_H
61 bool eventFilter(QObject* event_target, QEvent* event)
override;
95 #endif // SPLITTER_HANDLE_H
void updateGeometry()
Update the parent's column widths and this splitter's geometry based on first_column_size_ratio_.
void setDesiredWidth(int width)
Set desired width of first column - subject to clamping.
void setRatio(float ratio)
Set the ratio of the parent's left column to the parent widget width.
float first_column_size_ratio_
SplitterHandle(QTreeView *parent=nullptr)
void update(const std::string &key, const XmlRpc::XmlRpcValue &v)
void mouseDoubleClickEvent(QMouseEvent *event) override
A tall skinny invisible widget providing left-right sliding column separator adjustment for a two-col...
float getRatio()
Get the ratio of the parent's left column to the parent widget width.
void mouseMoveEvent(QMouseEvent *event) override
void paintEvent(QPaintEvent *event) override
void setColor(QColor color)
void mousePressEvent(QMouseEvent *event) override
bool eventFilter(QObject *event_target, QEvent *event) override
Catch resize events sent to parent to update splitter's geometry. Always returns false.
rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall
autogenerated on Fri Aug 2 2024 08:43:10