Qucs-GUI  0.0.19
Public Types | Public Member Functions | Protected Slots | Private Member Functions | Private Attributes
SaveDialog Class Reference

#include <savedialog.h>

Collaboration diagram for SaveDialog:
Collaboration graph
[legend]

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 34 of file savedialog.cpp.

Here is the call graph for this function:

Definition at line 43 of file savedialog.cpp.


Member Function Documentation

Definition at line 92 of file savedialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SaveDialog::dontSaveClicked ( ) [protected, slot]

Definition at line 103 of file savedialog.cpp.

Here is the caller graph for this function:

void SaveDialog::initDialog ( ) [private]

Definition at line 52 of file savedialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool SaveDialog::isEmpty ( ) const

Definition at line 132 of file savedialog.cpp.

Here is the caller graph for this function:

void SaveDialog::reject ( ) [protected, slot]

Definition at line 127 of file savedialog.cpp.

Here is the caller graph for this function:

void SaveDialog::saveSelectedClicked ( ) [protected, slot]

Definition at line 108 of file savedialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SaveDialog::setApp ( QucsApp a)

Definition at line 47 of file savedialog.cpp.

Here is the caller graph for this function:


Field Documentation

QPushButton* SaveDialog::abortClosingButton [private]

Definition at line 71 of file savedialog.h.

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:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines