Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
L
LOA_Taskmanager
Gestion
Activité
Membres
Programmation
Wiki externe
Code
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Déploiement
Releases
Registre de conteneur
Registre de modèles
Analyse
Analyse des contributeurs
Données d'analyse du dépôt
Expériences du modèle
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
Romain "Rom's" DERRÉ
LOA_Taskmanager
Validations
656fe443
Valider
656fe443
rédigé
6 years ago
par
Romain DERRE
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
new mainwindow
parent
2b9b46de
Aucune branche associée trouvée
Branches contenant la validation
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Modifications
3
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
3 fichiers modifiés
app/mainwindow.cpp
+2
-20
2 ajouts, 20 suppressions
app/mainwindow.cpp
app/mainwindow.h
+0
-2
0 ajout, 2 suppressions
app/mainwindow.h
app/mainwindow.ui
+21
-41
21 ajouts, 41 suppressions
app/mainwindow.ui
avec
23 ajouts
et
63 suppressions
app/mainwindow.cpp
+
2
−
20
Voir le fichier @
656fe443
...
...
@@ -10,8 +10,8 @@ MainWindow::MainWindow(QWidget *parent) :
ui
->
setupUi
(
this
);
// on affiche d'abord la TreeView
ui
->
treeWidget
->
show
();
ui
->
listWidget
->
hide
();
//
ui->treeWidget->show();
//
ui->listWidget->hide();
...
...
@@ -62,24 +62,6 @@ void MainWindow::update_tasks()
ui
->
tableView
->
update
();
}
void
MainWindow
::
on_comboBox_currentTextChanged
(
const
QString
&
arg1
)
{
if
(
arg1
==
"Tree"
){
ui
->
treeWidget
->
show
();
ui
->
listWidget
->
hide
();
}
else
if
(
arg1
==
"List"
){
ui
->
listWidget
->
show
();
ui
->
treeWidget
->
hide
();
}
else
{
QMessageBox
msgBox
;
msgBox
.
setText
(
tr
(
"Choix modifié mais problème sélection Tree ou List"
));
msgBox
.
exec
();
}
}
void
MainWindow
::
on_commandLinkButton_7_clicked
()
{
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
app/mainwindow.h
+
0
−
2
Voir le fichier @
656fe443
...
...
@@ -25,8 +25,6 @@ public:
void
update_tasks
();
private
slots
:
void
on_comboBox_currentTextChanged
(
const
QString
&
arg1
);
void
on_commandLinkButton_7_clicked
();
private:
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
app/mainwindow.ui
+
21
−
41
Voir le fichier @
656fe443
...
...
@@ -172,6 +172,18 @@
</property>
<item>
<widget
class=
"QCommandLinkButton"
name=
"commandLinkButton_7"
>
<property
name=
"minimumSize"
>
<size>
<width>
150
</width>
<height>
30
</height>
</size>
</property>
<property
name=
"maximumSize"
>
<size>
<width>
150
</width>
<height>
30
</height>
</size>
</property>
<property
name=
"text"
>
<string>
Create Task
</string>
</property>
...
...
@@ -197,12 +209,18 @@
<widget
class=
"QCommandLinkButton"
name=
"commandLinkButton_6"
>
<property
name=
"minimumSize"
>
<size>
<width>
60
</width>
<width>
150
</width>
<height>
30
</height>
</size>
</property>
<property
name=
"maximumSize"
>
<size>
<width>
150
</width>
<height>
30
</height>
</size>
</property>
<property
name=
"text"
>
<string>
s
endSignal
</string>
<string>
S
end
Signal
</string>
</property>
</widget>
</item>
...
...
@@ -212,7 +230,7 @@
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"sizeType"
>
<enum>
QSizePolicy::
Fixed
</enum>
<enum>
QSizePolicy::
Expanding
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
...
...
@@ -222,46 +240,8 @@
</property>
</spacer>
</item>
<item>
<widget
class=
"QComboBox"
name=
"comboBox"
>
<property
name=
"minimumSize"
>
<size>
<width>
80
</width>
<height>
30
</height>
</size>
</property>
<item>
<property
name=
"text"
>
<string>
Tree
</string>
</property>
</item>
<item>
<property
name=
"text"
>
<string>
List
</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<widget
class=
"QListWidget"
name=
"listWidget"
>
<item>
<property
name=
"text"
>
<string>
ListView
</string>
</property>
</item>
</widget>
</item>
<item>
<widget
class=
"QTreeWidget"
name=
"treeWidget"
>
<column>
<property
name=
"text"
>
<string
notr=
"true"
>
1
</string>
</property>
</column>
</widget>
</item>
<item>
<widget
class=
"QTableView"
name=
"tableView"
/>
</item>
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter