Songbook-Client  0.7
This application is a manager of customguitar songbooks
 All Classes Files Functions Variables Enumerations Enumerator Pages
library-view.hh
Go to the documentation of this file.
1 // Copyright (C) 2009-2011, Romain Goffe <romain.goffe@gmail.com>
2 //
3 // This program is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU General Public License as
5 // published by the Free Software Foundation; either version 2 of the
6 // License, or (at your option) any later version.
7 //
8 // This program is distributed in the hope that it will be useful, but
9 // WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // General Public License for more details.
12 //
13 // You should have received a copy of the GNU General Public License
14 // along with this program; if not, write to the Free Software
15 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
16 // 02110-1301, USA.
17 //******************************************************************************
18 
19 #ifndef __LIBRARY_VIEW_HH__
20 #define __LIBRARY_VIEW_HH__
21 
22 #include <QTableView>
23 
24 class CMainWindow;
25 
37 class CLibraryView : public QTableView
38 {
39  Q_OBJECT
40 
41 public:
43  CLibraryView(CMainWindow *parent);
45  ~CLibraryView();
46 
48  void readSettings();
50  void writeSettings();
51 
53  void resizeColumns();
54 
55 public slots:
57  void update();
58 
59 private:
60  void createActions();
61  CMainWindow * parent() const;
62 };
63 
64 #endif // __LIBRARY_VIEW_HH__