Logo Search packages:      
Sourcecode: yapet version File versions  Download package

SearchDialog Class Reference

#include <searchdialog.h>

Inheritance diagram for SearchDialog:


List of all members.

Detailed Description

Search dialog.

Dialog for entering the search term

Definition at line 54 of file searchdialog.h.

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)

Protected Types

enum  MinDimension { MIN_Y = 24, MIN_X = 80 }
 The minimum dimensions supported. More...

Protected Member Functions

int maxX () const
 The maximum x value of the screen.
int maxY () const
 The maximum y value of the screen.
int minX () const
 The minimum x value of the screen.
int minY () const
 The minimum y value of the screen.

Static Protected Member Functions

static void deleteAll ()
 Delete all registered windows.
static void endCurses ()
 Ends the curses mode.
static void initCurses ()
 Initializes (n)curses.
static void refreshAll ()
 Calls the refresh() method of all registered windows.
static void registerBaseWindow (BaseWindow *r)
 Register a base window.
static void resizeAll ()
 Calls the resize() method of all registered windows.
static void unregisterBaseWindow (BaseWindow *r)
 un-registers a base window.

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

bool canceled
YAPETUI::secstring searchterm
WINDOW * window

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

Generated by  Doxygen 1.6.0   Back to index