Brief description of class still missing. More...
#include <GroupWidget.h>
Public Member Functions | |
| void | expandAll () |
| GroupWidget (QWidget *parent=0) | |
| void | setMode (GroupView::Mode m) |
| void | setSignalWindow (GeopsyMainWindow *sw) |
| ~GroupWidget () | |
Brief description of class still missing.
Full description of class still missing
| GroupWidget::GroupWidget | ( | QWidget * | parent = 0 | ) |
Description of constructor still missing
References GroupView::Browse, expandAll(), setMode(), and TRACE.
: QWidget(parent)
{
TRACE;
setupUi(this);
expandAll();
// Tooltips to be eventually displayed by re-implementing the standard item model behind QComboBox
//browseAction->setToolTip(tr("The normal mode to drag and drop signals to viewers (tables, graphics,...)."));
//renameAction->setToolTip(tr("To rename groups directly inside the tree view."));
//sortAction->setToolTip(tr("Re-organise groups with internal drag and drops."));
findReplace->setHistoryBaseName("GroupWidgetFind");
selectEdit->addItems(Settings::getHistory("GroupWidgetSelect"));
setMode(GroupView::Browse);
}
| void GroupWidget::expandAll | ( | ) |
References TRACE.
Referenced by GroupWidget(), and GeopsyMainWindow::openDB().
{
TRACE;
groupView->expandToDepth(0);
}
| void GroupWidget::setMode | ( | GroupView::Mode | m | ) |
References GroupView::Browse, GroupView::Rename, GroupView::Sort, and TRACE.
Referenced by GroupWidget().
{
TRACE;
switch(m) {
case GroupView::Browse:
findReplace->hide();
break;
case GroupView::Rename:
findReplace->show();
break;
case GroupView::Sort:
findReplace->hide();
break;
}
groupView->setMode(m);
}
| void GroupWidget::setSignalWindow | ( | GeopsyMainWindow * | sw | ) |
References TRACE.
Referenced by GeopsyMainWindow::setToolFactory().
{
TRACE;
groupView->setSignalWindow(sw);
}