OTB  6.7.0
Orfeo Toolbox
Public Slots | Signals | Public Member Functions | Private Types | Private Slots | Private Member Functions | Private Attributes | List of all members
otb::Wrapper::ListEditWidget Class Reference

#include <otbWrapperQtWidgetListEditWidget.h>

+ Inheritance diagram for otb::Wrapper::ListEditWidget:
+ Collaboration diagram for otb::Wrapper::ListEditWidget:

Public Slots

void OnFilenameDropped (const QString &)
 

Signals

void Updated ()
 
void ValueChanged ()
 

Public Member Functions

const ListEditItemModelGetItemModel () const
 
ListEditItemModelGetItemModel ()
 
 ListEditWidget (StringListInterface *, QWidget *p=NULL, Qt::WindowFlags flags=0)
 
virtual ~ListEditWidget ()
 

Private Types

enum  SwapSelection {
  LEFT = -1,
  NONE = 0,
  RIGHT = +1
}
 

Private Slots

void on_addButton_clicked ()
 
void on_browseButton_clicked ()
 
void on_downButton_clicked ()
 
void on_removeAllButton_clicked ()
 
void on_removeButton_clicked ()
 
void on_upButton_clicked ()
 
void OnDataChanged (const QModelIndex &, const QModelIndex &)
 
void OnModelReset ()
 
void OnRowsInserted (const QModelIndex &, int, int)
 
void OnRowsRemoved (const QModelIndex &, int, int)
 
void OnSelectionChanged (const QItemSelection &, const QItemSelection &)
 

Private Member Functions

QString browseFilename (const QModelIndex &)
 
QStringList browseFilenames (bool multi=false, const QString &filename=QString())
 
void Swap (int, int, SwapSelection=NONE)
 

Private Attributes

Ui::ListEditWidget * m_UI
 

Detailed Description

Definition at line 50 of file otbWrapperQtWidgetListEditWidget.h.

Member Enumeration Documentation

Enumerator
LEFT 
NONE 
RIGHT 

Definition at line 79 of file otbWrapperQtWidgetListEditWidget.h.

Constructor & Destructor Documentation

otb::Wrapper::ListEditWidget::ListEditWidget ( StringListInterface ,
QWidget *  p = NULL,
Qt::WindowFlags  flags = 0 
)

Constructor.

virtual otb::Wrapper::ListEditWidget::~ListEditWidget ( )
virtual

Destructor.

Member Function Documentation

QString otb::Wrapper::ListEditWidget::browseFilename ( const QModelIndex &  )
private
QStringList otb::Wrapper::ListEditWidget::browseFilenames ( bool  multi = false,
const QString &  filename = QString() 
)
private
const ListEditItemModel* otb::Wrapper::ListEditWidget::GetItemModel ( ) const
ListEditItemModel* otb::Wrapper::ListEditWidget::GetItemModel ( )
void otb::Wrapper::ListEditWidget::on_addButton_clicked ( )
privateslot
void otb::Wrapper::ListEditWidget::on_browseButton_clicked ( )
privateslot
void otb::Wrapper::ListEditWidget::on_downButton_clicked ( )
privateslot
void otb::Wrapper::ListEditWidget::on_removeAllButton_clicked ( )
privateslot
void otb::Wrapper::ListEditWidget::on_removeButton_clicked ( )
privateslot
void otb::Wrapper::ListEditWidget::on_upButton_clicked ( )
privateslot
void otb::Wrapper::ListEditWidget::OnDataChanged ( const QModelIndex &  ,
const QModelIndex &   
)
privateslot
void otb::Wrapper::ListEditWidget::OnFilenameDropped ( const QString &  )
slot
void otb::Wrapper::ListEditWidget::OnModelReset ( )
privateslot
void otb::Wrapper::ListEditWidget::OnRowsInserted ( const QModelIndex &  ,
int  ,
int   
)
privateslot
void otb::Wrapper::ListEditWidget::OnRowsRemoved ( const QModelIndex &  ,
int  ,
int   
)
privateslot
void otb::Wrapper::ListEditWidget::OnSelectionChanged ( const QItemSelection &  ,
const QItemSelection &   
)
privateslot
void otb::Wrapper::ListEditWidget::Swap ( int  ,
int  ,
SwapSelection  = NONE 
)
private
void otb::Wrapper::ListEditWidget::Updated ( )
signal
void otb::Wrapper::ListEditWidget::ValueChanged ( )
signal

Member Data Documentation

Ui::ListEditWidget* otb::Wrapper::ListEditWidget::m_UI
private

uic generated.

Definition at line 97 of file otbWrapperQtWidgetListEditWidget.h.


The documentation for this class was generated from the following file: