#include <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) |
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 SearchDialog & | operator= (const SearchDialog &) |
SearchDialog (const SearchDialog &) | |
Private Attributes | |
YAPETUI::Button * | cancelbutton |
bool | canceled |
YAPETUI::Button * | okbutton |
YAPETUI::secstring | searchterm |
YAPETUI::InputWidget * | searchtermw |
WINDOW * | window |
Definition at line 54 of file searchdialog.h.
anonymous enum [private] |
SearchDialog::SearchDialog | ( | const SearchDialog & | ) | [inline, private] |
Definition at line 68 of file searchdialog.h.
SearchDialog::SearchDialog | ( | ) | throw (YAPETUI::UIException) |
SearchDialog::~SearchDialog | ( | ) |
Definition at line 55 of file searchdialog.cc.
References cancelbutton, okbutton, searchtermw, and window.
void SearchDialog::createWindow | ( | ) | throw (YAPETUI::UIException) [private] |
Definition at line 25 of file searchdialog.cc.
References cancelbutton, getHeight(), YAPETUI::Button::getLength(), getStartX(), getStartY(), getWidth(), okbutton, searchtermw, and window.
Referenced by resize(), and SearchDialog().
int SearchDialog::getHeight | ( | ) | const [inline, private] |
Definition at line 73 of file searchdialog.h.
References HEIGHT.
Referenced by createWindow(), and getStartY().
const char* SearchDialog::getSearchTerm | ( | ) | const [inline] |
Definition at line 89 of file searchdialog.h.
References YAPETUI::InputWidget::getText(), and searchtermw.
Referenced by MainWindow::searchTerm().
int SearchDialog::getStartX | ( | ) | const [inline, private] |
Definition at line 75 of file searchdialog.h.
References getWidth(), and YAPETUI::BaseWindow::maxX().
Referenced by createWindow().
int SearchDialog::getStartY | ( | ) | const [inline, private] |
Definition at line 76 of file searchdialog.h.
References getHeight(), and YAPETUI::BaseWindow::maxY().
Referenced by createWindow().
int SearchDialog::getWidth | ( | ) | const [inline, private] |
Definition at line 72 of file searchdialog.h.
References YAPETUI::BaseWindow::maxX().
Referenced by createWindow(), and getStartX().
bool SearchDialog::isCanceled | ( | ) | const [inline] |
Definition at line 88 of file searchdialog.h.
References canceled.
Referenced by MainWindow::searchTerm().
const SearchDialog& SearchDialog::operator= | ( | const SearchDialog & | ) | [inline, private] |
Definition at line 69 of file searchdialog.h.
void SearchDialog::refresh | ( | ) | throw (YAPETUI::UIException) [virtual] |
Implements YAPETUI::BaseWindow.
Definition at line 117 of file searchdialog.cc.
References box(), cancelbutton, YAPETUI::MESSAGEBOX, okbutton, YAPETUI::Button::refresh(), YAPETUI::InputWidget::refresh(), searchtermw, YAPETUI::Colors::setcolor(), and window.
Referenced by run().
void SearchDialog::resize | ( | ) | throw (YAPETUI::UIException) [virtual] |
Implements YAPETUI::BaseWindow.
Definition at line 99 of file searchdialog.cc.
References cancelbutton, createWindow(), okbutton, searchtermw, and window.
void SearchDialog::run | ( | ) | throw (YAPETUI::UIException) |
Definition at line 63 of file searchdialog.cc.
References cancelbutton, canceled, YAPETUI::Button::focus(), YAPETUI::InputWidget::focus(), okbutton, refresh(), YAPETUI::BaseWindow::resizeAll(), and searchtermw.
Referenced by MainWindow::searchTerm().
YAPETUI::Button* SearchDialog::cancelbutton [private] |
Definition at line 63 of file searchdialog.h.
Referenced by createWindow(), refresh(), resize(), run(), and ~SearchDialog().
bool SearchDialog::canceled [private] |
YAPETUI::Button* SearchDialog::okbutton [private] |
Definition at line 62 of file searchdialog.h.
Referenced by createWindow(), refresh(), resize(), run(), and ~SearchDialog().
YAPETUI::secstring SearchDialog::searchterm [private] |
Definition at line 64 of file searchdialog.h.
YAPETUI::InputWidget* SearchDialog::searchtermw [private] |
Definition at line 61 of file searchdialog.h.
Referenced by createWindow(), getSearchTerm(), refresh(), resize(), run(), and ~SearchDialog().
WINDOW* SearchDialog::window [private] |
Definition at line 60 of file searchdialog.h.
Referenced by createWindow(), refresh(), resize(), and ~SearchDialog().