File indexing completed on 2025-01-05 03:53:31
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2010-02-01 0007 * Description : a tool to export items to ImageShack web service 0008 * 0009 * SPDX-FileCopyrightText: 2010 by Jens Mueller <tschenser at gmx dot de> 0010 * SPDX-FileCopyrightText: 2013-2018 by Caulier Gilles <caulier dot gilles at gmail dot com> 0011 * 0012 * SPDX-License-Identifier: GPL-2.0-or-later 0013 * 0014 * ============================================================ */ 0015 0016 #include "imageshacknewalbumdlg.h" 0017 0018 // Qt includes 0019 0020 #include <QFormLayout> 0021 #include <QVBoxLayout> 0022 #include <QHBoxLayout> 0023 #include <QGroupBox> 0024 #include <QDialogButtonBox> 0025 #include <QIcon> 0026 #include <QApplication> 0027 #include <QPushButton> 0028 0029 namespace DigikamGenericImageShackPlugin 0030 { 0031 0032 ImageShackNewAlbumDlg::ImageShackNewAlbumDlg(QWidget* const parent, const QString& toolName) 0033 : WSNewAlbumDialog(parent, toolName) 0034 { 0035 hideDateTime(); 0036 hideDesc(); 0037 hideLocation(); 0038 getMainWidget()->setMinimumSize(300, 0); 0039 } 0040 0041 ImageShackNewAlbumDlg::~ImageShackNewAlbumDlg() 0042 { 0043 } 0044 0045 QString ImageShackNewAlbumDlg::getAlbumTitle() 0046 { 0047 return getTitleEdit()->text(); 0048 } 0049 0050 } // namespace DigikamGenericImageShackPlugin 0051 0052 #include "moc_imageshacknewalbumdlg.cpp"