×

Discussion Board

Search:

Type: Posts; User: s.maks; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Re: QML Обновляемая часть страницы Page

    Посмотрите документацию по компоненту Loader, например здесь
  2. Replies
    2
    Views
    705

    Re: List View scrolling problem

    Are you have some output in your Qt debug console?

    Try to use this ListView and tell us about results:


    ListView {
    id: imgslidelist

    model: JScript.getImages()
    delegate:...
  3. Replies
    5
    Views
    1,669

    Re: How to create container in qml

    Oh God! I just found better solution!
    Look at this documentation article - Writing QML Components: Properties, Methods and Signals
    We are interested in a line:

    And then I want to know what is...
  4. Replies
    5
    Views
    1,669

    Re: How to create container in qml

    I found the solution. I'm using qml Loader inside my component. Now I can change Loader "source" or "sourceComponent" properties and load data inside my component.
  5. Replies
    5
    Views
    1,669

    Re: How to create container in qml

    I think you have misunderstood me. I have my component that can expande and collapse. Then I want to use other components inside my "spoiler".



    Spoiler {
    /*
    here I want to use...
  6. Replies
    5
    Views
    1,669

    How to create container in qml

    I have one (maybe stupid) question. I have component that can expanding (I called it "spoiler"). Here how it works:


    import QtQuick 1.1

    Rectangle {
    id: spoiler_innerRect
    ...
  7. Re: QAbstractListModel with QDeclarativeImageProvider

    Yes, why not? :)
  8. Re: QAbstractListModel with QDeclarativeImageProvider

    My joy was premature :) Now, the following occurs:
    1) I am loading images from first file - i see images from first file, everything works fine;
    2) I am loading images from second file - for some...
  9. Re: QAbstractListModel with QDeclarativeImageProvider

    While waited for an answers I solve this problem myself :)
    Here is complete guide how to make class inherited from QAbstractListModel and QDeclarativeImageProvider and then use it on Qml.

    First...
  10. Re: QAbstractListModel with QDeclarativeImageProvider

    Oh, just one more problem :( I thought that everything works fine but for some reason when i open FilePage.qml twice with same param (model does not change) for the second time my image get 1 pixel...
  11. Re: QAbstractListModel with QDeclarativeImageProvider

    Just have one more question. As I can see QDeclarativeEngine object delete QDeclarativeImageProviders added by. I'm tried to use setObjectOwnership( QObject* object, ObjectOwnership ownership) for my...
  12. Re: QAbstractListModel with QDeclarativeImageProvider

    Oh, it's just stupid mistake. I just needed to do this:


    /* main.cpp */

    Q_DECL_EXPORT int main(int argc, char *argv[])
    {
    QScopedPointer<QApplication> app(createApplication(argc, argv));
    ...
  13. Re: QAbstractListModel with QDeclarativeImageProvider

    Hmmm, looks like i miss something. Here what I am doing:
    main.qml


    PageStack {
    /* ... */
    MouseArea {
    onClicked: PageStack.push(Qt.resolvedUrl("FilePage.qml"), { p_linkedFile:...
  14. Re: QAbstractListModel with QDeclarativeImageProvider

    Yes, I know about setContextProperty(...) ; the problem is to call some methods of my class from qml. I have PageStack component in my main.qml ; then I'm doing something like this:


    PageStack {...
  15. QAbstractListModel with QDeclarativeImageProvider

    Hi! I have some problems using QAbstractListModel with QDeclarativeImageProvider.
    I have my own class that grab images from binary files and then i want to show these images in my qml app. Class...
  16. Re: Capturing QCamera image in a separate thread problem

    I'm just execute start() method of QThread class. For example:


    CCameraCallback lvCameraCallback();
    lvCameraCallback.start();
  17. Re: Capturing QCamera image in a separate thread problem

    Now when I'm trying to create QCamera object in run() function I got "A data abort exception has occurred accessing 0x48".



    void CCameraCallback::run() {

    if (!pCamera && !pImageCapture)...
  18. Re: Capturing QCamera image in a separate thread problem

    I create QCamera and QCameraImageCapture objects in the CCameraCallback class constructor. I also use moveToThread(this) method in constructor. What am I doing wrong?
  19. Capture image from camera in separate thread

    It there any way to catch camera image in separate tread? I'm trying to do this using code from this topic. I just inherit CCameraCallback from QThread and adding this->exec() to run() method. Now...
  20. Capturing QCamera image in a separate thread problem

    I'm trying to catch images using QCamera. Fore more code look at this topic. Now I just want to execute CCameraCallback.Run() method in another thread. Here is the code:


    class CCameraCallback
    ...
  21. Replies
    10
    Views
    2,350

    Re: Capture QCamera image to memory

    Finally I'm got it. Now front camera capture image directly to memory. Then it is processed and write in the directory I needed. Here is the code:


    void CCameraCallback::Run() {

    if...
  22. Replies
    10
    Views
    2,350

    Re: Capture QCamera image to memory

    It's strange, but for some reason I receive 0 byte buffers =/ Here is code:



    CCameraCallback::CCameraCallback()
    : pSurface(this)
    {

    QByteArray lvCameraDevices =...
  23. Replies
    10
    Views
    2,350

    Re: Capture QCamera image to memory

    Yes i did.



    symbian:TARGET.CAPABILITY += NetworkServices \
    ReadUserData \
    WriteUserData \
    LocalServices \
    UserEnvironment
  24. Replies
    10
    Views
    2,350

    Re: Capture QCamera image to memory

    I need to make photo with my N8 front camera and then pass this photo to another class for processing and saving it in specific format. By now i have that:

    Header file:

    class CVideoSurface
    ...
  25. Replies
    10
    Views
    2,350

    Re: Capture QCamera image to memory

    Year, but it's uncomfortable. I found many topics where developers want to capture camera images to buffer instead of saving it to file and there is no elegant solve to this problem. We can write...
Results 1 to 25 of 32
Page 1 of 2 1 2
×