Songbook-Client  0.7
This application is a manager of customguitar songbooks
 All Classes Files Functions Variables Enumerations Enumerator Pages
Public Slots | Public Member Functions | Protected Member Functions
CMainWindow Class Reference

CMainWindow is the base class of the application. More...

#include <main-window.hh>

List of all members.

Public Slots

void setBuildCommand (const QString &command)
void setCleanCommand (const QString &command)
void setCleanallCommand (const QString &command)
void songEditor (const QString &filename)
void open (const QString &filename)

Public Member Functions

 CMainWindow (QWidget *parent=0)
 Constructor.
 ~CMainWindow ()
 Destructor.
CProgressBarprogressBar () const
QDockWidget * log () const
CLibraryViewview () const
CLibrarylibrary () const
CSongbooksongbook () const
const QString workingPath ()
const QString & buildCommand () const
const QString & cleanCommand () const
const QString & cleanallCommand () const
void make ()
void makeClean ()
void makeCleanall ()

Protected Member Functions

void closeEvent (QCloseEvent *event)

Detailed Description

CMainWindow is the base class of the application.

main-window.png

Class for the main window of the application.


Member Function Documentation

const QString & CMainWindow::buildCommand ( ) const

Returns the songbook build command.

See also:
setBuildCommand
const QString & CMainWindow::cleanallCommand ( ) const

Returns the songbook cleanall command.

See also:
setCleanallCommand
const QString & CMainWindow::cleanCommand ( ) const

Returns the songbook clean command.

See also:
setCleanCommand
void CMainWindow::closeEvent ( QCloseEvent *  event)
protected

Saves settings before closing the application.

CLibrary * CMainWindow::library ( ) const

Returns the library.

QDockWidget * CMainWindow::log ( ) const

Returns the dock widget that displays LaTeX compilation logs.

logs.png
void CMainWindow::make ( )

Calls pdflatex to build the songbook.

See also:
makeClean, makeCleanall
void CMainWindow::makeClean ( )

Removes LaTeX temporary files (*.aux *.log etc.) that are generated in the songbook directory during the make().

See also:
make, makeCleanall
void CMainWindow::makeCleanall ( )

Removes LaTeX temporary files (*.aux *.log etc.) and PDF files that are generated in the songbook directory during the make().

See also:
make, makeClean
CProgressBar * CMainWindow::progressBar ( ) const

Returns the progress bar that is embedded in the status bar.

void CMainWindow::setBuildCommand ( const QString &  command)
slot

Sets command as the command line to build a PDF.

See also:
setCleanCommand, setCleanallCommand
void CMainWindow::setCleanallCommand ( const QString &  command)
slot

Sets command as the command line to remove temporary files and PDF files that are generated during the compilation of a songbook.

See also:
setBuildCommand, setCleanCommand
void CMainWindow::setCleanCommand ( const QString &  command)
slot

Sets command as the command line to remove temporary files that are generated during the compilation of a songbook.

See also:
setBuildCommand, setCleanallCommand
CSongbook * CMainWindow::songbook ( ) const

Returns the current songbook.

CLibraryView * CMainWindow::view ( ) const

Returns the library view.

const QString CMainWindow::workingPath ( )

Returns the directory of the songbook.


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