MyBooks
Classes | Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
DlgNewBook Class Reference

Book title database maintenance. More...

#include <dlgnewbook.hpp>

Inheritance diagram for DlgNewBook:
Inheritance graph
[legend]
Collaboration diagram for DlgNewBook:
Collaboration graph
[legend]

Classes

class  NewBookPrivate
 

Public Member Functions

 DlgNewBook (QWidget *parent=0)
 
 ~DlgNewBook ()
 

Protected Member Functions

void changeEvent (QEvent *e)
 
void showEvent (QShowEvent *)
 
void resizeEvent (QResizeEvent *)
 
void closeEvent (QCloseEvent *)
 

Private Slots

void slotAddBook ()
 

Private Member Functions

void showError (const QSqlError &err)
 *d-ptr to GUI designer form More...
 
void loadTitles ()
 
void displaySettings ()
 load books data into table for display More...
 
void readSettings ()
 display all settings values if used More...
 
void saveSettings ()
 read DlgNewBook settings from file More...
 

Private Attributes

NewBookPrivated
 
Ui::DlgNewBook * ui
 *d-ptr to local private vars More...
 

Detailed Description

Book title database maintenance.

This dialog provides an interface to the Books database table to allow add, update, and delete of all New Titles records.

This dialog uses the Relational Table Model and delegates to maintain the related fields.

Constructor & Destructor Documentation

◆ DlgNewBook()

DlgNewBook::DlgNewBook ( QWidget *  parent = 0)
explicit
Here is the call graph for this function:

◆ ~DlgNewBook()

DlgNewBook::~DlgNewBook ( )
Here is the call graph for this function:

Member Function Documentation

◆ changeEvent()

void DlgNewBook::changeEvent ( QEvent *  e)
protected

◆ closeEvent()

void DlgNewBook::closeEvent ( QCloseEvent *  e)
protected
Here is the call graph for this function:

◆ displaySettings()

void DlgNewBook::displaySettings ( )
private

load books data into table for display

◆ loadTitles()

void DlgNewBook::loadTitles ( )
private

◆ readSettings()

void DlgNewBook::readSettings ( )
private

display all settings values if used

◆ resizeEvent()

void DlgNewBook::resizeEvent ( QResizeEvent *  )
protected
Here is the call graph for this function:

◆ saveSettings()

void DlgNewBook::saveSettings ( )
private

read DlgNewBook settings from file

◆ showError()

void DlgNewBook::showError ( const QSqlError &  err)
private

*d-ptr to GUI designer form

◆ showEvent()

void DlgNewBook::showEvent ( QShowEvent *  )
protected

◆ slotAddBook

void DlgNewBook::slotAddBook ( )
privateslot

Member Data Documentation

◆ d

NewBookPrivate* DlgNewBook::d
private

◆ ui

Ui::DlgNewBook* DlgNewBook::ui
private

*d-ptr to local private vars


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