Debian Codegraph @

HercStudio/Psw.h

raw symbols SCIP
1 /*
2 * File: Psw.cpp
3 *
4 * Author: Jacob Dekel
5 * Created on: Aug 7, 2009
6 *
7 * Copyright (c) 2009-2013 Jacob Dekel
8 * $Id$
9 *
10 * This object managed display of the psw
11 *
12 * This program is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program. If not, see <http://www.gnu.org/licenses/>.
24 *
25 */
26
27 #ifndef PSW_H_
28 #define PSW_H_cxx . . $ `HercStudio/Psw.h:28:9`!
29
30 #include <StatusUpdateCollector.h>cxx . . $ `<file>/HercConfiguration/StatusUpdateCollector.h`/
31
32 #include <QWidget>
33 #include <QLabel>
34 #include <QStatusBar>
35
36 class Pswcxx . . $ Psw#: public StatusUpdateCollectorcxx . . $ StatusUpdateCollector#, public QLabelcxx . . $ QLabel#
37 {
38 public:
39 enum PswModecxx . . $ Psw#PswMode#
40 {
41 Dockedcxx . . $ Psw#Docked. = 0,
42 StatusBarcxx . . $ Psw#StatusBar.
43 };
44 Pswcxx . . $ Psw#Psw(20b72d67b3dff655).( QStatusBarcxx . . $ QStatusBar# * statusBar );
45 virtual ~cxx . . $ Psw#`~Psw`(49f6e7a06ebc5aa8).Pswcxx . . $ Psw#();
46
47 virtual bool notifycxx . . $ Psw#notify(544790aa27d183a0).(const QByteArraycxx . . $ QByteArray#& );
48 void setFontcxx . . $ Psw#setFont(49f6e7a06ebc5aa8).();
49 inline bool isActivecxx . . $ Psw#isActive(50ce9a9e25b4a850).() const { return mActivecxx . . $ Psw#mActive.; }
50 void setModecxx . . $ Psw#setMode(8ebef82975aefedf).(PswModecxx . . $ Psw#PswMode# mode);
51 void standbycxx . . $ Psw#standby(49f6e7a06ebc5aa8).();
52 void setDormantcxx . . $ Psw#setDormant(49f6e7a06ebc5aa8).();
53 using QLabelcxx . . $ QLabel#::setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).;
54 virtual void setVisiblecxx . . $ Psw#setVisible(b0b38cda41d4ede4).(bool visible, bool modern);
55 virtual bool visiblecxx . . $ Psw#visible(c9857a73d68e59ba).();
56
57 private:
58 void setStatusBarcxx . . $ Psw#setStatusBar(49f6e7a06ebc5aa8).();
59 // visible - make status bar visible
60 // modern - full status (including man/wait/sys) - used in modern panel
61 void setStatusVisiblecxx . . $ Psw#setStatusVisible(b0b38cda41d4ede4).(bool visible, bool modern);
62
63 QStringcxx . . $ QString# mLinecxx . . $ Psw#mLine.;
64 bool mHasStatusBarcxx . . $ Psw#mHasStatusBar.;
65 bool mVisiblecxx . . $ Psw#mVisible.;
66 bool mActivecxx . . $ Psw#mActive.;
67 QStatusBarcxx . . $ QStatusBar# * mStatusBarcxx . . $ Psw#mStatusBar.;
68 Pswcxx . . $ Psw#::PswModecxx . . $ Psw#PswMode# mModecxx . . $ Psw#mMode.;
69 QLabelcxx . . $ QLabel# * mCpucxx . . $ Psw#mCpu.;
70 QLabelcxx . . $ QLabel# * mInstCountcxx . . $ Psw#mInstCount.;
71 QLabelcxx . . $ QLabel# * mSyscxx . . $ Psw#mSys.;
72 QLabelcxx . . $ QLabel# * mWaitcxx . . $ Psw#mWait.;
73 QLabelcxx . . $ QLabel# * mMancxx . . $ Psw#mMan.;
74 QFontcxx . . $ QFont# * mFontCouriercxx . . $ Psw#mFontCourier.;
75 };
76
77 #endif /* PSW_H_ */