Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

ReorderListView Class Reference

The list view used in ReorderListDialog. More...

#include <reorder_list_view.h>

Inheritance diagram for ReorderListView::

List of all members.

Public Methods

 ReorderListView (QWidget *parent=0, char const *name=0)
bool updateCollectionHolder ()

Protected Slots

void afterMove ()

Protected Methods

virtual bool acceptDrag (QDropEvent *event) const

Detailed Description

The list view used in ReorderListDialog.

Author:
Ralf Schmelter (ralfs@pc2a.chemie.uni-dortmund.de).
Version:
0.1


Constructor & Destructor Documentation

ReorderListView::ReorderListView QWidget * parent = 0,
char const * name = 0
 

Creates the list view with all collections/level of the collection holder.

Parameters:
parent   The parent of the dialog.
name   The internal name of the dialog.


Member Function Documentation

virtual bool ReorderListView::acceptDrag QDropEvent * event const [protected, virtual]
 

Here we ensure that levels are dropped only in collections and collections not in other collections.

ent event The drop event.

void ReorderListView::afterMove [protected, slot]
 

Used to deselect all items when moved.

bool ReorderListView::updateCollectionHolder
 

Reorders the levels/collections in the CollectionHolder to reflect the order in the list view.

Returns:
True, if the update was not cancelled.


The documentation for this class was generated from the following file:
Generated at Sun Jan 6 18:49:12 2002 for EasySok by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001