Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

MainWindowImpl Class Reference

Displays the dialogs, handels back/forward and global menus. More...

#include <mainwindowimpl.h>

Inheritance diagram for MainWindowImpl:

Inheritance graph
[legend]
Collaboration diagram for MainWindowImpl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MainWindowImpl (QWidget *parent=0, const char *name=0)
void setupWidget (QWidget *widget)
void showAuthor (LitUrl url)
void showPublication (LitUrl url)
void showBibliography (LitUrl url)
void showAuthorOverview (LitUrl url)
void showNoteOverview (LitUrl url)
void showPublOverview (LitUrl url)
void showPublisherOverview (LitUrl url)
void showJournalOverview (LitUrl url)
void showProjectOverview (LitUrl url)
void showState (LitUrl url)
void showSearch (LitUrl url)
void showPart (LitUrl url)
void showPartMemo (LitUrl url)
void showFile (LitUrl url)
void showNote (LitUrl url)
void showJournal (LitUrl url)
void showPublisher (LitUrl url)
void showProject (LitUrl url)
void customEvent (QCustomEvent *e)
 ~MainWindowImpl ()
void back ()
void forward ()

Private Member Functions

 MainWindowImpl (const MainWindowImpl &)
MainWindowImpl & operator= (const MainWindowImpl &)
void setupBackForward ()
void closeEvent (QCloseEvent *e)

Private Attributes

ReadOnlyFormBase * widget

Detailed Description

Displays the dialogs, handels back/forward and global menus.

Loading and unloading of the dialogs is handelt via events and urls. A custom event "UrlEvent" holds the information. Its processed in "customEvent()". If received, the method closes the old dialig and calls the appropriate method to load the new dialog (showAuthor(), showNoteOverview(), ...) and initializes the back/forward mechanism.

Each Instance has its own database connection. It can be accessed via "dbConn()".

Definition at line 38 of file mainwindowimpl.h.


Constructor & Destructor Documentation

MainWindowImpl::MainWindowImpl (  const MainWindowImpl &   )  [private]
 

Referenced by customEvent().

MainWindowImpl::MainWindowImpl (  QWidget *  parent = 0,
const char *  name = 0
) 
 

Definition at line 45 of file mainwindowimpl.cpp.

MainWindowImpl::~MainWindowImpl (   ) 
 

Definition at line 63 of file mainwindowimpl.cpp.


Member Function Documentation

void MainWindowImpl::back (   )  [virtual]
 

Reimplemented from MainWindow.

Definition at line 254 of file mainwindowimpl.cpp.

References ReadOnlyFormBase::isValid(), ReadOnlyFormBase::url(), and widget.

void MainWindowImpl::closeEvent (  QCloseEvent *  e  )  [private]
 

Definition at line 66 of file mainwindowimpl.cpp.

References widget.

void MainWindowImpl::customEvent (  QCustomEvent *  e  ) 
 

UrlEvent processing. Handles creation and deletion of dialogs.

Definition at line 83 of file mainwindowimpl.cpp.

References LitUrl::form(), MainWindowImpl(), UrlEvent::newWin(), UrlEvent::setNewWin(), setupBackForward(), showAuthor(), showAuthorOverview(), showBibliography(), showFile(), showJournal(), showJournalOverview(), showNote(), showNoteOverview(), showPart(), showPartMemo(), showProject(), showProjectOverview(), showPublication(), showPublisher(), showPublisherOverview(), showPublOverview(), showSearch(), showState(), UrlEvent::url(), and widget.

void MainWindowImpl::forward (   )  [virtual]
 

Reimplemented from MainWindow.

Definition at line 238 of file mainwindowimpl.cpp.

References ReadOnlyFormBase::isValid(), ReadOnlyFormBase::url(), and widget.

MainWindowImpl& MainWindowImpl::operator= (  const MainWindowImpl &   )  [private]
 

void MainWindowImpl::setupBackForward (   )  [private]
 

Definition at line 72 of file mainwindowimpl.cpp.

References ReadOnlyFormBase::isValid(), ReadOnlyFormBase::url(), and widget.

Referenced by customEvent().

void MainWindowImpl::setupWidget (  QWidget *  widget  ) 
 

Definition at line 121 of file mainwindowimpl.cpp.

Referenced by showAuthor(), showAuthorOverview(), showBibliography(), showFile(), showJournal(), showJournalOverview(), showNote(), showNoteOverview(), showPart(), showPartMemo(), showProject(), showProjectOverview(), showPublication(), showPublisher(), showPublisherOverview(), showPublOverview(), showSearch(), and showState().

void MainWindowImpl::showAuthor (  LitUrl  url  )  [virtual]
 

Reimplemented from MainWindow.

Definition at line 133 of file mainwindowimpl.cpp.

References setupWidget(), MainWindow::setWorkingGui(), and widget.

Referenced by customEvent().

void MainWindowImpl::showAuthorOverview (  LitUrl  url  ) 
 

Definition at line 171 of file mainwindowimpl.cpp.

References setupWidget(), MainWindow::setWorkingGui(), and widget.

Referenced by customEvent().

void MainWindowImpl::showBibliography (  LitUrl  url  ) 
 

Definition at line 158 of file mainwindowimpl.cpp.

References setupWidget(), MainWindow::setWorkingGui(), and widget.

Referenced by customEvent().

void MainWindowImpl::showFile (  LitUrl  url  ) 
 

Definition at line 165 of file mainwindowimpl.cpp.

References setupWidget(), MainWindow::setWorkingGui(), and widget.

Referenced by customEvent().

void MainWindowImpl::showJournal (  LitUrl  url  ) 
 

Definition at line 213 of file mainwindowimpl.cpp.

References setupWidget(), MainWindow::setWorkingGui(), and widget.

Referenced by customEvent().

void MainWindowImpl::showJournalOverview (  LitUrl  url  ) 
 

Definition at line 189 of file mainwindowimpl.cpp.

References setupWidget(), MainWindow::setWorkingGui(), and widget.

Referenced by customEvent().

void MainWindowImpl::showNote (  LitUrl  url  ) 
 

Definition at line 127 of file mainwindowimpl.cpp.

References setupWidget(), MainWindow::setWorkingGui(), and widget.

Referenced by customEvent().

void MainWindowImpl::showNoteOverview (  LitUrl  url  ) 
 

Definition at line 177 of file mainwindowimpl.cpp.

References setupWidget(), MainWindow::setWorkingGui(), and widget.

Referenced by customEvent().

void MainWindowImpl::showPart (  LitUrl  url  ) 
 

Definition at line 145 of file mainwindowimpl.cpp.

References setupWidget(), MainWindow::setWorkingGui(), and widget.

Referenced by customEvent().

void MainWindowImpl::showPartMemo (  LitUrl  url  ) 
 

Definition at line 151 of file mainwindowimpl.cpp.

References setupWidget(), MainWindow::setWorkingGui(), and widget.

Referenced by customEvent().

void MainWindowImpl::showProject (  LitUrl  url  ) 
 

Definition at line 225 of file mainwindowimpl.cpp.

References setupWidget(), MainWindow::setWorkingGui(), and widget.

Referenced by customEvent().

void MainWindowImpl::showProjectOverview (  LitUrl  url  ) 
 

Definition at line 231 of file mainwindowimpl.cpp.

References setupWidget(), MainWindow::setWorkingGui(), and widget.

Referenced by customEvent().

void MainWindowImpl::showPublication (  LitUrl  url  ) 
 

Definition at line 139 of file mainwindowimpl.cpp.

References setupWidget(), MainWindow::setWorkingGui(), and widget.

Referenced by customEvent().

void MainWindowImpl::showPublisher (  LitUrl  url  ) 
 

Definition at line 219 of file mainwindowimpl.cpp.

References setupWidget(), MainWindow::setWorkingGui(), and widget.

Referenced by customEvent().

void MainWindowImpl::showPublisherOverview (  LitUrl  url  ) 
 

Definition at line 195 of file mainwindowimpl.cpp.

References setupWidget(), MainWindow::setWorkingGui(), and widget.

Referenced by customEvent().

void MainWindowImpl::showPublOverview (  LitUrl  url  ) 
 

Definition at line 183 of file mainwindowimpl.cpp.

References setupWidget(), MainWindow::setWorkingGui(), and widget.

Referenced by customEvent().

void MainWindowImpl::showSearch (  LitUrl  url  ) 
 

Definition at line 207 of file mainwindowimpl.cpp.

References setupWidget(), MainWindow::setWorkingGui(), and widget.

Referenced by customEvent().

void MainWindowImpl::showState (  LitUrl  url  ) 
 

Definition at line 201 of file mainwindowimpl.cpp.

References setupWidget(), MainWindow::setWorkingGui(), and widget.

Referenced by customEvent().


Member Data Documentation

ReadOnlyFormBase* MainWindowImpl::widget [private]
 

Definition at line 45 of file mainwindowimpl.h.

Referenced by back(), closeEvent(), customEvent(), forward(), setupBackForward(), showAuthor(), showAuthorOverview(), showBibliography(), showFile(), showJournal(), showJournalOverview(), showNote(), showNoteOverview(), showPart(), showPartMemo(), showProject(), showProjectOverview(), showPublication(), showPublisher(), showPublisherOverview(), showPublOverview(), showSearch(), and showState().


The documentation for this class was generated from the following files:
Generated on Sat Mar 27 19:22:26 2004 for Literature by doxygen 1.3.6-20040222