projects
/
aspt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doxygen comments
[aspt.git]
/
clubtab.cc
diff --git
a/clubtab.cc
b/clubtab.cc
index
8418ee9
..
887076e
100644
(file)
--- a/
clubtab.cc
+++ b/
clubtab.cc
@@
-6,15
+6,26
@@
http://creativecommons.org/licenses/by-nc-nd/2.5/legalcode
#include "clubtab.h"
#include "clubtab.h"
+/**
+ * Club Tab constructor.
+ */
ClubTab::ClubTab(QWidget *parent) : QWidget(parent) {
init();
}
ClubTab::ClubTab(QWidget *parent) : QWidget(parent) {
init();
}
+/**
+ * Club Tab destructor.
+ */
ClubTab::~ClubTab() {
delete label;
delete mainLayout;
}
ClubTab::~ClubTab() {
delete label;
delete mainLayout;
}
+/**
+ * \brief Club Tab initializer.
+ *
+ * Set text into Club Tab.
+ */
void ClubTab::init() {
mainLayout = new QVBoxLayout;
QString text;
void ClubTab::init() {
mainLayout = new QVBoxLayout;
QString text;
@@
-59,10
+70,20
@@
void ClubTab::init() {
setLayout(mainLayout);
}
setLayout(mainLayout);
}
+/**
+ * \brief Slot assigned to data change action.
+ *
+ * Rebuild UI with new data.
+ */
void ClubTab::dataChanged() {
rebuildUI();
}
void ClubTab::dataChanged() {
rebuildUI();
}
+/**
+ * \brief Redraw UI with new data.
+ *
+ * Destroy old widget and initialize new one..
+ */
void ClubTab::rebuildUI() {
label->clear();
delete mainLayout;
void ClubTab::rebuildUI() {
label->clear();
delete mainLayout;