• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kig

Public Member Functions | Protected Slots | List of all members
KigFileDialog Class Reference

#include <kigfiledialog.h>

Inheritance diagram for KigFileDialog:
Inheritance graph
[legend]

Public Member Functions

 KigFileDialog (const QString &startDir, const QString &filter, const QString &caption, QWidget *parent)
 
void setOptionCaption (const QString &caption)
 
void setOptionsWidget (QWidget *w)
 

Protected Slots

virtual void accept ()
 

Detailed Description

This file dialog is pretty like KFileDialog, but allow us to make an option widget popup to the user.

Definition at line 27 of file kigfiledialog.h.

Constructor & Destructor Documentation

KigFileDialog::KigFileDialog ( const QString &  startDir,
const QString &  filter,
const QString &  caption,
QWidget *  parent 
)

Construct a new KigFileDialog.

Parameters
startDirthe start dir of the file dialog. Consult the documentation of KFileDialog for more help about this
filterthe filter for the file dialog
captionthe caption of this file dialog
parentthe parent for this file dialog

Definition at line 26 of file kigfiledialog.cc.

Member Function Documentation

void KigFileDialog::accept ( )
protectedvirtualslot

Definition at line 42 of file kigfiledialog.cc.

void KigFileDialog::setOptionCaption ( const QString &  caption)

Set the caption of the option dialog.

Parameters
captionthe caption of the option dialog

Definition at line 75 of file kigfiledialog.cc.

void KigFileDialog::setOptionsWidget ( QWidget *  w)

Use this to set the widget containing the options of eg an export filter.

The option widget will be popped up in a dialog right after the user presses OK and before the dialog is closed.

You can construct the option widget with no parent, as it will be reparented.

Parameters
wthe option widget

Definition at line 37 of file kigfiledialog.cc.


The documentation for this class was generated from the following files:
  • kigfiledialog.h
  • kigfiledialog.cc
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kig

Skip menu "kig"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal