digiKam
ShowFoto::ShowfotoSetup Class Reference
+ Inheritance diagram for ShowFoto::ShowfotoSetup:

Public Types

enum  FaceType {
  Auto = DConfigDlgView::Auto , Plain = DConfigDlgView::Plain , List = DConfigDlgView::List , Tree = DConfigDlgView::Tree ,
  Tabbed = DConfigDlgView::Tabbed
}
 
enum  Page {
  LastPageUsed = -1 , EditorPage = 0 , MetadataPage , ToolTipPage ,
  RawPage , IOFilesPage , ICCPage , PluginsPage ,
  MiscellaneousPage , SetupPageEnumLast
}
 

Signals

void currentPageChanged (DConfigDlgWdgItem *current, DConfigDlgWdgItem *before)
 
void pageRemoved (DConfigDlgWdgItem *page)
 

Public Member Functions

void addActionButton (QAbstractButton *const button)
 
void addPage (DConfigDlgWdgItem *const item)
 
DConfigDlgWdgItem * addPage (QWidget *const widget, const QString &name)
 
void addSubPage (DConfigDlgWdgItem *const parent, DConfigDlgWdgItem *const item)
 
DConfigDlgWdgItem * addSubPage (DConfigDlgWdgItem *const parent, QWidget *const widget, const QString &name)
 
QPushButton * button (QDialogButtonBox::StandardButton which) const
 
DConfigDlgWdgItem * currentPage () const
 
void insertPage (DConfigDlgWdgItem *const before, DConfigDlgWdgItem *const item)
 
DConfigDlgWdgItem * insertPage (DConfigDlgWdgItem *const before, QWidget *const widget, const QString &name)
 
void removePage (DConfigDlgWdgItem *const item)
 
void setCurrentPage (DConfigDlgWdgItem *const item)
 
void setFaceType (FaceType faceType)
 
void setStandardButtons (QDialogButtonBox::StandardButtons buttons)
 
 ShowfotoSetup (QWidget *const parent=nullptr, Page page=LastPageUsed)
 
 ~ShowfotoSetup () override
 

Static Public Member Functions

static bool execExifTool (QWidget *const parent)
 
static bool execMetadataFilters (QWidget *const parent, int tab)
 
static bool execSinglePage (Page page)
 
static bool execSinglePage (QWidget *const parent, Page page)
 
static void onlineVersionCheck ()
 

Protected Member Functions

QDialogButtonBox * buttonBox ()
 
const QDialogButtonBox * buttonBox () const
 
DConfigDlgWdg * pageWidget ()
 
const DConfigDlgWdg * pageWidget () const
 
void setButtonBox (QDialogButtonBox *const box)
 
void setPageWidget (DConfigDlgWdg *const widget)
 

Protected Attributes

DConfigDlgPrivate *const d_ptr
 

Member Enumeration Documentation

◆ FaceType

  • Auto - A dialog with a face based on the structure of the available pages. If only a single page is added, the dialog behaves like in Plain mode, with multiple pages without sub pages it behaves like in List mode and like in Tree mode otherwise.
  • Plain - A normal dialog.
  • List - A dialog with an icon list on the left side and a representation of the contents on the right side.
  • Tree - A dialog with a tree on the left side and a representation of the contents on the right side.
  • Tabbed - A dialog with a tab bar above the representation of the contents.
Enumerator
Auto 
Plain 
List 
Tree 
Tabbed 

◆ Page

Enumerator
LastPageUsed 
EditorPage 
MetadataPage 
ToolTipPage 
RawPage 
IOFilesPage 
ICCPage 
PluginsPage 
MiscellaneousPage 
SetupPageEnumLast 

Constructor & Destructor Documentation

◆ ShowfotoSetup()

◆ ~ShowfotoSetup()

ShowFoto::ShowfotoSetup::~ShowfotoSetup ( )
override

Member Function Documentation

◆ addActionButton()

void Digikam::DConfigDlg::addActionButton ( QAbstractButton *const  button)
inherited

Set an action button.

References Digikam::DConfigDlg::button().

◆ addPage() [1/2]

void Digikam::DConfigDlg::addPage ( DConfigDlgWdgItem *const  item)
inherited

Adds a new top level page to the dialog.

Parameters
itemThe
See also
DConfigDlgWdgItem which describes the page.

◆ addPage() [2/2]

DConfigDlgWdgItem * Digikam::DConfigDlg::addPage ( QWidget *const  widget,
const QString &  name 
)
inherited

Adds a new top level page to the dialog.

Parameters
widgetThe widget of the page.
nameThe name which is displayed in the navigation view.
Returns
The associated
See also
DConfigDlgWdgItem.

Referenced by ShowfotoSetup().

◆ addSubPage() [1/2]

void Digikam::DConfigDlg::addSubPage ( DConfigDlgWdgItem *const  parent,
DConfigDlgWdgItem *const  item 
)
inherited

Inserts a new sub page in the dialog.

Parameters
parentThe new page will be insert as child of this
See also
DConfigDlgWdgItem.
Parameters
itemThe
See also
DConfigDlgWdgItem which describes the page.

◆ addSubPage() [2/2]

DConfigDlgWdgItem * Digikam::DConfigDlg::addSubPage ( DConfigDlgWdgItem *const  parent,
QWidget *const  widget,
const QString &  name 
)
inherited

Inserts a new sub page in the dialog.

Parameters
parentThe new page will be insert as child of this
See also
DConfigDlgWdgItem.
Parameters
widgetThe widget of the page.
nameThe name which is displayed in the navigation view.
Returns
The associated
See also
DConfigDlgWdgItem.

◆ button()

QPushButton * Digikam::DConfigDlg::button ( QDialogButtonBox::StandardButton  which) const
inherited

Returns the QPushButton corresponding to the standard button which, or 0 if the standard button doesn't exist in this dialog.

Referenced by Digikam::DConfigDlg::addActionButton(), and ShowfotoSetup().

◆ buttonBox() [1/2]

QDialogButtonBox * Digikam::DConfigDlg::buttonBox ( )
protectedinherited

Returns the button box of the dialog or 0 if no button box is set.

Referenced by ShowfotoSetup().

◆ buttonBox() [2/2]

const QDialogButtonBox * Digikam::DConfigDlg::buttonBox ( ) const
protectedinherited

Returns the button box of the dialog or 0 if no button box is set.

◆ currentPage()

DConfigDlgWdgItem * Digikam::DConfigDlg::currentPage ( ) const
inherited

Returns the

See also
DConfigDlgWdgItem for the current page or 0 if there is no current page.

◆ currentPageChanged

void Digikam::DConfigDlg::currentPageChanged ( DConfigDlgWdgItem current,
DConfigDlgWdgItem before 
)
signalinherited

This signal is emitted whenever the current page has changed.

Parameters
currentThe new current page or 0 if no current page is available.

◆ execExifTool()

◆ execMetadataFilters()

bool ShowFoto::ShowfotoSetup::execMetadataFilters ( QWidget *const  parent,
int  tab 
)
static

◆ execSinglePage() [1/2]

bool ShowFoto::ShowfotoSetup::execSinglePage ( Page  page)
static

Show a setup dialog. Only the specified page will be available.

Referenced by onlineVersionCheck().

◆ execSinglePage() [2/2]

bool ShowFoto::ShowfotoSetup::execSinglePage ( QWidget *const  parent,
Page  page 
)
static

◆ insertPage() [1/2]

void Digikam::DConfigDlg::insertPage ( DConfigDlgWdgItem *const  before,
DConfigDlgWdgItem *const  item 
)
inherited

Inserts a new page in the dialog.

Parameters
beforeThe new page will be insert before this
See also
DConfigDlgWdgItem on the same level in hierarchy.
Parameters
itemThe
See also
DConfigDlgWdgItem which describes the page.

◆ insertPage() [2/2]

DConfigDlgWdgItem * Digikam::DConfigDlg::insertPage ( DConfigDlgWdgItem *const  before,
QWidget *const  widget,
const QString &  name 
)
inherited

Inserts a new page in the dialog.

Parameters
beforeThe new page will be insert before this
See also
DConfigDlgWdgItem on the same level in hierarchy.
Parameters
widgetThe widget of the page.
nameThe name which is displayed in the navigation view.
Returns
The associated
See also
DConfigDlgWdgItem.

◆ onlineVersionCheck()

void ShowFoto::ShowfotoSetup::onlineVersionCheck ( )
static

◆ pageRemoved

void Digikam::DConfigDlg::pageRemoved ( DConfigDlgWdgItem page)
signalinherited

This signal is emitted whenever a page has been removed.

Parameters
pageThe page which has been removed

◆ pageWidget() [1/2]

DConfigDlgWdg * Digikam::DConfigDlg::pageWidget ( )
protectedinherited

Returns the page widget of the dialog or 0 if no page widget is set.

◆ pageWidget() [2/2]

const DConfigDlgWdg * Digikam::DConfigDlg::pageWidget ( ) const
protectedinherited

Returns the page widget of the dialog or 0 if no page widget is set.

◆ removePage()

void Digikam::DConfigDlg::removePage ( DConfigDlgWdgItem *const  item)
inherited

Removes the page associated with the given

See also
DConfigDlgWdgItem.

◆ setButtonBox()

void Digikam::DConfigDlg::setButtonBox ( QDialogButtonBox *const  box)
protectedinherited

Set the button box of the dialog

Note
the previous buttonBox will be deleted.
Parameters
boxThe QDialogButtonBox object will be reparented to this object, so you can create it without parent and you are not allowed to delete it.

◆ setCurrentPage()

void Digikam::DConfigDlg::setCurrentPage ( DConfigDlgWdgItem *const  item)
inherited

Sets the page which is associated with the given

See also
DConfigDlgWdgItem to be the current page and emits the currentPageChanged() signal.

◆ setFaceType()

void Digikam::DConfigDlg::setFaceType ( FaceType  faceType)
inherited

Sets the face type of the dialog.

Referenced by ShowfotoSetup().

◆ setPageWidget()

void Digikam::DConfigDlg::setPageWidget ( DConfigDlgWdg *const  widget)
protectedinherited

Set the page widget of the dialog.

Note
the previous pageWidget will be deleted.
Parameters
widgetThe DConfigDlgWdg object will be reparented to this object, so you can create it without parent and you are not allowed to delete it.

◆ setStandardButtons()

void Digikam::DConfigDlg::setStandardButtons ( QDialogButtonBox::StandardButtons  buttons)
inherited

Sets the collection of standard buttons displayed by this dialog.

Referenced by ShowfotoSetup().

Member Data Documentation

◆ d_ptr

DConfigDlgPrivate* const Digikam::DConfigDlg::d_ptr
protectedinherited

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