RoseFileComboBox Class Reference

ComboBox which displays all files associated with an SgProject User can select a file, and according signals are emitted. More...

#include <RoseFileComboBox.h>

List of all members.

Signals

void selectedFileChanged (int fileId)
 Emitted when user selects a file.
void selectedFileChanged (const QString &filename)
void selectedFileChanged (AstFilterInterface *filter)

Public Member Functions

 RoseFileComboBox (QWidget *parent=NULL)
virtual ~RoseFileComboBox ()
void setProject (SgProject *proj)
bool displayOnlyFilename () const
void setDisplayOnlyFilename (bool on)

Protected Slots

void curIndexChanged (int index)

Protected Attributes

SgProject * project
bool dispOnlyFilename
 If false the whole path is displayed, otherwise filename only.

Properties

bool DispOnlyFilename []


Detailed Description

ComboBox which displays all files associated with an SgProject User can select a file, and according signals are emitted.

Definition at line 14 of file RoseFileComboBox.h.


Constructor & Destructor Documentation

RoseFileComboBox::RoseFileComboBox ( QWidget *  parent = NULL  ) 

Definition at line 11 of file RoseFileComboBox.cpp.

RoseFileComboBox::~RoseFileComboBox (  )  [virtual]

Definition at line 19 of file RoseFileComboBox.cpp.


Member Function Documentation

void RoseFileComboBox::curIndexChanged ( int  index  )  [protected, slot]

Definition at line 68 of file RoseFileComboBox.cpp.

Referenced by RoseFileComboBox().

bool RoseFileComboBox::displayOnlyFilename (  )  const [inline]

Definition at line 26 of file RoseFileComboBox.h.

void RoseFileComboBox::selectedFileChanged ( AstFilterInterface filter  )  [signal]

void RoseFileComboBox::selectedFileChanged ( const QString &  filename  )  [signal]

void RoseFileComboBox::selectedFileChanged ( int  fileId  )  [signal]

Emitted when user selects a file.

Referenced by curIndexChanged().

void RoseFileComboBox::setDisplayOnlyFilename ( bool  on  ) 

Definition at line 90 of file RoseFileComboBox.cpp.

Here is the call graph for this function:

void RoseFileComboBox::setProject ( SgProject *  proj  ) 

Definition at line 24 of file RoseFileComboBox.cpp.

Referenced by setDisplayOnlyFilename().

Here is the caller graph for this function:


Member Data Documentation

bool RoseFileComboBox::dispOnlyFilename [protected]

If false the whole path is displayed, otherwise filename only.

Definition at line 42 of file RoseFileComboBox.h.

Referenced by displayOnlyFilename(), setDisplayOnlyFilename(), and setProject().

SgProject* RoseFileComboBox::project [protected]

Definition at line 39 of file RoseFileComboBox.h.

Referenced by setDisplayOnlyFilename(), and setProject().


Property Documentation

bool RoseFileComboBox::DispOnlyFilename [read, write]

Definition at line 18 of file RoseFileComboBox.h.


The documentation for this class was generated from the following files:
Generated on Tue Sep 15 14:48:50 2009 for RoseQtWidgets by  doxygen 1.4.7