29 #ifndef SPLITTER_HANDLE_H 30 #define SPLITTER_HANDLE_H 57 bool eventFilter( QObject* event_target, QEvent* event );
83 #endif // SPLITTER_HANDLE_H virtual void paintEvent(QPaintEvent *event)
float getRatio()
Get the ratio of the parent's left column to the parent widget width.
virtual void mousePressEvent(QMouseEvent *event)
SplitterHandle(QTreeView *parent=0)
A tall skinny invisible widget providing left-right sliding column separator adjustment for a two-col...
void update(const std::string &key, const XmlRpc::XmlRpcValue &v)
void updateGeometry()
Update the parent's column widths and this splitter's geometry based on first_column_size_ratio_.
void setColor(QColor color)
virtual void mouseMoveEvent(QMouseEvent *event)
float first_column_size_ratio_
bool eventFilter(QObject *event_target, QEvent *event)
Catch resize events sent to parent to update splitter's geometry. Always returns false.
void setRatio(float ratio)
Set the ratio of the parent's left column to the parent widget width.