예제 #1
0
 Widget &currentChild() { return child(currentChildIndex()); }
예제 #2
0
 const Widget &currentChild() const { return child(currentChildIndex()); }
예제 #3
0
const Widget &WidgetContainer::current() const
{
    return (currentChildIndex() >= 0 ?
            child(currentChildIndex()).current() : *this);
}