forked from kwent/thumbnailme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ConfigWidget.cpp
50 lines (43 loc) · 1.36 KB
/
ConfigWidget.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/***************************************************************************//**
* @brief Thumbnail me 3.0
* Thumbnail me is a user interface for Movie thumbnailer.
* Generate thumbnails from any movie is now easier !
*
* @file ConfigWidget.cpp
* @class ConfigWidget
* Cette classe permet de personnaliser un objet QxtConfigWidget.
* @attention Qt eXTension library required - http://www.libqxt.org/
*
* @author Quentin Rousseau\n
* @note Copyright (C) 2011-2012 Quentin Rousseau\n
* License: GNU General Public License version 2 (GPLv2) - http://www.gnu.org/licenses/gpl-2.0.html\n
* Site web: www.thumbnailme.com\n
* Email: quentin.rousseau@thumbnailme.com
*
* @since 3.0
* @version 3.0
* @date 2011-2012
*******************************************************************************/
#include "ConfigWidget.h"
/**
*@brief Constructeur.
*/
ConfigWidget::ConfigWidget(QWidget *parent) : QxtConfigWidget(parent)
{
//this->splitter()->setChildrenCollapsible(false);
}
/**
*@brief Destructeur.
*/
ConfigWidget::~ConfigWidget()
{
}
/**
*@brief Corrige la taille des icônes.
*/
void ConfigWidget::fixedSize()
{
int height = this->tableWidget()->rowHeight(0)+this->tableWidget()->rowHeight(1);
height -= 25;
this->setIconSize(QSize(this->tableWidget()->columnWidth(0),height));
}