SearchDialog Class Reference

Search dialog. More...

#include <searchdialog.h>

Inheritance diagram for SearchDialog:

YAPETUI::BaseWindow

List of all members.

Public Member Functions

const char * getSearchTerm () const
bool isCanceled () const
void refresh () throw (YAPETUI::UIException)
void resize () throw (YAPETUI::UIException)
void run () throw (YAPETUI::UIException)
 SearchDialog () throw (YAPETUI::UIException)
 ~SearchDialog ()

Private Types

enum  { HEIGHT = 6 }

Private Member Functions

void createWindow () throw (YAPETUI::UIException)
int getHeight () const
int getStartX () const
int getStartY () const
int getWidth () const
const SearchDialogoperator= (const SearchDialog &)
 SearchDialog (const SearchDialog &)

Private Attributes

YAPETUI::Buttoncancelbutton
bool canceled
YAPETUI::Buttonokbutton
YAPETUI::secstring searchterm
YAPETUI::InputWidgetsearchtermw
WINDOW * window


Detailed Description

Dialog for entering the search term

Definition at line 53 of file searchdialog.h.


Member Enumeration Documentation

anonymous enum [private]

Enumerator:
HEIGHT 

Definition at line 55 of file searchdialog.h.


Constructor & Destructor Documentation

SearchDialog::SearchDialog ( const SearchDialog  )  [inline, private]

Definition at line 67 of file searchdialog.h.

SearchDialog::SearchDialog (  )  throw (YAPETUI::UIException)

Definition at line 45 of file searchdialog.cc.

References createWindow().

SearchDialog::~SearchDialog (  ) 

Definition at line 54 of file searchdialog.cc.

References cancelbutton, okbutton, searchtermw, and window.


Member Function Documentation

void SearchDialog::createWindow (  )  throw (YAPETUI::UIException) [private]

int SearchDialog::getHeight (  )  const [inline, private]

Definition at line 72 of file searchdialog.h.

References HEIGHT.

Referenced by createWindow(), and getStartY().

const char* SearchDialog::getSearchTerm (  )  const [inline]

Definition at line 88 of file searchdialog.h.

References YAPETUI::InputWidget::getText(), and searchtermw.

Referenced by MainWindow::searchTerm().

int SearchDialog::getStartX (  )  const [inline, private]

Definition at line 74 of file searchdialog.h.

References getWidth(), and YAPETUI::BaseWindow::maxX().

Referenced by createWindow().

int SearchDialog::getStartY (  )  const [inline, private]

Definition at line 75 of file searchdialog.h.

References getHeight(), and YAPETUI::BaseWindow::maxY().

Referenced by createWindow().

int SearchDialog::getWidth (  )  const [inline, private]

Definition at line 71 of file searchdialog.h.

References YAPETUI::BaseWindow::maxX().

Referenced by createWindow(), and getStartX().

bool SearchDialog::isCanceled (  )  const [inline]

Definition at line 87 of file searchdialog.h.

References canceled.

Referenced by MainWindow::searchTerm().

const SearchDialog& SearchDialog::operator= ( const SearchDialog  )  [inline, private]

Definition at line 68 of file searchdialog.h.

void SearchDialog::refresh (  )  throw (YAPETUI::UIException) [virtual]

void SearchDialog::resize (  )  throw (YAPETUI::UIException) [virtual]

Implements YAPETUI::BaseWindow.

Definition at line 98 of file searchdialog.cc.

References cancelbutton, createWindow(), okbutton, searchtermw, and window.

void SearchDialog::run (  )  throw (YAPETUI::UIException)


Member Data Documentation

Definition at line 62 of file searchdialog.h.

Referenced by createWindow(), refresh(), resize(), run(), and ~SearchDialog().

bool SearchDialog::canceled [private]

Definition at line 65 of file searchdialog.h.

Referenced by isCanceled(), and run().

Definition at line 61 of file searchdialog.h.

Referenced by createWindow(), refresh(), resize(), run(), and ~SearchDialog().

Definition at line 63 of file searchdialog.h.

Definition at line 60 of file searchdialog.h.

Referenced by createWindow(), getSearchTerm(), refresh(), resize(), run(), and ~SearchDialog().

WINDOW* SearchDialog::window [private]

Definition at line 59 of file searchdialog.h.

Referenced by createWindow(), refresh(), resize(), and ~SearchDialog().


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

Generated on Mon Apr 13 17:29:48 2009 for YAPET by  doxygen 1.5.8