CppAgendaTel-proiect/ro: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Add "cleanup" tag)
(Decode HTML entity names)
Line 8: Line 8:
# <div class="de1"><span class="co2">#define MAINWINDOW_H</span></div>
# <div class="de1"><span class="co2">#define MAINWINDOW_H</span></div>
# <div class="de1"> </div>
# <div class="de1"> </div>
# <div class="de1"><span class="co2">#include &lt;QMainWindow&gt;</span></div>
# <div class="de1"><span class="co2">#include <QMainWindow></span></div>
# <div class="de2"> </div>
# <div class="de2"> </div>
# <div class="de1"><span class="kw2">namespace</span> Ui <span class="br0">{</span></div>
# <div class="de1"><span class="kw2">namespace</span> Ui <span class="br0">{</span></div>
Line 38: Line 38:
[http://forum.qt.io/viewthread/3682 Your text to link here…] ''[qt.io]''
[http://forum.qt.io/viewthread/3682 Your text to link here…] ''[qt.io]''


S-a implementat tableView-&gt;02/02/2013.<br />http://www.informit.com/articles/article.aspx?p=1405225 ''[informit.com]''<br />[http://harmattan-dev.nokia.com/docs/library/html/qt4/qmainwindow.html Your text to link here…] ''[harmattan-dev.nokia.com]''
S-a implementat tableView->02/02/2013.<br />http://www.informit.com/articles/article.aspx?p=1405225 ''[informit.com]''<br />[http://harmattan-dev.nokia.com/docs/library/html/qt4/qmainwindow.html Your text to link here…] ''[harmattan-dev.nokia.com]''


[[Image:snapshot3.png|Image]]
[[Image:snapshot3.png|Image]]

Revision as of 17:38, 12 March 2015

This article may require cleanup to meet the Qt Wiki's quality standards. Reason: Auto-imported from ExpressionEngine.
Please improve this article if you can. Remove the {{cleanup}} tag and add this page to Updated pages list after it's clean.

Doresc sa implementez un proiect de agenda telefonica care sa stocheze:
1. numele,
2. prenumele,
3. adresa e-mail,
4. un nr. de telefon.
Aceasta trebuie sa aiba interfata grafica, si sa salveze datele pe hard disk.

  1. #ifndef MAINWINDOW_H
  2. #define MAINWINDOW_H
  3.  
  4. #include <QMainWindow>
  5.  
  6. namespace Ui {
  7. class MainWindow;
  8. }
  9.  
  10. class MainWindow : public QMainWindow
  11. {
  12.     Q_OBJECT
  13.    
  14. public:
  15.     explicit MainWindow(QWidget *parent = 0);
  16.     ~MainWindow();
  17.    
  18. private:
  19.     Ui::MainWindow *ui;
  20. };
  21.  
  22. #endif // MAINWINDOW_H

Tutorial video [youtube.com]

File:Snapshot2.png(Imagine GUI

Inserarea TableView tableView… [thedazzlersinc.com]

Your text to link here… [qt.io]

S-a implementat tableView->02/02/2013.
http://www.informit.com/articles/article.aspx?p=1405225 [informit.com]
Your text to link here… [harmattan-dev.nokia.com]

Image