• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

okteta

  • sources
  • kde-4.12
  • kdesdk
  • okteta
  • kasten
  • controllers
  • view
  • viewprofiles
viewprofileedit.h
Go to the documentation of this file.
1 /*
2  This file is part of the Okteta Kasten module, made within the KDE community.
3 
4  Copyright 2010,2012 Friedrich W. H. Kossebau <kossebau@kde.org>
5 
6  This library is free software; you can redistribute it and/or
7  modify it under the terms of the GNU Lesser General Public
8  License as published by the Free Software Foundation; either
9  version 2.1 of the License, or (at your option) version 3, or any
10  later version accepted by the membership of KDE e.V. (or its
11  successor approved by the membership of KDE e.V.), which shall
12  act as a proxy defined in Section 6 of version 3 of the license.
13 
14  This library is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17  Lesser General Public License for more details.
18 
19  You should have received a copy of the GNU Lesser General Public
20  License along with this library. If not, see <http://www.gnu.org/licenses/>.
21 */
22 
23 #ifndef VIEWPROFILEEDIT_H
24 #define VIEWPROFILEEDIT_H
25 
26 // Qt
27 #include <QtGui/QWidget>
28 
29 // KDE
30 class KLineEdit;
31 class KComboBox;
32 class KIntNumInput;
33 // Qt
34 class QCheckBox;
35 
36 
37 namespace Kasten2
38 {
39 class ByteArrayViewProfile;
40 
41 
42 class ViewProfileEdit : public QWidget
43 {
44  Q_OBJECT
45 
46 public:
47  explicit ViewProfileEdit( QWidget* parent = 0 );
48 
49  virtual ~ViewProfileEdit();
50 
51 public:
52  ByteArrayViewProfile viewProfile() const;
53 
54 public:
55  void setViewProfile( const ByteArrayViewProfile& viewProfile );
56 
57 Q_SIGNALS:
58  void profileTitleChanged( const QString& title );
59 
60 protected Q_SLOTS:
61  void onLineBreakIndexChanged( int lineBreakIndex );
62 
63 protected: // title
64  KLineEdit* mTitleEdit;
65 protected: // display
66  QCheckBox* mLineOffsetShownCheckBox;
67  KComboBox* mOffsetCodingComboBox;
68  KComboBox* mValuesCharsShownComboBox;
69  KComboBox* mDisplayModeComboBox;
70 protected: // layout
71  KComboBox* mLineBreakComboBox;
72  KIntNumInput* mGroupedBytesCountEdit;
73  KIntNumInput* mBytesPerLineEdit;
74 protected: // value
75  KComboBox* mValueCodingComboBox;
76 protected: // char
77  KComboBox* mCharCodingComboBox;
78  QCheckBox* mNonPrintableShownCheckBox;
79  KLineEdit* mUndefinedCharEdit;
80  KLineEdit* mNonPrintableCharEdit;
81 };
82 
83 }
84 
85 #endif
Kasten2::ViewProfileEdit
Definition: viewprofileedit.h:42
Kasten2::ViewProfileEdit::onLineBreakIndexChanged
void onLineBreakIndexChanged(int lineBreakIndex)
Definition: viewprofileedit.cpp:236
Kasten2::ViewProfileEdit::~ViewProfileEdit
virtual ~ViewProfileEdit()
Definition: viewprofileedit.cpp:243
Kasten2::ViewProfileEdit::mNonPrintableCharEdit
KLineEdit * mNonPrintableCharEdit
Definition: viewprofileedit.h:80
QWidget
Kasten2::ViewProfileEdit::viewProfile
ByteArrayViewProfile viewProfile() const
Definition: viewprofileedit.cpp:187
Kasten2::ByteArrayViewProfile
Definition: bytearrayviewprofile.h:39
Kasten2::ViewProfileEdit::mBytesPerLineEdit
KIntNumInput * mBytesPerLineEdit
Definition: viewprofileedit.h:73
Kasten2::ViewProfileEdit::mLineOffsetShownCheckBox
QCheckBox * mLineOffsetShownCheckBox
Definition: viewprofileedit.h:66
Kasten2::ViewProfileEdit::mOffsetCodingComboBox
KComboBox * mOffsetCodingComboBox
Definition: viewprofileedit.h:67
Kasten2::ViewProfileEdit::setViewProfile
void setViewProfile(const ByteArrayViewProfile &viewProfile)
Definition: viewprofileedit.cpp:213
Kasten2::ViewProfileEdit::mValueCodingComboBox
KComboBox * mValueCodingComboBox
Definition: viewprofileedit.h:75
Kasten2::ViewProfileEdit::mGroupedBytesCountEdit
KIntNumInput * mGroupedBytesCountEdit
Definition: viewprofileedit.h:72
Kasten2::ViewProfileEdit::mUndefinedCharEdit
KLineEdit * mUndefinedCharEdit
Definition: viewprofileedit.h:79
Kasten2::ViewProfileEdit::mTitleEdit
KLineEdit * mTitleEdit
Definition: viewprofileedit.h:64
Kasten2::ViewProfileEdit::mLineBreakComboBox
KComboBox * mLineBreakComboBox
Definition: viewprofileedit.h:71
KLineEdit
Kasten2::ViewProfileEdit::ViewProfileEdit
ViewProfileEdit(QWidget *parent=0)
Definition: viewprofileedit.cpp:56
Kasten2::ViewProfileEdit::mCharCodingComboBox
KComboBox * mCharCodingComboBox
Definition: viewprofileedit.h:77
Kasten2::ViewProfileEdit::mNonPrintableShownCheckBox
QCheckBox * mNonPrintableShownCheckBox
Definition: viewprofileedit.h:78
Kasten2::ViewProfileEdit::mValuesCharsShownComboBox
KComboBox * mValuesCharsShownComboBox
Definition: viewprofileedit.h:68
Kasten2::ViewProfileEdit::profileTitleChanged
void profileTitleChanged(const QString &title)
Kasten2::ViewProfileEdit::mDisplayModeComboBox
KComboBox * mDisplayModeComboBox
Definition: viewprofileedit.h:69
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

okteta

Skip menu "okteta"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal