diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2016-02-16 16:03:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-03-09 16:42:54 +0000 |
commit | 5813660e7bfe128ac076e592fe31de64a6863780 (patch) | |
tree | c61a2a0ac0f8b5420ee0e53260423b5b812c4eed /include/svtools/iconview.hxx | |
parent | 1de73e4ddfff3a67c9470e8434c2bb2cb3f43dd5 (diff) |
icon view for RemoteFilesDialog
New view type can be accessed in:
Start Center > Remote Files > Icon View
Cloud service for testing purposes:
1. Start Center > Remote Files > Add service
2. Set type to: Alfresco 4
3. Set host to: http://cmis.alfresco.com/cmisatom
4. Click refresh icon and enter login:admin pass:admin
5. Click OK and open this service
Change-Id: I3d4674bb84d1df1b678111adffe2f835d2bb2356
Reviewed-on: https://gerrit.libreoffice.org/22437
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svtools/iconview.hxx')
-rw-r--r-- | include/svtools/iconview.hxx | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/include/svtools/iconview.hxx b/include/svtools/iconview.hxx new file mode 100644 index 000000000000..28dc92255c02 --- /dev/null +++ b/include/svtools/iconview.hxx @@ -0,0 +1,42 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ + +#ifndef INCLUDED_SVTOOLS_ICONVIEW_HXX +#define INCLUDED_SVTOOLS_ICONVIEW_HXX + +#include <svtools/svtdllapi.h> +#include <svtools/treelistbox.hxx> + +class IconView : public SvTreeListBox +{ +public: + IconView( vcl::Window* pParent, WinBits nBits ); + + virtual void Resize() SAL_OVERRIDE; + + virtual Rectangle GetFocusRect( SvTreeListEntry*, long nEntryPos ) SAL_OVERRIDE; + + void ClearAll(); + + void PaintEntry( SvTreeListEntry&, long nX, long nY, vcl::RenderContext& rRenderContext); +}; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |