Qucs-GUI  0.0.18
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Slots | Private Member Functions | Private Attributes
SaveDialog Class Reference

#include <savedialog.h>

Inheritance diagram for SaveDialog:

Public Types

enum  { AbortClosing = 0, DontSave, SaveSelected }
 

Public Member Functions

 SaveDialog (QWidget *p=0, const char *n=0, bool modal=true, Qt::WFlags fl=0)
 
 ~SaveDialog ()
 
void addUnsavedDoc (QucsDoc *doc)
 
void setApp (QucsApp *a)
 
bool isEmpty () const
 

Protected Slots

void dontSaveClicked ()
 
void saveSelectedClicked ()
 
void reject ()
 

Private Member Functions

void initDialog ()
 

Private Attributes

QMap< QucsDoc
*, QListWidgetItem * > 
unsavedDocs
 
QLabel * label
 
QListWidget * fileView
 
QPushButton * abortClosingButton
 
QPushButton * dontSaveButton
 
QPushButton * saveSelectedButton
 
QBoxLayout * SaveDialogLayout
 
QHBoxLayout * buttonsLayout
 
QSpacerItem * spacer
 
QucsAppapp
 

Detailed Description

Definition at line 43 of file savedialog.h.

Member Enumeration Documentation

anonymous enum
Enumerator
AbortClosing 
DontSave 
SaveSelected 

Definition at line 47 of file savedialog.h.

Constructor & Destructor Documentation

SaveDialog::SaveDialog ( QWidget *  p = 0,
const char *  n = 0,
bool  modal = true,
Qt::WFlags  fl = 0 
)

Definition at line 32 of file savedialog.cpp.

SaveDialog::~SaveDialog ( )

Definition at line 41 of file savedialog.cpp.

Member Function Documentation

void SaveDialog::addUnsavedDoc ( QucsDoc doc)

Definition at line 90 of file savedialog.cpp.

void SaveDialog::dontSaveClicked ( )
protectedslot

Definition at line 101 of file savedialog.cpp.

void SaveDialog::initDialog ( )
private

Definition at line 50 of file savedialog.cpp.

bool SaveDialog::isEmpty ( ) const

Definition at line 130 of file savedialog.cpp.

void SaveDialog::reject ( )
protectedslot

Definition at line 125 of file savedialog.cpp.

void SaveDialog::saveSelectedClicked ( )
protectedslot

Definition at line 106 of file savedialog.cpp.

void SaveDialog::setApp ( QucsApp a)

Definition at line 45 of file savedialog.cpp.

Field Documentation

QPushButton* SaveDialog::abortClosingButton
private

Definition at line 71 of file savedialog.h.

QucsApp* SaveDialog::app
private

Definition at line 77 of file savedialog.h.

QHBoxLayout* SaveDialog::buttonsLayout
private

Definition at line 75 of file savedialog.h.

QPushButton* SaveDialog::dontSaveButton
private

Definition at line 72 of file savedialog.h.

QListWidget* SaveDialog::fileView
private

Definition at line 70 of file savedialog.h.

QLabel* SaveDialog::label
private

Definition at line 69 of file savedialog.h.

QBoxLayout* SaveDialog::SaveDialogLayout
private

Definition at line 74 of file savedialog.h.

QPushButton* SaveDialog::saveSelectedButton
private

Definition at line 73 of file savedialog.h.

QSpacerItem* SaveDialog::spacer
private

Definition at line 76 of file savedialog.h.

QMap<QucsDoc*,QListWidgetItem*> SaveDialog::unsavedDocs
private

Definition at line 67 of file savedialog.h.


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